CARDOpen

C Specification

#include <revolution/card.h>
s32 CARDOpen(s32 chan, const char* fileName, CARDFileInfo* fileInfo);

Arguments

chan EXI channel number.
fileName Pointer to file name to open.
fileInfo Pointer to file information to use.

Return Values

One of the following codes:

CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_NOFILE
CARD_RESULT_NOPERM
CARD_RESULT_BUSY
CARD_RESULT_BROKEN
CARD_RESULT_READY

Description

Opens a file. The Memory Card must be mounted with CARDMount[Async] before opening a file.

See Also

CARDFastOpen, CARDMount[Async]

Revision History

03/01/2006 Initial version.