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 45H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
▀ A seek, read, or write operation that moves the file pointer for one of
  the two handles also moves the file pointer associated with the other.
 
▀ This function can be used to efficiently update the directory for a file
  that has changed in length, without incurring the overhead of closing and
  then reopening the file. The handle for the file is simply duplicated
  with this function and the duplicate is closed, leaving the original
  handle open for further read/write operations.
 
▀ [3.3+] See also Int 21H Function 68H (Commit File).
                                    -♦-