devela::_dep::rustix::io_uring

Function io_uring_enter

pub unsafe fn io_uring_enter<Fd>(
    fd: Fd,
    to_submit: u32,
    min_complete: u32,
    flags: IoringEnterFlags,
    arg: *const c_void,
    size: usize,
) -> Result<u32, Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

io_uring_enter(fd, to_submit, min_complete, flags, arg, size)—Initiate and/or complete 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