#include <revolution/nand.h>
s32 NANDSetStatus( const char *path, const NANDStatus *stat );
path |
Specifies the path of the target file or directory. |
stat |
Pointer to a NANDStatus structure. |
Returns one of the following codes:
NAND_RESULT_OK
NAND_RESULT_ACCESS
NAND_RESULT_CORRUPT
NAND_RESULT_INVALID
NAND_RESULT_NOEXISTS
NAND_RESULT_NOTEMPTY
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
Sets the status of the specified file or directory. This operation cannot be performed on a file or directory that has an owner ID which is different from the owner ID of the application program. If this operation is performed on a file, the size of the file must be zero.
NANDStatus, NANDGetStatus, NANDGetStatusAsync, NANDSetStatusAsync
06/16/2006 Initial version.