[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
Truncate file on certain size.
Source position: oldlinux.pp line 1386
function fdTruncate( |
fd: LongInt; |
size: LongInt |
):Boolean; |
fdTruncate sets the length of a file in fd on size bytes, where size must be less than or equal to the current length of the file in fd. The function returns True if the call was successful, false if an error occurred.
Errors are returned in LinuxError.
|
Open file and return file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Write data to file descriptor |
|
|
Flush kernel file buffer |
|
|
Set file pointer position. |
No notes exist for this page yet.