- Method seek
int seek(int pos)
int seek(int unit, int mult)
int seek(int unit, int mult, int add)
Seek to a specified offset in a file.
If mult or add are specified, pos is calculated as
pos = unit*mult + add.
If pos is negative then it is relative to the end of the file, otherwise it's an absolute offset from the start of the file.
Returns the new offset, or
The arguments mult and add are considered obsolete, and should not be used.
- See also