- Brief Description:\n Sets the file position in a G-PAK file.
This function sets the file position in the specified G-PAK file according to the _offset and _origin.
- Parameters
-
_file | A pointer to the gpak_file_t. |
_offset | The offset in bytes from the _origin to set the new file position. |
_origin | The reference position in the file (SEEK_SET, SEEK_CUR, or SEEK_END). |
- Returns
- Zero if the operation is successful, or -1 if an error occurred.
Definition at line 460 of file gpak.c.
462 return fseek(_file->
stream_, _offset, _origin);
References gpak_file::stream_.