Logo Search packages:      
Sourcecode: scummvm version File versions

bool InFRAMSave::seek ( int32  offset,
int  whence 
) [private, virtual]

Sets the stream position indicator for the stream. The new position, measured in bytes, is obtained by adding offset bytes to the position specified by whence. If whence is set to SEEK_SET, SEEK_CUR, or SEEK_END, the offset is relative to the start of the file, the current position indicator, or end-of-file, respectively. A successful call to the seek() method clears the end-of-file indicator for the stream.

offsetthe relative offset in bytes
whencethe seek reference: SEEK_SET, SEEK_CUR, or SEEK_END
true on success, false in case of a failure

Implements Common::SeekableReadStream.

Definition at line 40 of file framfs_save_manager.cpp.

      framfs_seek(fd, offs, whence);

      return true;

Generated by  Doxygen 1.6.0   Back to index