Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 21h Function 10h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   10h
 
  Title:       Close File
 
  See also:    Close File (handle)
 
  Description:
 
     Closes a file, flushes all MS-DOS internal disk buffers associated
     with the file to disk, and updates the disk directory if the file
     has been modified or extended.
 
     Input                              Output
 
     AH = 10h                           If function successful
     DS:DX = segment:offset of file     (directory update successful)
             control block                AL = 00h
 
                                        If function unsuccessful (file
                                        not found in directory)
                                          AL = FFh
                                    -♦-