Add FILEIO_NONE access mode.
In some cases, the FILEIO_NONE access mode may be useful as a parameter to indicate that file access should be disabled. High-level routines can use it to skip file access calls, as 'fileio_open' will fail presently if called to open a file using this mode.__archive__
parent
51cd370b39
commit
da4cb3c029
|
@ -38,6 +38,7 @@ enum fileio_type
|
|||
|
||||
enum fileio_access
|
||||
{
|
||||
FILEIO_NONE, /* open without any access (invalid mode) */
|
||||
FILEIO_READ, /* open for reading, position at beginning */
|
||||
FILEIO_WRITE, /* open for writing, position at beginning */
|
||||
FILEIO_READWRITE, /* open for writing, position at beginning, allow reading */
|
||||
|
|
Loading…
Reference in New Issue