1/* Generated by ./xlat/gen.sh from ./xlat/sfd_flags.in; do not edit. */
2#if defined SFD_CLOEXEC || defined O_CLOEXEC
3#if !(defined(SFD_CLOEXEC) || (defined(HAVE_DECL_SFD_CLOEXEC) && HAVE_DECL_SFD_CLOEXEC))
4# define SFD_CLOEXEC O_CLOEXEC
5#endif
6#endif
7#if !(defined(SFD_NONBLOCK) || (defined(HAVE_DECL_SFD_NONBLOCK) && HAVE_DECL_SFD_NONBLOCK))
8# define SFD_NONBLOCK O_NONBLOCK
9#endif
10
11#ifdef IN_MPERS
12
13# error static const struct xlat sfd_flags in mpers mode
14
15#else
16
17static
18const struct xlat sfd_flags[] = {
19#if defined SFD_CLOEXEC || defined O_CLOEXEC
20 XLAT(SFD_CLOEXEC),
21#endif
22 XLAT(SFD_NONBLOCK),
23 XLAT_END
24};
25
26#endif /* !IN_MPERS */
27