Moves the file pointer of the open file.
- Parameters
-
fromWhere | Specifies the starting point of the file pointer move. This can be one of
-
P6FS_SET - Begining of the file.
-
P6FS_CUR - Current file pointer position
-
P6FS_END - End of the file
|
offset | A P6INT64 which specifies the distance to move from the specified starting position. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | The initialize() was not called successfully before calling this method. |
P6R::eInvalidArg | fromWhere was not a valid P6R::P6FILESEEK value |
P6R::eSeek | There was an error setting the file pointer. For example, attempting to set the file pointer before the begining of the file. |