[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Set file pointer position.
Source position: oldlinux.pp line 1387
function fdSeek( |
fd: LongInt; |
pos: LongInt; |
seektype: LongInt |
):LongInt; |
fdSeek sets the current fileposition of file fd to Pos, starting from SeekType, which can be one of the following:
The function returns the new fileposition, or -1 of an error occurred.
For an example, see fdOpen.
Errors are returned in LinuxError.
|
Open file and return file descriptor |
|
|
Write data to file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Truncate file on certain size. |
|
|
Flush kernel file buffer |
lazarus-ccr.sourceforge.net |