When an application needs to access a file, it must first open it using fs_fopen()
or FSFile_Open()
. For most applications, the former with its familiar interface suffices. In some cases, the flexibility of the latter is demanded (see ).
The return value of this function of FSFile_Open()
should always be verified as non-NULL before the application proceeds to access the file. The second argument to this function is a logical OR of mode flags:
...