s32 mfsRomGetFileName( MfsDirID dirID,u8* name, u8* type) s32 mfsRamGetFileName( MfsDirID dirID,u8* name, u8* type)
Arguments
Return value
Function
Description
This function obtains the file name and file type of the file specified by dirID. The size of the name buffer must be MFS_FILE_NAME_SIZE and the size of the type buffer must be MFS_FILE_TYPE_SIZE. The termination of the character string is NULL.
Main errors
MFS_ERR_NO | Normal termination |
MFS_ERR_NOTFOUND | Specified directory not found |