Function rustix::event::epoll::wait

source ·
pub fn wait(
    epoll: impl AsFd,
    event_list: &mut EventVec,
    timeout: c_int,
) -> Result<()>
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