1 /* Generated by ./xlat/gen.sh from ./xlat/usagewho.in; do not edit. */ 2 #if !(defined(RUSAGE_SELF) || (defined(HAVE_DECL_RUSAGE_SELF) && HAVE_DECL_RUSAGE_SELF)) 3 # define RUSAGE_SELF 0 4 #endif 5 #if !(defined(RUSAGE_CHILDREN) || (defined(HAVE_DECL_RUSAGE_CHILDREN) && HAVE_DECL_RUSAGE_CHILDREN)) 6 # define RUSAGE_CHILDREN (-1) 7 #endif 8 #if !(defined(RUSAGE_BOTH) || (defined(HAVE_DECL_RUSAGE_BOTH) && HAVE_DECL_RUSAGE_BOTH)) 9 # define RUSAGE_BOTH (-2) 10 #endif 11 #if !(defined(RUSAGE_THREAD) || (defined(HAVE_DECL_RUSAGE_THREAD) && HAVE_DECL_RUSAGE_THREAD)) 12 # define RUSAGE_THREAD 1 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat usagewho in mpers mode 18 19 #else 20 21 static 22 const struct xlat usagewho[] = { 23 XLAT(RUSAGE_SELF), 24 XLAT(RUSAGE_CHILDREN), 25 XLAT(RUSAGE_BOTH), 26 XLAT(RUSAGE_THREAD), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31