| [Overview][Constants][Types][Procedures and functions][Index] | 
Set file pointer position.
Source position: bunxh.inc line 92
| function FpLseek( | 
| fd: cint; | 
| offset: TOff; | 
| whence: cint | 
| ):TOff; | 
FpLSeek sets the current fileposition of file fd to Offset, starting from Whence, which can be one of the following:
The function returns the new fileposition, or -1 of an error occurred.
For an example, see FpOpen.
Extended error information can be retrieved using fpGetErrno.
| 
 | Open file and return file descriptor | |
| 
 | Write data to file descriptor | |
| 
 | Close file descriptor | |
| 
 | Read data from file descriptor | |
| 
 | Truncate file on certain size. |