| Value | Meaning |
|---|---|
| none0 | Default access. Not very useful. |
| read1 << 0 | Allows only read operations on the stream. |
| write1 << 1 | Allows only write operations on the stream. |
| execute1 << 2 | Allows data to be executed. This is only used for memory mapped files. |
| readWriteread | write | Allows both read and write operations on the stream. |
| allread | write | execute | Complete access. |
Specifies how to access a stream.