Function fdSeek (fd,Pos,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.
Errors are returned in LinuxError.
fdOpen, fdWrite, fdClose, fdRead,fdTruncate, fdFlush
For an example, see fdOpen.