next up previous contents index
Next: fdOpen Up: Functions and procedures Previous: fdClose

fdFlush

   

Declaration:

Function fdFlush (fd:Longint) : boolean;

Description:

fdflush flushes the Linux kernel file buffer, so the file is actually written to disk. This is NOT the same as the internal buffer, maintained by Free Pascal.

The function returns True if the call was successful, false if an error occurred.

Errors:

Errors are returned in LinuxError.

See also:

fdOpen, fdClose, fdRead,fdWrite, fdTruncate, fdSeek

For an example, see fdRead.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998