Method Stdio.File()->seek()
- Method seek
int seek(int pos)
int seek(int unit, int mult)
int seek(int unit, int mult, int add)- Description
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
Returns the new offset, or
-1on failure.- Note
The arguments mult and add are considered obsolete, and should not be used.
- See also