nn::fs::TryRenameDirectory Function

Syntax

Result TryRenameDirectory(
     const char * currentPath,
     const char * newPath
);

Arguments

Name Description
in currentPath Path to rename
in newPath Renamed path

Return Values

Description

Renames a directory.

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