From bb1a5fc74769301c0a792cb83d3fa0bda8a780cb Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 2 Mar 2015 23:30:16 +0100 Subject: Add prototypes for process management... --- src/lib/libkogata/syscall.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/libkogata') 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); } -- cgit v1.2.3