Lines Matching refs:timeout
86 * timeout - Return at this time if none of these events of interest
97 fd_set *exceptfds, struct timeval *timeout, PollFun poll)
157 * the timeout argument is not a null pointer, the select() function shall block for
159 * null pointers and the timeout argument is a null pointer, this is NOT permitted
163 if (timeout != NULL)
167 if ((long long)timeout->tv_sec * 1000000 > 0xffffffff)
169 (void)sleep(timeout->tv_sec);
173 (void)usleep(timeout->tv_sec * 1000000 + timeout->tv_usec);
228 /* Convert the timeout to milliseconds */
230 if (timeout)
232 /* Calculate the timeout in milliseconds */
234 msec = timeout->tv_sec * 1000 + timeout->tv_usec / 1000;
238 /* Any negative value of msec means no timeout */
318 fd_set *exceptfds, struct timeval *timeout)
320 return do_select(nfds, readfds, writefds, exceptfds, timeout, poll);