summaryrefslogtreecommitdiff
path: root/lib/libc/sys/io_uring_register.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-15 02:01:33 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-15 02:01:59 +0100
commit3b3325f761b09ebbfef04c44eed546cc4fdeb329 (patch)
treeaa19ea259bcda2410c2b3dd4512f19fb85aeaf8f /lib/libc/sys/io_uring_register.c
parent15d2df7811ef3cb79cc3e501d0d5f9b993d42bea (diff)
Added aio and eventfd support, along with sleep and yes utilities
Diffstat (limited to 'lib/libc/sys/io_uring_register.c')
-rw-r--r--lib/libc/sys/io_uring_register.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/io_uring_register.c b/lib/libc/sys/io_uring_register.c
new file mode 100644
index 00000000..bee2355f
--- /dev/null
+++ b/lib/libc/sys/io_uring_register.c
@@ -0,0 +1,7 @@
+#include <syscall.h>
+
+int io_uring_register(unsigned int fd, unsigned int opcode, void *arg,
+ unsigned int nr_args)
+{
+ return syscall(io_uring_register, fd, opcode, arg, nr_args);
+}