hurd: XFAIL tests for signal features not implemented yet
[glibc.git] / conform / data / sys / wait.h-data
blobfe9aeb5feef6902fc4f30270232c0c22b9e06d5f
1 #if !defined ISO && !defined ISO99 && !defined ISO11
2 #ifdef  POSIX
3 # define pid_t __pid_t
4 #endif
6 constant WNOHANG
7 constant WUNTRACED
9 macro WEXITSTATUS
10 # if !defined XPG4 && !defined POSIX && !defined POSIX2008
11 xfail[i386-gnu]-macro WIFCONTINUED
12 # endif
13 macro WIFEXITED
14 macro WIFSIGNALED
15 macro WIFSTOPPED
16 macro WSTOPSIG
17 macro WTERMSIG
19 # if !defined XPG4 && !defined POSIX
20 xfail[i386-gnu]-constant WEXITED
21 xfail[i386-gnu]-constant WSTOPPED
22 #  ifndef POSIX2008
23 xfail[i386-gnu]-constant WCONTINUED
24 #  endif
25 constant WNOHANG
26 xfail[i386-gnu]-constant WNOWAIT
27 # endif
29 #if !defined XPG4 && !defined POSIX
30 type idtype_t
32 constant P_ALL
33 constant P_PID
34 constant P_PGID
36 type id_t
38 type siginfo_t
40 element siginfo_t int si_signo
41 element siginfo_t int si_errno
42 element siginfo_t int si_code
43 element siginfo_t pid_t si_pid
44 element siginfo_t uid_t si_uid
45 element siginfo_t {void*} si_addr
46 element siginfo_t int si_status
47 element siginfo_t long si_band
48 # ifndef XPG42
49 element siginfo_t {union sigval} si_value
50 # endif
51 #endif
53 #if !defined POSIX && !defined XPG4 && !defined XOPEN2K8 && !defined POSIX2008
54 type {struct rusage}
56 element {struct rusage} {struct timeval} ru_utime
57 element {struct rusage} {struct timeval} ru_stime
58 #endif
60 #if !defined POSIX
61 type pid_t
62 #endif
64 function pid_t wait (int*)
65 #if !defined XPG4 && !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
66 function pid_t wait3 (int*, int, struct rusage*)
67 #endif
68 #if !defined XPG4 && !defined POSIX
69 function int waitid (idtype_t, id_t, siginfo_t*, int)
70 #endif
71 function pid_t waitpid (pid_t, int*, int)
73 #if !defined XPG4 && !defined POSIX
74 allow-header signal.h
75 allow-header sys/resource.h
77 allow si_*
78 allow W*
79 allow P_*
80 allow BUS_
81 allow CLD_
82 allow FPE_
83 allow ILL_
84 allow POLL_
85 allow SEGV_
86 allow SI_
87 allow TRAP_
88 #endif
89 allow *_t
90 #endif