Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 68h (104) commit file . dos 3.3</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 68h (104)        Commit File                               . DOS 3.3

     Writes a file from buffer to disk.

          On entry:      AH         68h
                         BX         File handle

          Returns:       If CF = 1, AX = DOS Error Code

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

     This function lets you write a file's buffered data out to disk. To
     write a file from the internal buffers out to disk, just pass the
     file's handle in BX. (Before this function was added, programs used to
     flush file buffers by closing and then opening files.)

     If there was a write error, the carry flag is set on return, and AX
     contains the standard DOS error code (see the menu item DOS Error
     Codes).

            Notes:      This function is especially recommended for use
                        in multi-user or LAN environments.

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