Enumeration of behaviour flags for files in a filesystem.
Exactly one of these flags must be specified:
Any of these flags can be specified in addition to the above creation flag. They do not have any direct functional influence, instead they are meant as hints to the underlying filesystem implementation:
Open an existing file in read-only mode.
Open an existing file in read-write mode.
Open an existing file in read-write mode or create a new file.
Create a new file, overwriting any existing one.
Create a new file for temporary storage.
Temporary files are deleted automatically when closed.
Bitmask for file flags that determine the creation disposition for the file.
The following flags fall within this bitmask:
The file is accessed mostly sequentially.
When this flag is not present, file access is assumed to be random.
This is a hint for the underlying filesystem implementation to improve performance. It does not have any functional implications.