nn::hio::CTR::GetEnvironmentVariable FunctionResult GetEnvironmentVariable( s32 * pLength, wchar_t * buf, s32 length, const wchar_t * name );
| Name | Description | |
|---|---|---|
| out | pLength | Location in which to store the actual number of bytes that were copied. |
| out | buf | Pointer to the buffer that will store the environment variable. |
| in | length | Buffer size. |
| in | name | Name of the environment variable. |
ResultSuccess even if the environment variable does not exist. Gets the value of an environment variable. A value of '' is stored at the start of the buffer even if the environment variable does not exist.
CONFIDENTIAL