[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
Flush kernel file buffer
Source position: oldlinux.pp line 1388
function fdFlush( |
fd: LongInt |
):Boolean; |
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.
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. |
No notes exist for this page yet.