Next: , Previous: , Up: glibc   [Index]


5.5 File system synchronisation

The following bindings are exported by the (vicare glibc) library.

Function: sync

Interface to the C function sync(), (libc)Synchronizing I/O. Flush kernel buffer data and meta informations to the file system devices. If successful return unspecified values, else raise an exception.

Function: fsync fd

Interface to the C function fsync(), (libc)Synchronizing I/O. Flush kernel buffer data and meta informations to the file system device for the file descriptor fd. If successful return unspecified values, else raise an exception.

Function: fdatasync fd

Interface to the C function fdatasync(), (libc)Synchronizing I/O. Flush kernel buffer data to the file system device for the file descriptor fd. If successful return unspecified values, else raise an exception.