mfsRamRemoveDir
Format: s32 mfsRamRemoveDir(MfsDirID dirID)
Arguments: dirID Directory ID of directory to be deleted
Return value:Error
Function: Deletes directory
Description This function deletes the directory specified by dirID. To delete a directory, the following conditions must be satisfied.
(1) The directory must be empty
(2) It must not have a write-protected attribute
(3) It must not be the root directory
Main errors:
MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Specified directory not found
MFS_ERR_PROTECT Write protected
The directory attribute is write protected, or the volume attribute is write protected, or the parent directory is write protected.