NANDDelete

C Specification


#include <revolution/nand.h>

s32 NANDDelete(const char *name);

Arguments

name Specifies the file or directory name.

Return Values

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

Description

Deletes a file or directory. All files and directories contained in the directory to delete are deleted. Open files cannot be deleted.

See Also

NANDCreate, NANDCreateAsync, NANDCreateDir, NANDCreateDirAsync, NANDDeleteAsync

Revision History

06/16/2006 Initial version.