diff options
Diffstat (limited to 'src/lib/libkogata')
-rw-r--r-- | src/lib/libkogata/syscall.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libkogata/syscall.c b/src/lib/libkogata/syscall.c index 6f37c47..4b31ab3 100644 --- a/src/lib/libkogata/syscall.c +++ b/src/lib/libkogata/syscall.c @@ -153,11 +153,8 @@ bool proc_status(pid_t pid, proc_status_t *s) { bool proc_kill(pid_t pid, proc_status_t *s) { return call(SC_PROC_KILL, pid, (uint32_t)s, 0, 0, 0); } -void proc_wait(pid_t pid, proc_status_t *s) { - call(SC_PROC_WAIT, pid, (uint32_t)s, 0, 0, 0); -} -void proc_wait_any(proc_status_t *s) { - call(SC_PROC_WAIT_ANY, (uint32_t)s, 0, 0, 0, 0); +void proc_wait(pid_t pid, bool block, proc_status_t *s) { + call(SC_PROC_WAIT, pid, block, (uint32_t)s, 0, 0); } |