[Overview][Constants][Types][Procedures and functions] |
Truncate file on certain size.
Source position: bunxh.inc line 90
function FpFtruncate( |
fd: cInt; |
flength: TOff |
):cInt; |
FpFTruncatesets the length of a file in fdon flengthbytes, where flengthmust be less than or equal to the current length of the file in fd.
The function returns zero if the call was successful, a nonzero return value indicates that an error occurred.
Extended error information can be retrieved using fpGetErrno.
|
Open file and return file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Write data to file descriptor |
|
|
Set file pointer position. |