[Overview][Constants][Types][Procedures and functions][Variables] |
Flush kernel file buffer
Source position: oldlinux.pp line 1388
function fdFlush( |
fd: LongInt |
):Boolean; |
fdflushflushes 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 Trueif the call was successful, falseif an error occurred.
For an example, see fdRead.
Errors are returned in LinuxError.
|
Open file and return file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Write data to file descriptor |
|
|
Truncate file on certain size. |
|
|
Set file pointer position. |