NANDSafeClose

C Specification


#include <revolution/nand.h>

s32 NANDSafeClose(NANDFileInfo *info);

Arguments

info Pointer to the NANDFileInfo structure (opened by NANDSafeOpen[Async]).

Return Values

Returns one of the following codes:

NAND_RESULT_OK
NAND_RESULT_ACCESS
NAND_RESULT_CORRUPT
NAND_RESULT_INVALID
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Closes a file. Files closed using this function must have been opened using NANDSafeOpen or NANDSafeOpenAsync.

See Also

NANDSafeOpen, NANDSafeOpenAsync, NANDSafeCloseAsync

Revision History

08/15/2006 Initial version.


CONFIDENTIAL