Lines Matching refs:tv
1010 set_timenow(struct timeval *tv) {
1011 if (gettimeofday(tv, NULL) == -1) {
1014 tv->tv_sec = time(NULL);
1015 tv->tv_usec = 0;
1717 struct timeval tv;
1735 tv.tv_sec = (long)floor(wait);
1736 tv.tv_usec = (long)(1000000.0 * (wait - floor(wait)));
1738 tv.tv_sec = 0;
1739 tv.tv_usec = 0;
1742 retval = select(maxfd + 1, &read_fds, NULL, NULL, &tv);