diff options
author | dzwdz | 2023-08-29 23:35:03 +0200 |
---|---|---|
committer | dzwdz | 2023-08-29 23:35:03 +0200 |
commit | f71af249cfb9ca9eb0832cc46437b2c5cb7bb217 (patch) | |
tree | dcc5403d304547da397644b9d43e2bf8c67a0b3e /src/libk | |
parent | dd385a413c92d53a1f792011e1029d7d68e19c6c (diff) |
kernel: remove _sys_await, emulate it in libc
Diffstat (limited to 'src/libk')
-rw-r--r-- | src/libk/include/camellia/syscalls.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libk/include/camellia/syscalls.h b/src/libk/include/camellia/syscalls.h index 9a8fa94..b7e60a0 100644 --- a/src/libk/include/camellia/syscalls.h +++ b/src/libk/include/camellia/syscalls.h @@ -1,7 +1,6 @@ #pragma once #define _SYS_EXIT 0 -#define _SYS_AWAIT 1 #define _SYS_FORK 2 #define _SYS_OPEN 3 #define _SYS_MOUNT 4 @@ -36,11 +35,6 @@ long _syscall(long, long, long, long, long, long); */ _Noreturn void _sys_exit(long ret); -/** Waits for a child to exit. - * @return the value the child passed to exit() - */ -long _sys_await(void); - /** Creates a copy of the current process, and executes it. * All user memory pages get copied too. * @@ -85,7 +79,6 @@ void _sys_intr_set(void __user *ip); uint32_t _sys_getpid(void); uint32_t _sys_getppid(void); -// TODO deprecate await int _sys_wait2(int pid, int flags, struct sys_wait2 __user *out); /* see shared/execbuf.h */ |