delorie.com/djgpp/doc/libc/libc_365.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
fsync
does not support directories.
Zero on success, nonzero on failure.
ANSI/ISO C | No |
POSIX | No |
fsync(fileno(stdout)); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |