Format:
s32 mfsRomGetFileParentDir(MfsDirID dirID)
s32 mfsRamGetFileParentDir(MfsDirID dirID)
Arguments:
dirID Directory ID of file (directory)
Return value:
Directory ID of directory to which target belongs (a negative value is an error)
Function:
Obtains directory ID of directory to which target belongs
Description:
This function obtains and returns the directory ID of the directory to which the file (directory) specified by dirID belongs.
¡¡
Main errors:
MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Specified directory not found