s32 mfsRamSetFileParentDir(MfsDirID upDirID, MfsDirID dirID)
Arguments
Return value
Function
Description
This function changes the directory to which the file specified by dirID belongs to the directory specified by upDirID. Only the file can be changed, and not the directory. The function moves the file.
Main errors
MFS_ERR_NO | Normal termination |
MFS_ERR_NOTFOUND | Specified directory not found |
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. |