Defined in 4 files as a prototype:
Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 124 files:
- bin/dd/dd.c, line 362
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.float.c, line 42
- contrib/capsicum-test/capsicum-test.cc, line 55
- contrib/capsicum-test/capsicum-test.h, 3 times
- contrib/capsicum-test/linux.cc, 6 times
- contrib/capsicum-test/procdesc.cc, 10 times
- contrib/capsicum-test/smoketest.c, line 88
- contrib/gdb/gdb/rs6000-nat.c, line 1038
- contrib/kyua/integration/helpers/race.cpp, line 88
- contrib/kyua/utils/datetime_test.cpp, line 333
- contrib/kyua/utils/process/executor_test.cpp, line 370
- contrib/kyua/utils/signals/timer_test.cpp, 6 times
- contrib/libevent/evutil_time.c, line 142
- contrib/libxo/libxo/xo_syslog.c, line 243
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp, line 140
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_rtems.cpp, line 74
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp, line 168
- contrib/netbsd-tests/dev/md/h_mdserv.c, line 42
- contrib/netbsd-tests/dev/sysmon/t_swwdog.c, line 109
- contrib/netbsd-tests/fs/common/fstest_nfs.c, line 303
- contrib/netbsd-tests/fs/common/fstest_puffs.c, 2 times
- contrib/netbsd-tests/fs/nfs/t_mountd.c, line 100
- contrib/netbsd-tests/kernel/t_lockf.c, 3 times
- contrib/netbsd-tests/kernel/t_ptrace_wait.h, line 354
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, line 250
- contrib/netbsd-tests/lib/libpthread/t_sem.c, line 195
- contrib/netbsd-tests/lib/libpthread_dbg/t_threads.c, 9 times
- contrib/netbsd-tests/lib/librt/t_sem.c, line 163
- contrib/netbsd-tests/lib/librumpclient/h_execthr.c, line 197
- contrib/netbsd-tests/lib/semaphore/sem.c, 2 times
- contrib/netbsd-tests/net/icmp/t_ping.c, 2 times
- contrib/netbsd-tests/net/mcast/mcast.c, line 299
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, line 33
- contrib/netbsd-tests/rump/rumpkern/h_client/h_simplecli.c, line 23
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, line 193
- contrib/netcat/netcat.c, line 1256
- contrib/ntp/lib/isc/tests/isctest.c, line 170
- contrib/ntp/lib/isc/unix/entropy.c, line 187
- contrib/ntp/ntpd/refclock_gpsvme.c, 2 times
- contrib/ntp/sntp/libevent/evutil_time.c, line 135
- contrib/ntp/util/pps-api.c, line 89
- contrib/ofed/opensm/complib/cl_thread.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_common.c, line 134
- contrib/openbsm/bin/auditdistd/sender.c, line 604
- contrib/opie/libopie/readpass.c, 2 times
- contrib/opie/opielogin.c, line 839
- contrib/pf/ftp-proxy/ftp-proxy.c, line 1058
- contrib/sqlite3/sqlite3.c, 4 times
- contrib/tcsh/dotlock.c, line 165
- contrib/tcsh/vms.termcap.c, line 349
- contrib/tnftp/src/fetch.c, line 1255
- contrib/tnftp/src/ftp.c, line 636
- contrib/traceroute/traceroute.c, line 1081
- contrib/wpa/src/utils/os_internal.c, line 31
- contrib/wpa/src/utils/os_unix.c, line 55
- crypto/openssh/contrib/gnome-ssh-askpass2.c, 2 times
- crypto/openssh/ssh-agent.c, line 536
- crypto/openssh/sshd.c, line 1235
- crypto/openssh/sshkey-xmss.c, line 492
- gnu/usr.bin/gdb/gdbserver/fbsd-low.c, line 367
- lib/libc/gen/usleep.c, line 56
- lib/libc/include/un-namespace.h, line 220
- lib/libcuse/cuse_lib.c, line 526
- lib/libdpv/dpv.c, line 603
- lib/libusb/libusb10_hotplug.c, line 119
- lib/libusb/libusb10_io.c, line 568
- libexec/getty/chat.c, 2 times
- sbin/fsck_ffs/fsutil.c, line 847
- sbin/gvinum/gvinum.c, line 473
- sbin/hastd/proto_common.c, line 137
- sbin/ping/ping.c, line 1104
- share/examples/ppi/ppilcd.c, 10 times
- stand/ficl/loader.c, line 783
- stand/usb/test/bsd_usbloader_test.c, 4 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, 4 times
- sys/contrib/openzfs/lib/libefi/rdwr_efi.c, line 619
- sys/contrib/openzfs/lib/libzfs/os/linux/libzfs_util_os.c, line 155
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_device_path_os.c, line 121
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, 4 times
- sys/dev/random/unit_test.c, 3 times
- tests/sys/aio/aio_test.c, line 160
- tests/sys/file/flock_helper.c, 2 times
- tests/sys/kern/kern_descrip_test.c, 2 times
- tests/sys/kern/ptrace_test.c, line 160
- tests/sys/kern/sendfile_helper.c, 2 times
- tests/sys/kern/unix_seqpacket_test.c, line 377
- tests/sys/net/randsleep.c, line 60
- tests/sys/net/routing/rtsock_common.h, line 336
- tests/sys/net/routing/rtsock_config.h, line 158
- tools/regression/poll/pipepoll.c, 13 times
- tools/regression/poll/pipeselect.c, 13 times
- tools/regression/posixsem/posixsem.c, line 1172
- tools/regression/security/cap_test/cap_test_pdkill.c, line 87
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, line 100
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, line 232
- tools/regression/sockets/sendfile/sendfile.c, line 423
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 125
- tools/test/ppsapi/ppsapitest.c, line 174
- tools/tools/ath/athratestats/main.c, line 402
- tools/tools/iwn/iwnstats/main.c, line 325
- tools/tools/net80211/wesside/dics/dics.c, line 297
- tools/tools/net80211/wesside/udps/udps.c, line 95
- tools/tools/netmap/nmreplay.c, 2 times
- tools/tools/netmap/pkt-gen.c, 2 times
- tools/tools/usbtest/usb_control_ep_test.c, 2 times
- tools/tools/usbtest/usb_modem_test.c, 3 times
- tools/tools/usbtest/usb_msc_test.c, 7 times
- usr.bin/chat/chat.c, 2 times
- usr.bin/ktrdump/ktrdump.c, line 382
- usr.bin/morse/morse.c, 3 times
- usr.bin/resizewin/resizewin.c, line 126
- usr.bin/sdiotool/linux_compat.h, line 47
- usr.bin/tail/forward.c, line 431
- usr.bin/tip/tip/cmds.c, 2 times
- usr.bin/truss/setup.c, line 186
- usr.bin/vmstat/vmstat.c, 2 times
- usr.sbin/bhyve/pci_virtio_net.c, 2 times
- usr.sbin/bhyve/rfb.c, line 739
- usr.sbin/bhyveload/bhyveload.c, line 524
- usr.sbin/bluetooth/bcmfw/bcmfw.c, 2 times
- usr.sbin/gstat/gstat.c, 2 times
- usr.sbin/moused/moused.c, 15 times
- usr.sbin/spray/spray.c, line 157