Function epoll::wait
[−]
[src]
pub fn wait(epfd: RawFd, timeout: i32, buf: &mut [Event]) -> Result<usize>
Safe wrapper for libc::epoll_wait
Notes
- If
timeout
is negative, it will block until an event is received.