From 130121dd61a9adf70d1800ceb03007275bfb589d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 14:29:28 +0200 Subject: Added wait syscall --- src/kernel/tasks/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/tasks/process.c') diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index efacc1f..d2a75fd 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -84,7 +84,7 @@ u32 process_spawn(struct process *process) return process->pid; } -int process_wait_gid(u32 gid, int *status) +u32 process_wait_gid(u32 gid, u32 *status) { struct process *i = root; @@ -101,7 +101,7 @@ int process_wait_gid(u32 gid, int *status) return WAIT_OKAY; } -int process_wait_pid(u32 pid, int *status) +u32 process_wait_pid(u32 pid, u32 *status) { struct process *i = current_proc->next; -- cgit v1.2.3