nn::fs::TryCreateFile Function

Syntax

Result TryCreateFile(
const wchar_t * pathName,
s64 size
);

Arguments

Name Description
in pathName Path of the file to create.
in size Size of the file to create.

Return Values

Description

Creates a file.

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


CONFIDENTIAL