#include <revolution/cnt.h>
s32 CNTSeek(CNTFileInfo* cf, s32 offset, u32 whence);
cf |
Pointer to the CNTFileInfo structure. |
||||||
offset |
Offset value. Units are bytes. Must be a multiple of 4. | ||||||
whence |
Specifies the seek base position.
|
Returns CNT_RESULT_OK when the process ends normally. Returns CNT_RESULT_INVALID if a parameter is supplied that indicates a position not in the file, or if a value other than those listed above is supplied as the value of whence.
Moves the start location for loading the file.
2006/12/04 Added result code descriptions.
2006/09/20 Added a description about the restrictions when specifying offset.
2006/08/15 Initial version.
CONFIDENTIAL