Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IUnbufferedFile::seek ( P6FILESEEK  fromWhere,
P6INT64  offset 
)
pure virtual

Moves the file pointer of the open file.

Parameters
fromWhereSpecifies 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
offsetA P6INT64 which specifies the distance to move from the specified starting position.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedThe initialize() was not called successfully before calling this method.
P6R::eInvalidArgfromWhere was not a valid P6R::P6FILESEEK value
P6R::eSeekThere was an error setting the file pointer. For example, attempting to set the file pointer before the begining of the file.