Open opens system file, and will fail if file is already open. For some platforms (PS2, PSP, Wii) buffering will be used even if Open_Buffered is not set because of these platforms' file system limitation.
Parameters |
Description |
const String& path |
Path to the file. The path should be encoded as UTF-8 to support international languages. |
int flags = Open_Read|Open_Buffered |
Flags set to indicate whether file is opened as read or buffered. |
int mode = Mode_ReadWrite |
Mode set to indicate whether file is opened in read/write mode. |
A Boolean value of 1 if the file is opened successfully, otherwise 0.