CNTGetCurrentDir

Syntax

#include <revolution/cnt.h>
s32 CNTGetCurrentDir(CNTHandle* handle, char* path, u32 maxlen);

Arguments

handle Pointer to CNTHandle structure.
path Pointer to the buffer storing the current directory path.
maxlen The buffer size.

Return Values

Returns CNT_RESULT_OK if the path is obtained successfully.

Description

Gets the current directory inside the CNTHandle structure.

See Also

CNTChangeDir

Revision History

2006/12/12 Removed the restriction on path length.
2006/09/08 Initial version.


CONFIDENTIAL