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 45h
 Summary                                   Up Contents Index 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.
                                    -♦-