Lines Matching refs:poll
31 #include "poll.h"
74 * NOTE: poll() is the fundamental API for performing such monitoring
76 * is simply a layer of added logic on top of poll(). As such, select()
77 * is more wasteful of resources and poll() is the recommended API to be
97 fd_set *exceptfds, struct timeval *timeout, PollFun poll)
116 /* Initialize the descriptor list for poll() */
132 /* Allocate the descriptor list for poll() */
184 /* Initialize the descriptor list for poll() */
243 /* Then let poll do all of the real work. */
245 ret = poll(pollset, npfds, msec);
264 /* Convert the poll descriptor list back into selects 3 bitsets */
320 return do_select(nfds, readfds, writefds, exceptfds, timeout, poll);