nn::fs::CreateFile Function

Syntax

void CreateFile(
     const wchar_t * pathName,
     s64 size
);

void CreateFile(
     const char * pathName,
     s64 size
);

List of Overloaded Member Functions

CreateFile ( const wchar_t *, s64 ) Creates a file.
CreateFile ( const char *, s64 ) Creates a file.

Description of CreateFile(const wchar_t *, s64)

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryCreateFile.

Description of CreateFile(const char *, s64)


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.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryCreateFile.


CONFIDENTIAL