aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/wait4.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/wait4.h')
-rw-r--r--lib/sys/wait4.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/sys/wait4.h b/lib/sys/wait4.h
new file mode 100644
index 0000000..e70539e
--- /dev/null
+++ b/lib/sys/wait4.h
@@ -0,0 +1,12 @@
+#ifndef WAIT4_H
+#define WAIT4_H
+
+#include "syscall.h"
+#include "sizes.h"
+
+int wait4(u64 pid, int *stat_addr, int options)
+{
+ return syscall(WAIT4, pid, stat_addr, options);
+}
+
+#endif