O_CREAT | |
O_EXCL | |
O_NOCTTY | |
O_TRUNC | |
O_APPEND | |
O_NONBLOCK | |
O_SYNC | |
O_ASYNC | |
O_DSYNC | |
O_RSYNC | |
#if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK) | |
O_NDELAY | |
#endif | |
O_PRIV | |
O_DIRECT | |
O_LARGEFILE | |
O_DIRECTORY | |
O_NOFOLLOW | |
O_NOATIME | |
O_CLOEXEC | |
O_PATH | |
#if defined(O_TMPFILE) && defined(O_DIRECTORY) | |
/* The kernel & C libraries often inline O_DIRECTORY */ | |
{ O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" }, | |
#endif | |
FNDELAY | |
FAPPEND | |
FMARK | |
FDEFER | |
FASYNC | |
FSHLOCK | |
FEXLOCK | |
FCREAT | |
FTRUNC | |
FEXCL | |
FNBIO | |
FSYNC | |
FNOCTTY | |
O_SHLOCK | |
O_EXLOCK |