◄Detail► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Interrupt: 21h Function: 3Eh Title: Close File See also: Open File, Delete File, @CloseFile Description: Given a handle that was obtained by a previous successful open or create operation, flushes all internal buffers associated with the file to disk, closes the file, and releases the handle for reuse. If the file was modified, the time and date stamp and file size are updated in the file's directory entry. Input Output AH = 3Eh If function successful BX = Handle Carry Flag: clear If function unsuccessful Carry flag: set AX = Error code (06h) See: ◄Error codes► -♦-