GetCurrentDirectory

nn::hio::CTR::GetCurrentDirectory Function

Syntax

Result GetCurrentDirectory(
     s32 * pLength,
     wchar_t * buf,
     s32 length
);

Arguments

Name Description
out pLength Location in which to store the actual number of bytes that were copied.
out buf Buffer in which to write the current directory's path.
in length Buffer size.

Return Values

Returns the result of the operation.

Description

Gets the current directory and returns the result of the process. This is the overloaded function when the path is gotten in Unicode.

Writes the path of the current directory to buf.
This is the overloaded function when the path is gotten in Unicode.

Revision History

2010/06/14
Added description of arguments and behavior.
2010/03/31
Initial version.

Revision History

2010/06/14
Added description of arguments and behavior.
2010/03/31
Initial version.

CONFIDENTIAL