diff options
Diffstat (limited to 'libc/include/sys/wait.h')
-rw-r--r-- | libc/include/sys/wait.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index 8ba1837..573e220 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h @@ -32,6 +32,7 @@ #include <sys/types.h> #include <sys/resource.h> #include <linux/wait.h> +#include <signal.h> __BEGIN_DECLS @@ -49,6 +50,14 @@ extern pid_t waitpid(pid_t, int *, int); extern pid_t wait3(int *, int, struct rusage *); extern pid_t wait4(pid_t, int *, int, struct rusage *); +/* Posix states that idtype_t should be an enumeration type, but + * the kernel headers define P_ALL, P_PID and P_PGID as constant macros + * instead. + */ +typedef int idtype_t; + +extern int waidit(idtype_t which, id_t id, siginfo_t *info, int options); + __END_DECLS #endif /* _SYS_WAIT_H_ */ |