[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
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 |
No notes exist for this page yet.