• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/access_flags.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat access_flags in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat access_flags[] = {
17 #if defined(F_OK) || (defined(HAVE_DECL_F_OK) && HAVE_DECL_F_OK)
18   XLAT(F_OK),
19 #endif
20 #if defined(R_OK) || (defined(HAVE_DECL_R_OK) && HAVE_DECL_R_OK)
21   XLAT(R_OK),
22 #endif
23 #if defined(W_OK) || (defined(HAVE_DECL_W_OK) && HAVE_DECL_W_OK)
24   XLAT(W_OK),
25 #endif
26 #if defined(X_OK) || (defined(HAVE_DECL_X_OK) && HAVE_DECL_X_OK)
27   XLAT(X_OK),
28 #endif
29 #if defined(EFF_ONLY_OK) || (defined(HAVE_DECL_EFF_ONLY_OK) && HAVE_DECL_EFF_ONLY_OK)
30   XLAT(EFF_ONLY_OK),
31 #endif
32 #if defined(EX_OK) || (defined(HAVE_DECL_EX_OK) && HAVE_DECL_EX_OK)
33   XLAT(EX_OK),
34 #endif
35  XLAT_END
36 };
37 
38 # endif /* !IN_MPERS */
39 
40 #endif /* !XLAT_MACROS_ONLY */
41