set cursor position in the file
handle - file handle
offset - offset from origin
origin - 0 = from the start of file
1 = from the current cursor position
2 = from the end of file
returns: 0 - ok
otherwise error
Thread-safe function.
long fseek(long handle, long offset, long origin);