lin
2025-08-01 633231e833e21d5b8b1c00cb15aedb62b3b78e8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* Generated by ./xlat/gen.sh from ./xlat/wait4_options.in; do not edit. */
 
#include "gcc_compat.h"
#include "static_assert.h"
 
#ifndef WSTOPPED
#endif
#if defined(__WCLONE) || (defined(HAVE_DECL___WCLONE) && HAVE_DECL___WCLONE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((__WCLONE) == (0x80000000), "__WCLONE != 0x80000000");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define __WCLONE 0x80000000
#endif
#if defined(__WALL) || (defined(HAVE_DECL___WALL) && HAVE_DECL___WALL)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((__WALL) == (0x40000000), "__WALL != 0x40000000");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define __WALL 0x40000000
#endif
#if defined(__WNOTHREAD) || (defined(HAVE_DECL___WNOTHREAD) && HAVE_DECL___WNOTHREAD)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((__WNOTHREAD) == (0x20000000), "__WNOTHREAD != 0x20000000");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define __WNOTHREAD 0x20000000
#endif
 
#ifndef XLAT_MACROS_ONLY
 
# ifdef IN_MPERS
 
#  error static const struct xlat wait4_options in mpers mode
 
# else
 
static
const struct xlat wait4_options[] = {
#if defined(WNOHANG) || (defined(HAVE_DECL_WNOHANG) && HAVE_DECL_WNOHANG)
  XLAT(WNOHANG),
#endif
#ifndef WSTOPPED
#if defined(WUNTRACED) || (defined(HAVE_DECL_WUNTRACED) && HAVE_DECL_WUNTRACED)
  XLAT(WUNTRACED),
#endif
#endif
#if defined(WEXITED) || (defined(HAVE_DECL_WEXITED) && HAVE_DECL_WEXITED)
  XLAT(WEXITED),
#endif
#if defined(WTRAPPED) || (defined(HAVE_DECL_WTRAPPED) && HAVE_DECL_WTRAPPED)
  XLAT(WTRAPPED),
#endif
#if defined(WSTOPPED) || (defined(HAVE_DECL_WSTOPPED) && HAVE_DECL_WSTOPPED)
  XLAT(WSTOPPED),
#endif
#if defined(WCONTINUED) || (defined(HAVE_DECL_WCONTINUED) && HAVE_DECL_WCONTINUED)
  XLAT(WCONTINUED),
#endif
#if defined(WNOWAIT) || (defined(HAVE_DECL_WNOWAIT) && HAVE_DECL_WNOWAIT)
  XLAT(WNOWAIT),
#endif
 XLAT(__WCLONE),
 XLAT(__WALL),
 XLAT(__WNOTHREAD),
 XLAT_END
};
 
# endif /* !IN_MPERS */
 
#endif /* !XLAT_MACROS_ONLY */