NANDGetCurrentDir

Syntax

#include <revolution/nand.h>

s32 NANDGetCurrentDir( char path[NAND_MAX_PATH] );

Arguments

path A buffer that stores the character string of the current directory.

Return Values

Returns one of the following codes.

NAND_RESULT_OK
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

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.

See Also

NANDChangeDir, NANDChangeDirAsync, NANDGetHomeDir

Revision History

2006/08/15 Added links under See Also.
2006/06/16 Initial version.


CONFIDENTIAL