GetCurrentDirectory

nn::hio::CTR::GetCurrentDirectory Function

Syntax

Result GetCurrentDirectory(
     s32 * pLength,
     char * 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.

Writes the path of the current directory to buf.

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