NANDMove

C Specification


#include <revolution/nand.h>

s32 NANDMove(const char *path, const char *destDir);

Arguments

path Specifies the name of the file or directory to be moved.
destDir Specifies the name of the destination directory.

Return Values

Returns one of the following codes:

NAND_RESULT_OK
NAND_RESULT_ACCESS
NAND_RESULT_CORRUPT
NAND_RESULT_EXISTS
NAND_RESULT_INVALID
NAND_RESULT_NOEXISTS
NAND_RESULT_OPENFD
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Moves a file or directory.

See Also

NANDMoveAsync

Revision History

06/16/2006 Initial version.