NANDFreeBlocks

C Specification


#include <revolution/nand.h>

s32 NANDFreeBlocks(u32 *bytes, u32 *inodes);

Arguments

bytes A pointer to a u32-type variable that stores (in bytes) the file system's available space.
inodes A pointer to a u32-type variable that stores the number of free inodes in the file system.

Return Values

Returns one of the following codes:

NAND_RESULT_OK
NAND_RESULT_INVALID
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Gets the file system's available space (in bytes) and the number of free inodes.

See Also

NANDFreeBlocksAsync

Revision History

06/16/2006 Initial version.


CONFIDENTIAL