diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 18:44:07 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 18:44:07 +0100 |
| commit | 01cf24ec66c663e3f40be1d5c703aa9666effc85 (patch) | |
| tree | 9e5bed524b013ee2609d7e5f1282eaa96eec404c /lib/libc/sys/io_uring/io_uring_enter.c | |
| parent | 6f6c027a90fba09f06ea0937b57cfd349661620e (diff) | |
Add inotify and reorganize eventfd and io_uring syscalls
Diffstat (limited to 'lib/libc/sys/io_uring/io_uring_enter.c')
| -rw-r--r-- | lib/libc/sys/io_uring/io_uring_enter.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/sys/io_uring/io_uring_enter.c b/lib/libc/sys/io_uring/io_uring_enter.c new file mode 100644 index 00000000..5fe0773d --- /dev/null +++ b/lib/libc/sys/io_uring/io_uring_enter.c @@ -0,0 +1,10 @@ +#include <signal.h> +#include <syscall.h> + +int io_uring_enter(unsigned int fd, unsigned int to_submit, + unsigned int min_complete, unsigned int flags, sigset_t *sig, + size_t sz) +{ + return syscall(io_uring_enter, fd, to_submit, min_complete, flags, sig, + sz); +} |
