NANDGetStatus

C Specification


#include <revolution/nand.h>

s32 NANDGetStatus( const char *path, NANDStatus *stat );

Arguments

path Specifies the path to the target file or directory.
stat Pointer to a NANDStatus structure.

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_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Obtains the status of the file or directory.

See Also

NANDStatus, NANDGetStatusAsync, NANDSetStatus, NANDSetStatusAsync

Revision History

06/16/2006 Initial version.