aboutsummaryrefslogtreecommitdiff
path: root/conform/data/sys/wait.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/sys/wait.h-data')
-rw-r--r--conform/data/sys/wait.h-data13
1 files changed, 12 insertions, 1 deletions
diff --git a/conform/data/sys/wait.h-data b/conform/data/sys/wait.h-data
index 56dea06cfd..818766921d 100644
--- a/conform/data/sys/wait.h-data
+++ b/conform/data/sys/wait.h-data
@@ -1,4 +1,9 @@
#if !defined ISO && !defined ISO99 && !defined ISO11
+#ifdef POSIX
+# define pid_t __pid_t
+# define uid_t __uid_t
+#endif
+
constant WNOHANG
constant WUNTRACED
@@ -20,6 +25,7 @@ constant WCONTINUED
constant WNOHANG
constant WNOWAIT
+#if !defined POSIX
type idtype_t
constant P_ALL
@@ -27,6 +33,7 @@ constant P_PID
constant P_PGID
type id_t
+#endif
type siginfo_t
@@ -40,18 +47,22 @@ element siginfo_t int si_status
element siginfo_t long si_band
element siginfo_t {union sigval} si_value
+#if !defined POSIX
type {struct rusage}
element {struct rusage} {struct timeval} ru_utime
element {struct rusage} {struct timeval} ru_stime
+#endif
type pid_t
function pid_t wait (int*)
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
function pid_t wait3 (int*, int, struct rusage*)
#endif
+#if !defined POSIX
function int waitid (idtype_t, id_t, siginfo_t*, int)
+#endif
function pid_t waitpid (pid_t, int*, int)
allow-header signal.h