/freebsd-13-stable/lib/libc/sys/ |
H A D | nanosleep.c | 42 #pragma weak nanosleep macro 44 nanosleep(const struct timespec *rqtp, struct timespec *rmtp) function
|
H A D | interposing_table.c | 51 SLOT(nanosleep, __sys_nanosleep),
|
H A D | Makefile.inc | 68 nanosleep \ 260 nanosleep.2 \ 379 MLINKS+=nanosleep.2 clock_nanosleep.2
|
/freebsd-13-stable/contrib/mandoc/ |
H A D | test-nanosleep.c | 12 if (nanosleep(&timeout, NULL)) { 13 perror("nanosleep");
|
H A D | catman.c | 116 nanosleep(&timeout, NULL);
|
H A D | configure | 364 # --- nanosleep --- 366 runtest nanosleep NANOSLEEP "${LD_NANOSLEEP}" || true 367 elif singletest nanosleep NANOSLEEP; then 369 elif runtest nanosleep NANOSLEEP "-lrt"; then 373 echo "FATAL: nanosleep: no" 1>&2 374 echo "FATAL: nanosleep: no" 1>&3
|
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_napms.c | 73 while (nanosleep(&request, &remaining) == -1
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_nanosleep.c | 65 atf_tc_set_md_var(tc, "descr", "Test that nanosleep(2) works"); 83 ATF_REQUIRE(nanosleep(&tsn, NULL) == 0); 109 "Test errors from nanosleep(2) (PR bin/14558)"); 119 ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1); 124 ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1); 129 ATF_REQUIRE_ERRNO(0, nanosleep(&ts, NULL) == 0); 132 ATF_REQUIRE_ERRNO(EFAULT, nanosleep((void *)-1, NULL) == -1); 138 atf_tc_set_md_var(tc, "descr", "Test signal for nanosleep(2)"); 148 * Test that a signal interrupts nanosleep(2). 168 if (nanosleep( [all...] |
H A D | t_lwp_ctl.c | 61 ATF_REQUIRE(nanosleep(&ts, 0) != -1);
|
H A D | t_clock_gettime.c | 199 (void)nanosleep(&ts, NULL);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 102 if (nanosleep(delay, remain) == -1) 192 ATF_TC(nanosleep); variable 193 ATF_TC_HEAD(nanosleep, tc) 196 atf_tc_set_md_var(tc, "descr", "Test nanosleep(2) timing"); 200 ATF_TC_BODY(nanosleep, tc) 339 ATF_TP_ADD_TC(tp, nanosleep);
|
H A D | t_raise.c | 154 ATF_REQUIRE(nanosleep(&tv, &tr) == 0);
|
/freebsd-13-stable/contrib/netbsd-tests/fs/fifofs/ |
H A D | t_fifo.c | 62 nanosleep(&ts, NULL); 151 nanosleep(&ts, NULL);
|
/freebsd-13-stable/lib/libstdthreads/ |
H A D | thrd.c | 122 return (nanosleep(duration, remaining));
|
/freebsd-13-stable/bin/sleep/ |
H A D | sleep.c | 93 while (nanosleep(&time_to_sleep, &time_to_sleep) != 0) { 100 err(1, "nanosleep");
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.h | 78 int nanosleep(const struct timespec *, struct timespec *);
|
H A D | port-aix.h | 62 /* AIX 4.2.x doesn't have nanosleep but does have nsleep which is equivalent */ 64 # define nanosleep(a,b) nsleep(a,b) macro
|
H A D | bsd-misc.c | 140 int nanosleep(const struct timespec *req, struct timespec *rem) function 177 return nanosleep(&ts, NULL);
|
/freebsd-13-stable/include/ |
H A D | time.h | 178 int nanosleep(const struct timespec *, struct timespec *);
|
/freebsd-13-stable/contrib/ntp/lib/isc/tests/ |
H A D | isctest.c | 168 nanosleep(&ts, NULL);
|
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/sodium/ |
H A D | core.c | 169 (void) nanosleep(&q, NULL);
|
/freebsd-13-stable/tools/tools/net80211/wesside/udps/ |
H A D | udps.c | 103 if (nanosleep(&ts, NULL) == -1) { 104 perror("nanosleep()");
|
/freebsd-13-stable/sys/kern/ |
H A D | capabilities.conf | 453 nanosleep
|
/freebsd-13-stable/sys/contrib/zstd/programs/ |
H A D | util.h | 56 # define UTIL_sleepMilli(milli) { struct timespec t; t.tv_sec=0; t.tv_nsec=milli*1000000ULL; nanosleep(&t, NULL); }
|
/freebsd-13-stable/sys/sys/ |
H A D | syscall.mk | 157 nanosleep.o \
|