nn::fs::TryDeleteDirectory Function

Syntax

Result TryDeleteDirectory(
     const char * pathName
);

Arguments

Name Description
in pathName Path of the directory to delete.

Return Values

Description

Deletes a directory.

This function returns any error that occurs while it is deleting 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.


CONFIDENTIAL