Assembly Language Help (alang.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 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
                                    -♦-