| www.delorie.com/djgpp/doc/libc-2.01/libc_130.html | search |
#include <dos.h> unsigned int _dos_commit(int handle);
This is a direct connection to the MS-DOS commit function call (%ah = 0x68). This function flushes DOS internal file buffers to disk.
Returns 0 if successful or DOS error code on error (and sets errno).
_dos_write(handle, buffer, 1000, &result); _dos_commit(handle); _dos_close(handle);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |