www.delorie.com/djgpp/doc/libc-2.01/libc_304.html   search  
Go to the first, previous, next, last section, table of contents.


fsync

Syntax

#include <unistd.h>

int fsync(int file);

Description

Forces all information about the file to be synchronized with the disk image.

Return Value

Zero on success, nonzero on failure.

Example

fsync(fileno(stdout));


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997