Expand description
Move the offset of a file descriptor.
Note: This is similar to lseek
in POSIX.
Parameters
offset
- The number of bytes to move.whence
- The base from which the offset is relative.
Return
The new offset of the file descriptor, relative to the start of the file.