Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/open_mode_flags.in; do not edit. */
      2 #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK)
      3 #endif
      4 #if defined(O_TMPFILE) && defined(O_DIRECTORY)
      5 #endif
      6 
      7 #ifndef IN_MPERS
      8 
      9 const struct xlat open_mode_flags[] = {
     10 #if defined(O_CREAT) || (defined(HAVE_DECL_O_CREAT) && HAVE_DECL_O_CREAT)
     11   XLAT(O_CREAT),
     12 #endif
     13 #if defined(O_EXCL) || (defined(HAVE_DECL_O_EXCL) && HAVE_DECL_O_EXCL)
     14   XLAT(O_EXCL),
     15 #endif
     16 #if defined(O_NOCTTY) || (defined(HAVE_DECL_O_NOCTTY) && HAVE_DECL_O_NOCTTY)
     17   XLAT(O_NOCTTY),
     18 #endif
     19 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC)
     20   XLAT(O_TRUNC),
     21 #endif
     22 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND)
     23   XLAT(O_APPEND),
     24 #endif
     25 #if defined(O_NONBLOCK) || (defined(HAVE_DECL_O_NONBLOCK) && HAVE_DECL_O_NONBLOCK)
     26   XLAT(O_NONBLOCK),
     27 #endif
     28 #if defined(O_SYNC) || (defined(HAVE_DECL_O_SYNC) && HAVE_DECL_O_SYNC)
     29   XLAT(O_SYNC),
     30 #endif
     31 #if defined(O_ASYNC) || (defined(HAVE_DECL_O_ASYNC) && HAVE_DECL_O_ASYNC)
     32   XLAT(O_ASYNC),
     33 #endif
     34 #if defined(O_DSYNC) || (defined(HAVE_DECL_O_DSYNC) && HAVE_DECL_O_DSYNC)
     35   XLAT(O_DSYNC),
     36 #endif
     37 #if defined(O_RSYNC) || (defined(HAVE_DECL_O_RSYNC) && HAVE_DECL_O_RSYNC)
     38   XLAT(O_RSYNC),
     39 #endif
     40 #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK)
     41 #if defined(O_NDELAY) || (defined(HAVE_DECL_O_NDELAY) && HAVE_DECL_O_NDELAY)
     42   XLAT(O_NDELAY),
     43 #endif
     44 #endif
     45 #if defined(O_PRIV) || (defined(HAVE_DECL_O_PRIV) && HAVE_DECL_O_PRIV)
     46   XLAT(O_PRIV),
     47 #endif
     48 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
     49   XLAT(O_DIRECT),
     50 #endif
     51 #if defined(O_LARGEFILE) || (defined(HAVE_DECL_O_LARGEFILE) && HAVE_DECL_O_LARGEFILE)
     52   XLAT(O_LARGEFILE),
     53 #endif
     54 #if defined(O_DIRECTORY) || (defined(HAVE_DECL_O_DIRECTORY) && HAVE_DECL_O_DIRECTORY)
     55   XLAT(O_DIRECTORY),
     56 #endif
     57 #if defined(O_NOFOLLOW) || (defined(HAVE_DECL_O_NOFOLLOW) && HAVE_DECL_O_NOFOLLOW)
     58   XLAT(O_NOFOLLOW),
     59 #endif
     60 #if defined(O_NOATIME) || (defined(HAVE_DECL_O_NOATIME) && HAVE_DECL_O_NOATIME)
     61   XLAT(O_NOATIME),
     62 #endif
     63 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC)
     64   XLAT(O_CLOEXEC),
     65 #endif
     66 #if defined(O_PATH) || (defined(HAVE_DECL_O_PATH) && HAVE_DECL_O_PATH)
     67   XLAT(O_PATH),
     68 #endif
     69 #if defined(O_TMPFILE) && defined(O_DIRECTORY)
     70 /* The kernel & C libraries often inline O_DIRECTORY */
     71 { O_TMPFILE & ~O_DIRECTORY, "O_TMPFILE" },
     72 #endif
     73 #if defined(FNDELAY) || (defined(HAVE_DECL_FNDELAY) && HAVE_DECL_FNDELAY)
     74   XLAT(FNDELAY),
     75 #endif
     76 #if defined(FAPPEND) || (defined(HAVE_DECL_FAPPEND) && HAVE_DECL_FAPPEND)
     77   XLAT(FAPPEND),
     78 #endif
     79 #if defined(FMARK) || (defined(HAVE_DECL_FMARK) && HAVE_DECL_FMARK)
     80   XLAT(FMARK),
     81 #endif
     82 #if defined(FDEFER) || (defined(HAVE_DECL_FDEFER) && HAVE_DECL_FDEFER)
     83   XLAT(FDEFER),
     84 #endif
     85 #if defined(FASYNC) || (defined(HAVE_DECL_FASYNC) && HAVE_DECL_FASYNC)
     86   XLAT(FASYNC),
     87 #endif
     88 #if defined(FSHLOCK) || (defined(HAVE_DECL_FSHLOCK) && HAVE_DECL_FSHLOCK)
     89   XLAT(FSHLOCK),
     90 #endif
     91 #if defined(FEXLOCK) || (defined(HAVE_DECL_FEXLOCK) && HAVE_DECL_FEXLOCK)
     92   XLAT(FEXLOCK),
     93 #endif
     94 #if defined(FCREAT) || (defined(HAVE_DECL_FCREAT) && HAVE_DECL_FCREAT)
     95   XLAT(FCREAT),
     96 #endif
     97 #if defined(FTRUNC) || (defined(HAVE_DECL_FTRUNC) && HAVE_DECL_FTRUNC)
     98   XLAT(FTRUNC),
     99 #endif
    100 #if defined(FEXCL) || (defined(HAVE_DECL_FEXCL) && HAVE_DECL_FEXCL)
    101   XLAT(FEXCL),
    102 #endif
    103 #if defined(FNBIO) || (defined(HAVE_DECL_FNBIO) && HAVE_DECL_FNBIO)
    104   XLAT(FNBIO),
    105 #endif
    106 #if defined(FSYNC) || (defined(HAVE_DECL_FSYNC) && HAVE_DECL_FSYNC)
    107   XLAT(FSYNC),
    108 #endif
    109 #if defined(FNOCTTY) || (defined(HAVE_DECL_FNOCTTY) && HAVE_DECL_FNOCTTY)
    110   XLAT(FNOCTTY),
    111 #endif
    112 #if defined(O_SHLOCK) || (defined(HAVE_DECL_O_SHLOCK) && HAVE_DECL_O_SHLOCK)
    113   XLAT(O_SHLOCK),
    114 #endif
    115 #if defined(O_EXLOCK) || (defined(HAVE_DECL_O_EXLOCK) && HAVE_DECL_O_EXLOCK)
    116   XLAT(O_EXLOCK),
    117 #endif
    118  XLAT_END
    119 };
    120 
    121 #endif /* !IN_MPERS */
    122