# mfsHRemoveFile

Format: mfsHRemoveFile(const u8* path)

Arguments:

*path Path name

Return value:Error

Function: Deletes file

Description: This function deletes the file specified by path. If the file is opened, it must be closed before it is deleted.

Main errors:

    MFS_ERR_NO		Normal termination
    MFS_ERR_DEVICE		Device error
    			An error occurred in an internally called Leo function.
    Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.
    MFS_ERR_PROTECT		Write protected
    			The file attribute is write protected, or the volume attribute is write protected, or the parent directory is write protected.
    MFS_ERR_NOTFOUND	File not found
    			The file was not found, or the directory was not found.