mfsRomGetDirID
mfsRamGetDirID

Syntax
s32 mfsRomGetDirID(MfsDirID upDirID, u8* name)
s32 mfsRamGetDirID(MfsDirID upDirID, u8* name)

Arguments

upDirID   Directory ID of directory to target directory belongs
*name   Directory name

Return value

Directory ID of directory (a negative value is an error)

Function

Obtains directory ID

Description

This function obtains the directory ID of the directory that has the name specified by name and that belongs to the directory specified by upDirID.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Specified directory not found