delorie.com/djgpp//doc/libc-2.02/libc_322.html | search |
#include <unistd.h> int fsync(int file);
Forces all information about the file with the given descriptor to be synchronized with the disk image. Works by calling DOS function 0x68. Warning: External disk caches are not flushed by this function.
Zero on success, nonzero on failure.
not ANSI, not POSIX
fsync(fileno(stdout));
Go to the first, previous, next, last section, table of contents.
prev next webmaster | delorie software privacy |
Copyright © 1998 | Updated Dec 1998 |