From 7536d000ac9a5188378f2749ecfd7f0ccb437573 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 14 Dec 2022 22:12:20 +0100 Subject: first try to pipe stuff --- lib/sys/wait4.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/sys/wait4.h (limited to 'lib/sys/wait4.h') 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 -- cgit v1.2.3-70-g09d2