#include <revolution/nand.h>
s32 NANDGetCurrentDir( char path[NAND_MAX_PATH] );
path |
A buffer that stores the character string of the current directory. |
Returns one of the following codes:
NAND_RESULT_OK
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
Gets the current directory. The maximum path length in the file system is NAND_MAX_PATH. Therefore, creating a buffer large enough to store a path of this length is recommended.
NANDChangeDir, NANDChangeDirAsync, NANDGetHomeDir
2006/08/15 Added links under See Also.
2006/06/16 Initial version.
CONFIDENTIAL