pub unsafe fn io_uring_register<Fd: AsFd>(
    fd: Fd,
    opcode: IoringRegisterOp,
    arg: *const c_void,
    nr_args: u32
) -> Result<()>
Available on crate feature io_uring only.
Expand description

io_uring_register(fd, opcode, arg, nr_args)—Register files or user buffers for asynchronous I/O.

Safety

io_uring operates on raw pointers and raw file descriptors. Users are responsible for ensuring that memory and resources are only accessed in valid ways.

References