diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-14 20:19:21 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-14 20:19:21 -0400 |
| commit | 902687a68398963b18e5dbed78553c3c19408eeb (patch) | |
| tree | 9ff96b78022b5641efcb2b0bea2d938320ad0269 | |
| parent | caaf42673377d87b05381d6c83eb0d073c919d4b (diff) | |
rough draft
| -rw-r--r-- | src/sys/wait/waitid.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/sys/wait/waitid.c b/src/sys/wait/waitid.c index 68991583..b8aa19d4 100644 --- a/src/sys/wait/waitid.c +++ b/src/sys/wait/waitid.c @@ -1,8 +1,21 @@ +#include "sys/types.h" +/* +#include "sys/time.h" +#include "ucontext.h" +#include "signal.h" #include <sys/wait.h> +*/ +#include "_syscall.h" + +#define __SYS_WAIT_H__ + +#include "idtype_t.c" + +typedef struct siginfo siginfo_t; int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options) { - return 0; + SYSCALL(waitid, int, -1, idtype, id, infop, option, NULL, 0); } /* |
