NANDTell

C Specification


#include <revolution/nand.h>

s32 NANDTell(NANDFileInfo *info, u32 *pos);

Arguments

info Pointer to a NANDFileInfo structure.
pos Pointer to a u32 type variable that stores the current file position.

Return Values

Returns one of the following codes:

NAND_RESULT_OK
NAND_RESULT_ACCESS
NAND_RESULT_INVALID
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Obtains the current location in the file.

See Also

NANDTellAsync, NANDRead, NANDReadAsync, NANDWrite, NANDWriteAsync, NANDSeek, NANDSeekAsync

Revision History

06/16/2006 Initial version.