CARDFreeBlocks

C Specification

#include <revolution/card.h>
s32 CARDFreeBlocks(s32 chan, s32* byteNotUsed, s32* filesNotUsed);

Arguments

chan EXI channel number.
byteNotUsed Pointer to an s32 type word for saving the number of free bytes.
filesNotUsed Pointer to an s32 type word for saving the number of free directory entries.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_BUSY
CARD_RESULT_READY
CARD_RESULT_BROKEN

Description

Returns the number of free bytes and free directory entries on the Memory Card.

See Also

Revision History

2006/03/01 Initial version.


CONFIDENTIAL