#include <revolution/nand.h>
s32 NANDGetTmpDirUsage( u32 *fsBlock, u32 *inode );
bytes |
Pointer to the u32 type variable, which is used to store the number of FS blocks that are being consumed under /tmp. |
inodes |
Pointer to the u32 type variable, which is used to store the number of inodes being consumed under /tmp. |
Returns one of the following codes:
NAND_RESULT_OK
NAND_RESULT_ALLOC_FAILED
NAND_RESULT_BUSY
NAND_RESULT_INVALID
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
Gets the number of the FS blocks and inodes that are being consumed under the /tmp directory. As obtained with this function, the number of the inodes that are being consumed includes the inode of the /tmp directory itself.
This function may put the current thread to sleep. For precautions when calling similar functions, refer to Interrupts and Callback Functions.
NANDGetTmpDirUsageAsync, NANDGetHomeDirUsage, NANDGetHomeDirUsageAsync, Interrupts and Callback Functions
2007/09/25 Added information on the sleep status of threads.
2007/05/09 Initial version.
CONFIDENTIAL