Table des matières

INT 0x21 - 0x3e - Read Close File or Device Using Handle

Request/Call:

reg value descr
AH 0x3e
BX file handle

Return:

CF is cleared : success

reg descr
AX number of bytes readed

CF is set: error

reg descr
AX error code (see DOS Error Code)

Notes & Comments

  • if file is opened for update, file time and date stamp as well as file size are updated in the directory
  • handle is freed

Back