1 /* Generated by ./xlat/gen.sh from ./xlat/sigchld_codes.in; do not edit. */ 2 #if !(defined(CLD_EXITED) || (defined(HAVE_DECL_CLD_EXITED) && HAVE_DECL_CLD_EXITED)) 3 # define CLD_EXITED 1 4 #endif 5 #if !(defined(CLD_KILLED) || (defined(HAVE_DECL_CLD_KILLED) && HAVE_DECL_CLD_KILLED)) 6 # define CLD_KILLED 2 7 #endif 8 #if !(defined(CLD_DUMPED) || (defined(HAVE_DECL_CLD_DUMPED) && HAVE_DECL_CLD_DUMPED)) 9 # define CLD_DUMPED 3 10 #endif 11 #if !(defined(CLD_TRAPPED) || (defined(HAVE_DECL_CLD_TRAPPED) && HAVE_DECL_CLD_TRAPPED)) 12 # define CLD_TRAPPED 4 13 #endif 14 #if !(defined(CLD_STOPPED) || (defined(HAVE_DECL_CLD_STOPPED) && HAVE_DECL_CLD_STOPPED)) 15 # define CLD_STOPPED 5 16 #endif 17 #if !(defined(CLD_CONTINUED) || (defined(HAVE_DECL_CLD_CONTINUED) && HAVE_DECL_CLD_CONTINUED)) 18 # define CLD_CONTINUED 6 19 #endif 20 21 #ifdef IN_MPERS 22 23 extern const struct xlat sigchld_codes[]; 24 25 #else 26 27 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 28 static 29 # endif 30 const struct xlat sigchld_codes[] = { 31 XLAT(CLD_EXITED), 32 XLAT(CLD_KILLED), 33 XLAT(CLD_DUMPED), 34 XLAT(CLD_TRAPPED), 35 XLAT(CLD_STOPPED), 36 XLAT(CLD_CONTINUED), 37 XLAT_END 38 }; 39 40 #endif /* !IN_MPERS */ 41