Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 68h commit file dos 3.3+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 68h            Commit File                                  DOS 3.3+

    Flushes all stored (buffered) data for a file without closing the
    file; this ensures that the contents of the file are current.

        Entry   AH = 68h
                BX = File handle

        Return  AX = Error code, if CF is set
                     | 06h Invalid handle
                     | ??

    ------------------------------------------------------------------

    This function provides a more efficient way to update file
    contents than closing a file and immediately reopening it.
    However, if a program opens or creates a file by specifying the
    flag open_flags_commit (4000h) with function 6ch (Extended Open/
    Create), the system updates the file each time the file is written
    to.

See Also: 6ch 0dh 45h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson