Dmitry V. Levin | 0ed617b | 2014-04-25 23:30:54 +0000 | [diff] [blame] | 1 | O_CREAT |
| 2 | O_EXCL |
| 3 | O_NOCTTY |
| 4 | O_TRUNC |
| 5 | O_APPEND |
| 6 | O_NONBLOCK |
| 7 | O_SYNC |
| 8 | O_ASYNC |
| 9 | O_DSYNC |
| 10 | O_RSYNC |
Dmitry V. Levin | 63ebcfc | 2014-04-26 15:35:02 +0000 | [diff] [blame] | 11 | #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK) |
Dmitry V. Levin | 0ed617b | 2014-04-25 23:30:54 +0000 | [diff] [blame] | 12 | O_NDELAY |
Dmitry V. Levin | 63ebcfc | 2014-04-26 15:35:02 +0000 | [diff] [blame] | 13 | #endif |
Dmitry V. Levin | 0ed617b | 2014-04-25 23:30:54 +0000 | [diff] [blame] | 14 | O_PRIV |
| 15 | O_DIRECT |
| 16 | O_LARGEFILE |
| 17 | O_DIRECTORY |
| 18 | O_NOFOLLOW |
| 19 | O_NOATIME |
| 20 | O_CLOEXEC |
| 21 | O_PATH |
Mike Frysinger | 18901ea | 2014-11-19 19:19:56 -0500 | [diff] [blame] | 22 | #if defined(O_TMPFILE) && defined(O_DIRECTORY) |
| 23 | /* The kernel & C libraries often inline O_DIRECTORY */ |
| 24 | { O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" }, |
| 25 | #endif |
Dmitry V. Levin | 0ed617b | 2014-04-25 23:30:54 +0000 | [diff] [blame] | 26 | FNDELAY |
| 27 | FAPPEND |
| 28 | FMARK |
| 29 | FDEFER |
| 30 | FASYNC |
| 31 | FSHLOCK |
| 32 | FEXLOCK |
| 33 | FCREAT |
| 34 | FTRUNC |
| 35 | FEXCL |
| 36 | FNBIO |
| 37 | FSYNC |
| 38 | FNOCTTY |
| 39 | O_SHLOCK |
| 40 | O_EXLOCK |