devela::_dep::rustix::event::epoll

Function wait

pub fn wait(
    epoll: impl AsFd,
    event_list: &mut EventVec,
    timeout: i32,
) -> Result<(), Errno> 
Available on crate feature dep_rustix only.
Expand description

epoll_wait(self, events, timeout)—Waits for registered events of interest.

For each event of interest, an element is written to events. On success, this returns the number of written elements.

§References