• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/shmctl_flags.in; do not edit. */
2 #if !(defined(SHM_STAT) || (defined(HAVE_DECL_SHM_STAT) && HAVE_DECL_SHM_STAT))
3 # define SHM_STAT 13
4 #endif
5 #if !(defined(SHM_INFO) || (defined(HAVE_DECL_SHM_INFO) && HAVE_DECL_SHM_INFO))
6 # define SHM_INFO 14
7 #endif
8 
9 #ifdef IN_MPERS
10 
11 extern const struct xlat shmctl_flags[];
12 
13 #else
14 
15 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
16 static
17 # endif
18 const struct xlat shmctl_flags[] = {
19 #if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID)
20   XLAT(IPC_RMID),
21 #endif
22 #if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET)
23   XLAT(IPC_SET),
24 #endif
25 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT)
26   XLAT(IPC_STAT),
27 #endif
28 #if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO)
29   XLAT(IPC_INFO),
30 #endif
31  XLAT(SHM_STAT),
32  XLAT(SHM_INFO),
33 #if defined(SHM_LOCK) || (defined(HAVE_DECL_SHM_LOCK) && HAVE_DECL_SHM_LOCK)
34   XLAT(SHM_LOCK),
35 #endif
36 #if defined(SHM_UNLOCK) || (defined(HAVE_DECL_SHM_UNLOCK) && HAVE_DECL_SHM_UNLOCK)
37   XLAT(SHM_UNLOCK),
38 #endif
39  XLAT_END
40 };
41 
42 #endif /* !IN_MPERS */
43