diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-03-02 23:30:16 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-03-03 00:07:27 +0100 |
commit | bb1a5fc74769301c0a792cb83d3fa0bda8a780cb (patch) | |
tree | 14b406cc83798524e12d24ab211c4580d1c52f1f /src/lib/libkogata | |
parent | 0d47724c5f6201fdc7679327ad4a132c708b8042 (diff) | |
download | kogata-bb1a5fc74769301c0a792cb83d3fa0bda8a780cb.tar.gz kogata-bb1a5fc74769301c0a792cb83d3fa0bda8a780cb.zip |
Add prototypes for process management...
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); } |