Type
Value
Function
SEEK_SET
0
Sets the file pointer from the beginning of the file.
SEEK_CUR
1
Advances the file pointer from the current position.
SEEK_END
2
Moves the file pointer backward from the end of the file.