Skip to main content

Module flag

Module flag 

Source

Structs§

CallFlags
Flags for IPC call operations (used with SYS_IPC_CALL).
MapFlags
Memory mapping flags for SYS_MMAP.
OpenFlags
File open flags for SYS_OPEN and SYS_OPENAT.
UnlinkFlags
Flags for SYS_UNLINKAT.

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.