This wiki is out of date, use the continuation of this wiki instead

Seek modes

From FenixWiki

Revision as of 01:51, 5 May 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


[edit] Definition

Seek modes are used to specify the mode of seeking in a file, by passing one of them to the function fseek() as the parameter relativeness. The mode of seeking means to what position the seeking will be related to.

[edit] List

Constant - Value - Relative to
SEEK_SET - 0 - The beginning of the file. This means just setting the position.
SEEK_CUR - 1 - The current position.
SEEK_END - 2 - The end of the file.
Personal tools