nn::fs::TryCreateDirectory Function

Syntax

Result TryCreateDirectory(
     const char * pathName
);

Parameters

Name Description
in pathName Path of the directory to create.

Return Values

Returns the result of the operation.

Description

Creates a directory.

This function returns any error that occurs while it is creating the directory.


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte string into a wide string. Pay careful attention to the stack size.

Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

Revision History

2010/12/22
Added a link to the error handling page.
2010/11/09
Initial version.

CONFIDENTIAL