mfsRomSeekFile
mfsRamSeekFile

Syntax
s32 mfsRomSeekFile(MfsDirID dirID, s32 offset)
s32 mfsRamSeekFile(MfsDirID dirID, s32 offset)

Arguments

dirID   Directory ID of file
offset   Seek position

Return value

Error

Function

Performs head seek

Description

This function performs a head seek from the beginning of the file specified by dirID to the offset position.

Main errors
MFS_ERR_NOTFOUND Specified file not found
MFS_ERR_DEVICE Device error
An error occurred in an internally called Leo function.
Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.