2 * Acess2 POSIX Emulation
3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBPOSIX__SYS__WAIT_H_
9 #define _LIBPOSIX__SYS__WAIT_H_
11 #include <sys/types.h>
15 #define WUNTRACED 0x02
17 // POSIX, status values
18 #define WEXITSTATUS(v) v
19 #define WIFCONTINUED(v) 0
21 // POSIX/XSI, waitid(options)
24 #define WCONTINUED 0x40
27 // POSIX/XSI, idtype_t
36 extern pid_t wait(int *);
38 //extern int waitid(idtype_t, id_t, siginfo_t *, int);
40 extern pid_t waitpid(pid_t, int *, int);