nn::hio::CTR::GetCurrentDirectory Function
s32 GetCurrentDirectory(
wchar_t * buf,
s32 length
);
| Name | Description | |
|---|---|---|
| out | buf | Buffer in which to write the current directory's path. |
| in | length | Buffer size. |
-1. Gets the current directory and returns the size stored to the buffer. This is the overloaded function when the path is gotten in Unicode.
Writes the path of the current directory to buf and returns its size.
This is the overloaded function when the path is gotten in Unicode.
CONFIDENTIAL