SysFile::Create

SysFile::Create
SF_INLINE bool Create(const String& path, int mode = Mode_ReadWrite);
Description

Create creates a system file and opens it.

Parameters
Parameters 
Description 
const String& path 
Path/directory name of the file. The file name should be encoded as UTF-8 to support international file names. 
int mode = Mode_ReadWrite 
Indicates whether to open file in read/write mode. 
Return Value

A Boolean value of 1 if file is created successfully otherwise 0.