# mfsHSetFileCopyCount

Format: s32 mfsHSetFileCopyCount(const u8* path, u8 count)

Arguments:

    *path Pathname
    count Copy count value to be set

Return value:Error

Function: Sets copy count of file

Description: This function sets the copy count of the file specified by path to count. This value is effective when bit 9 of the attribute is 1.

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.