Structs§
- Call
Flags - MapFlags
- Open
Flags - Strat9 ABI open flags passed via SYS_OPEN.
- Unlink
Flags
Constants§
- O_
ACCMODE - Access mask for read/write mode
- O_
APPEND - Append to file (writes always go to end)
- O_CREAT
- Create file if it does not exist
- O_
DIRECTORY - Open directory only
- O_DSYNC
- Synchronized I/O data integrity
- O_EXCL
- Create file exclusively (with O_CREAT)
- O_
NOCTTY - Don’t assign controlling terminal
- O_
NOFOLLOW - Don’t follow symbolic links
- O_
NONBLOCK - Non-blocking mode
- O_
RDONLY - Open for reading only
- O_RDWR
- Open for reading and writing
- O_RSYNC
- Synchronized I/O read operations
- O_SYNC
- Synchronized I/O (data + metadata)
- O_TRUNC
- Truncate file to zero length if it exists
- O_
WRONLY - Open for writing only
Functions§
- posix_
oflags_ to_ strat9 - Translate POSIX O_* flags to Strat9 ABI
OpenFlags.