Home
last modified time | relevance | path

Searched refs:waittv (Results 1 – 1 of 1) sorted by relevance

/netbsd/src/external/bsd/fetch/dist/libfetch/
Dcommon.c592 struct timeval waittv, now;
595 waittv.tv_sec = timeout_end.tv_sec - now.tv_sec;
596 waittv.tv_usec = timeout_end.tv_usec - now.tv_usec;
597 if (waittv.tv_usec < 0) {
598 waittv.tv_usec += 1000000;
599 waittv.tv_sec--;
601 if (waittv.tv_sec < 0) {
607 r = select(conn->sd + 1, &readfds, NULL, NULL, &waittv);
721 struct timeval now, timeout, waittv; local
748 waittv.tv_sec = timeout.tv_sec - now.tv_sec;
[all …]