pub unsafe fn io_uring_setup(
entries: u32,
p: *mut io_uring_params,
) -> Result<int>
Expand description
Sets up an io_uring instance.
The instance will have submission and completion queues of at least
entries
entries. The result is a file descriptor to be used with mmap
to establish the shared memory buffers, and with io_uring_enter
and
io_uring_register
.