int poll(struct pollfd *fds, nfds_t nfds, int timeout)
Wait for one of a set of file descriptors to become ready to perform I/O.
Definition: file.c:423
int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts, const sigset_t *sigmask)
Wait for one of the descriptors to become ready, with the timeout given as a timespec....
Definition: file.c:428