#include <revolution/nand.h>
s32 NANDFreeBlocks(u32 *bytes, u32 *inodes);
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. |
Returns one of the following codes:
NAND_RESULT_OK
NAND_RESULT_INVALID
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
Gets the file system's available space (in bytes) and the number of free inodes.
06/16/2006 Initial version.
CONFIDENTIAL