conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h.
[glibc.git] / conform / data / sys / wait.h-data
blobe0787e3b5d35a98640791ace08c9ac91b3c2b53b
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 POSIX && !defined POSIX2008
11 macro WIFCONTINUED
12 # endif
13 macro WIFEXITED
14 macro WIFSIGNALED
15 macro WIFSTOPPED
16 macro WSTOPSIG
17 macro WTERMSIG
19 # ifndef POSIX
20 constant WEXITED
21 constant WSTOPPED
22 #  ifndef POSIX2008
23 constant WCONTINUED
24 #  endif
25 constant WNOHANG
26 constant WNOWAIT
27 # endif
29 #if !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 element siginfo_t {union sigval} si_value
49 #endif
51 #if !defined POSIX && !defined XPG3 && !defined XOPEN2K8 && !defined POSIX2008
52 type {struct rusage}
54 element {struct rusage} {struct timeval} ru_utime
55 element {struct rusage} {struct timeval} ru_stime
56 #endif
58 #if !defined POSIX
59 type pid_t
60 #endif
62 function pid_t wait (int*)
63 #if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
64 function pid_t wait3 (int*, int, struct rusage*)
65 #endif
66 #if !defined POSIX
67 function int waitid (idtype_t, id_t, siginfo_t*, int)
68 #endif
69 function pid_t waitpid (pid_t, int*, int)
71 #if !defined POSIX
72 allow-header signal.h
73 allow-header sys/resource.h
75 allow si_*
76 allow W*
77 allow P_*
78 allow BUS_
79 allow CLD_
80 allow FPE_
81 allow ILL_
82 allow POLL_
83 allow SEGV_
84 allow SI_
85 allow TRAP_
86 #endif
87 allow *_t
88 #endif