diff options
author | dzwdz | 2023-12-25 19:08:04 +0100 |
---|---|---|
committer | dzwdz | 2023-12-25 19:08:04 +0100 |
commit | b9f5f92bff69059471a76e73539780eedb356455 (patch) | |
tree | 55302764cbc2a6ab159cf2621dc34aab04ca4085 /src/libk | |
parent | 4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a (diff) |
kernel: _sys_getnull() (basically /dev/null)
Diffstat (limited to 'src/libk')
-rw-r--r-- | src/libk/include/camellia/syscalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |