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