diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-11-18 17:49:04 -0800 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-11-18 17:49:04 -0800 |
commit | 835dea0eb6333a9ef452881ea073bfe59d14096a (patch) | |
tree | 525c3b4fe8b281813d7234fcc8871c63c627cc19 /sys/src/waitfor.c | |
parent | 5bcc08d92ae9345d6863f555a3dd9ec960e0860f (diff) |
feat: continued filling out system layer
Diffstat (limited to 'sys/src/waitfor.c')
-rw-r--r-- | sys/src/waitfor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/src/waitfor.c b/sys/src/waitfor.c new file mode 100644 index 0000000..0228427 --- /dev/null +++ b/sys/src/waitfor.c @@ -0,0 +1,8 @@ +#include "internal.h" + +int +sys·waitfor(int pid, int *status, int option, sys·UsageInfo *resource) +{ + long ret = syscall(·Wait4, pid, status, option, resource); + return error(ret); +} |