Searched refs:nanosleep (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-13-stable/lib/libc/sys/
H A Dnanosleep.c42 #pragma weak nanosleep macro
44 nanosleep(const struct timespec *rqtp, struct timespec *rmtp) function
H A Dinterposing_table.c51 SLOT(nanosleep, __sys_nanosleep),
H A DMakefile.inc68 nanosleep \
260 nanosleep.2 \
379 MLINKS+=nanosleep.2 clock_nanosleep.2
/freebsd-13-stable/contrib/mandoc/
H A Dtest-nanosleep.c12 if (nanosleep(&timeout, NULL)) {
13 perror("nanosleep");
H A Dcatman.c116 nanosleep(&timeout, NULL);
H A Dconfigure364 # --- 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 Dlib_napms.c73 while (nanosleep(&request, &remaining) == -1
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c65 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 Dt_lwp_ctl.c61 ATF_REQUIRE(nanosleep(&ts, 0) != -1);
H A Dt_clock_gettime.c199 (void)nanosleep(&ts, NULL);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c102 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 Dt_raise.c154 ATF_REQUIRE(nanosleep(&tv, &tr) == 0);
/freebsd-13-stable/contrib/netbsd-tests/fs/fifofs/
H A Dt_fifo.c62 nanosleep(&ts, NULL);
151 nanosleep(&ts, NULL);
/freebsd-13-stable/lib/libstdthreads/
H A Dthrd.c122 return (nanosleep(duration, remaining));
/freebsd-13-stable/bin/sleep/
H A Dsleep.c93 while (nanosleep(&time_to_sleep, &time_to_sleep) != 0) {
100 err(1, "nanosleep");
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dbsd-misc.h78 int nanosleep(const struct timespec *, struct timespec *);
H A Dport-aix.h62 /* 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 Dbsd-misc.c140 int nanosleep(const struct timespec *req, struct timespec *rem) function
177 return nanosleep(&ts, NULL);
/freebsd-13-stable/include/
H A Dtime.h178 int nanosleep(const struct timespec *, struct timespec *);
/freebsd-13-stable/contrib/ntp/lib/isc/tests/
H A Disctest.c168 nanosleep(&ts, NULL);
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcore.c169 (void) nanosleep(&q, NULL);
/freebsd-13-stable/tools/tools/net80211/wesside/udps/
H A Dudps.c103 if (nanosleep(&ts, NULL) == -1) {
104 perror("nanosleep()");
/freebsd-13-stable/sys/kern/
H A Dcapabilities.conf453 nanosleep
/freebsd-13-stable/sys/contrib/zstd/programs/
H A Dutil.h56 # 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 Dsyscall.mk157 nanosleep.o \

Completed in 274 milliseconds

123