From b9f5f92bff69059471a76e73539780eedb356455 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Dec 2023 19:08:04 +0100 Subject: kernel: _sys_getnull() (basically /dev/null) --- src/libk/include/camellia/syscalls.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libk') diff --git a/src/libk/include/camellia/syscalls.h b/src/libk/include/camellia/syscalls.h index 6d9286b..3e7576e 100644 --- a/src/libk/include/camellia/syscalls.h +++ b/src/libk/include/camellia/syscalls.h @@ -22,6 +22,7 @@ #define _SYS_WAIT2 21 #define _SYS_GETPROCFS 22 #define _SYS_TIME 23 +#define _SYS_GETNULL 24 #define _SYS_EXECBUF 100 #define _SYS_DEBUG_KLOG 101 @@ -86,6 +87,8 @@ hid_t _sys_getprocfs(int flags); /** Returns the time in nanoseconds since the first _sys_time call in the process */ uint64_t _sys_time(int flags); +hid_t _sys_getnull(int flags); + /* see shared/execbuf.h */ long _sys_execbuf(void __user *buf, size_t len); -- cgit v1.2.3