Defined in 2 files as a prototype:
Defined in 4 files as a macro:
Defined in 2 files as a function:
Referenced in 56 files:
- bin/sleep/sleep.c, line 95
- contrib/capsicum-test/capmode.cc, line 313
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, line 1586
- contrib/ipfilter/ipsend/iptests.c, line 91
- contrib/libevent/evutil_time.c, line 137
- contrib/libpcap/pcap-linux.c, line 955
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, line 829
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 438
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
- contrib/mandoc/catman.c, line 116
- contrib/mandoc/main.c, line 1277
- contrib/mandoc/test-nanosleep.c, line 12
- contrib/ncurses/ncurses/tinfo/lib_napms.c, line 73
- contrib/ncurses/ncurses/tinfo/tinfo_driver.c, line 1273
- contrib/netbsd-tests/fs/fifofs/t_fifo.c
- contrib/netbsd-tests/lib/libc/gen/t_raise.c, line 154
- contrib/netbsd-tests/lib/libc/gen/t_sleep.c
- contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c, line 199
- contrib/netbsd-tests/lib/libc/sys/t_lwp_ctl.c, line 61
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
- contrib/ntp/lib/isc/tests/isctest.c, line 168
- contrib/ntp/lib/isc/unix/entropy.c, line 185
- contrib/ntp/ntpq/ntpq-subs.c, line 2907
- contrib/ntp/sntp/libevent/evutil_time.c, line 130
- contrib/openbsm/compat/pidfile.h, line 143
- contrib/sendmail/libsm/clock.c, line 519
- contrib/sqlite3/sqlite3.c, line 40090
- contrib/unbound/compat/getentropy_linux.c, line 382
- contrib/unbound/compat/getentropy_osx.c, line 282
- contrib/unbound/compat/getentropy_solaris.c, line 302
- crypto/openssh/auth2.c, line 251
- crypto/openssh/misc.c, line 1387
- crypto/openssh/openbsd-compat/bsd-misc.c, line 177
- lib/libc/include/un-namespace.h, line 65
- lib/libc/sys/interposing_table.c, line 51
- lib/libstdthreads/thrd.c, line 122
- lib/libthr/thread/thr_syscalls.c, line 658
- lib/libutil/pidfile.c, line 170
- libexec/getty/subr.c, line 654
- sys/contrib/libsodium/src/libsodium/sodium/core.c, line 169
- sys/contrib/openzfs/cmd/zed/zed_exec.c, line 148
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 5074
- sys/contrib/openzfs/include/sys/zfs_context.h, line 752
- sys/contrib/zstd/programs/util.h, line 56
- tests/sys/kqueue/libkqueue/timer.c
- tests/sys/netinet/ip_reass_test.c, line 134
- tools/regression/gaithrstress/gaithrstress.c, line 86
- tools/tools/mctest/mctest.cc, line 391
- tools/tools/net80211/wesside/udps/udps.c, line 103
- usr.bin/grdc/grdc.c, line 209
- usr.bin/script/script.c, line 523
- usr.bin/tip/libacu/courier.c, line 355
- usr.bin/tip/libacu/t3000.c, line 373
- usr.sbin/bhyve/snapshot.c, line 725
- usr.sbin/cron/cron/cron.c, line 449
- usr.sbin/daemon/daemon.c, line 408