NANDGetHomeDir

Syntax

#include <revolution/nand.h>

s32 NANDGetHomeDir( char path[NAND_MAX_PATH] );

Arguments

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

Return Values

Returns one of the following codes.

NAND_RESULT_OK
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR

Description

Gets the home 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

NANDGetCurrentDir, NANDChangeDir, NANDChangeDirAsync

Revision History

2006/08/15 Initial version.


CONFIDENTIAL