summaryrefslogtreecommitdiff
path: root/src/libk/include
diff options
context:
space:
mode:
authordzwdz2023-12-25 19:08:04 +0100
committerdzwdz2023-12-25 19:08:04 +0100
commitb9f5f92bff69059471a76e73539780eedb356455 (patch)
tree55302764cbc2a6ab159cf2621dc34aab04ca4085 /src/libk/include
parent4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a (diff)
kernel: _sys_getnull() (basically /dev/null)
Diffstat (limited to 'src/libk/include')
-rw-r--r--src/libk/include/camellia/syscalls.h3
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);