Function rustix::io::epoll::epoll_wait
source · pub fn epoll_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.