#include <revolution/nand.h>
s32 NANDDelete(const char *name);
|
Specifies the file or directory name. |
Returns one of the following codes:
NAND_RESULT_OK
NAND_RESULT_ACCESS
NAND_RESULT_CORRUPT
NAND_RESULT_INVALID
NAND_RESULT_NOEXISTS
NAND_RESULT_OPENFD
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
Deletes a file or directory. All files and directories contained in the directory to delete are deleted. Open files cannot be deleted.
NANDCreate, NANDCreateAsync, NANDCreateDir, NANDCreateDirAsync, NANDDeleteAsync
06/16/2006 Initial version.