[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Truncate an open file to a given size.
Source position: filutilh.inc line 82
function FileTruncate( |
Handle: THandle; |
Size: LongInt |
):Boolean; |
FileTruncate truncates the file with handle Handle to Size bytes. The file must have been opened for writing prior to this call. The function returns True is successful, False otherwise.
For an example, see FileCreate.
On error, the function returns False.
|
Close a file handle. |
|
|
Write data from a buffer to a given filehandle. |
|
|
Create a new file and return a handle to it. |
|
|
Open an existing file and return a filehandle |
|
|
Read data from a filehandle in a buffer. |
|
|
Set the current file position on a file handle. |
No notes exist for this page yet.