summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/wait/waitid.c15
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);
}
/*