qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 3EH
   Summary  Notes  Example  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Close File
 
  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 modi-
  fied, 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
                                    -♦-