tv_delay 208 maint/gnulib/lib/nanosleep.c struct timeval tv_delay; tv_delay 209 maint/gnulib/lib/nanosleep.c tv_delay.tv_sec = ts_delay->tv_sec; tv_delay 210 maint/gnulib/lib/nanosleep.c tv_delay.tv_usec = (ts_delay->tv_nsec + 999) / 1000; tv_delay 211 maint/gnulib/lib/nanosleep.c if (tv_delay.tv_usec == 1000000) tv_delay 213 maint/gnulib/lib/nanosleep.c if (tv_delay.tv_sec == TYPE_MAXIMUM (time_t)) tv_delay 214 maint/gnulib/lib/nanosleep.c tv_delay.tv_usec = 1000000 - 1; /* close enough */ tv_delay 217 maint/gnulib/lib/nanosleep.c tv_delay.tv_sec++; tv_delay 218 maint/gnulib/lib/nanosleep.c tv_delay.tv_usec = 0; tv_delay 221 maint/gnulib/lib/nanosleep.c return select (0, NULL, NULL, NULL, &tv_delay);