Lines Matching refs:poll
9 /// It's meant to be used as an argument to the [`poll`](fn.poll.html) and
13 /// After a call to `poll` or `ppoll`, the events that occurred can be
34 /// Returns the events that occurred in the last call to `poll` or `ppoll`. Will only return
40 /// Returns if any of the events of interest occured in the last call to `poll` or `ppoll`. Will
50 /// Returns if all the events of interest occured in the last call to `poll` or `ppoll`. Will
78 /// These flags define the different events that can be monitored by `poll` and `ppoll`
135 /// `poll` waits for one of a set of file descriptors to become ready to perform I/O.
136 /// ([`poll(2)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html))
138 /// `fds` contains all [`PollFd`](struct.PollFd.html) to poll.
141 /// The `timeout` argument specifies the number of milliseconds that `poll()`
153 /// causes `poll()` to return immediately, even if no file descriptors are
155 pub fn poll(fds: &mut [PollFd], timeout: libc::c_int) -> Result<libc::c_int> {
157 libc::poll(
171 /// ([`poll(2)`](https://man7.org/linux/man-pages/man2/poll.2.html))
173 /// `ppoll` behaves like `poll`, but let you specify what signals may interrupt it
175 /// specify `None` as `timeout` (it is like `timeout = -1` for `poll`).
177 /// so in that case `ppoll` differs from `poll` only in the precision of the