Searched refs:time_to_sleep (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/lib/libc/gen/ |
H A D | usleep.c | 48 struct timespec time_to_sleep; local 50 time_to_sleep.tv_nsec = (useconds % 1000000) * 1000; 51 time_to_sleep.tv_sec = useconds / 1000000; 53 __libc_interposing[INTERPOS_nanosleep])(&time_to_sleep, NULL));
|
H A D | sleep.c | 50 struct timespec time_to_sleep; local 60 time_to_sleep.tv_sec = seconds; 61 time_to_sleep.tv_nsec = 0; 64 &time_to_sleep, &time_remaining) != -1)
|
/freebsd-13-stable/bin/sleep/ |
H A D | sleep.c | 66 struct timespec time_to_sleep; local 83 original = time_to_sleep.tv_sec = (time_t)d; 84 time_to_sleep.tv_nsec = 1e9 * (d - time_to_sleep.tv_sec); 93 while (nanosleep(&time_to_sleep, &time_to_sleep) != 0) { 97 (int)time_to_sleep.tv_sec, (int)original);
|
/freebsd-13-stable/lib/libthr/thread/ |
H A D | thr_syscalls.c | 266 const struct timespec *time_to_sleep, struct timespec *time_remaining) 273 ret = __sys_clock_nanosleep(clock_id, flags, time_to_sleep, 281 __thr_nanosleep(const struct timespec *time_to_sleep, argument 289 ret = __sys_nanosleep(time_to_sleep, time_remaining); 265 __thr_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *time_to_sleep, struct timespec *time_remaining) argument
|
/freebsd-13-stable/lib/libc/net/ |
H A D | rcmd.c | 196 struct timespec time_to_sleep, time_remaining; local 198 time_to_sleep.tv_sec = timo; 199 time_to_sleep.tv_nsec = 0; 200 (void)_nanosleep(&time_to_sleep, &time_remaining);
|
/freebsd-13-stable/lib/libc/yp/ |
H A D | yplib.c | 487 struct timespec time_to_sleep, time_remaining; local 492 time_to_sleep.tv_sec = _yplib_timeout/2; 493 time_to_sleep.tv_nsec = 0; 494 _nanosleep(&time_to_sleep,
|
Completed in 62 milliseconds