Defined in 2 files as a macro:
Referenced in 159 files:
- bin/dd/dd.c, line 183
- bin/sh/input.c, line 171
- bin/sh/redir.c, 2 times
- bin/sh/show.c, line 406
- cddl/usr.sbin/zfsd/zfsd.cc, 2 times
- contrib/apr/file_io/unix/pipe.c, 2 times
- contrib/apr/network_io/unix/sockopt.c, 2 times
- contrib/bearssl/tools/client.c, line 137
- contrib/bearssl/tools/server.c, line 219
- contrib/bearssl/tools/sslio.c, 2 times
- contrib/blacklist/lib/bl.c, line 164
- contrib/blacklist/port/popenve.c, 2 times
- contrib/bmake/job.c, line 545
- contrib/bsnmp/lib/snmpclient.c, 2 times
- contrib/capsicum-test/capability-fd.cc, line 559
- contrib/capsicum-test/fcntl.cc, 7 times
- contrib/ee/new_curse.c, 2 times
- contrib/gdb/gdb/gdbserver/gdbreplay.c, line 153
- contrib/gdb/gdb/gdbserver/remote-utils.c, 2 times
- contrib/gdb/gdb/inflow.c, 6 times
- contrib/gdb/gdb/tui/tui-io.c, 2 times
- contrib/ipfilter/ipsend/sock.c, line 273
- contrib/ipfilter/l4check/l4check.c, line 299
- contrib/ipfilter/samples/relay.c, 3 times
- contrib/ldns/net.c, 2 times
- contrib/libarchive/libarchive/archive_read_support_filter_program.c, 2 times
- contrib/libarchive/libarchive/archive_write_add_filter_program.c, 4 times
- contrib/libarchive/libarchive/filter_fork_posix.c, 2 times
- contrib/libedit/read.c, 2 times
- contrib/libedit/readline.c, 3 times
- contrib/libevent/evutil.c, 2 times
- contrib/libpcap/pcap-linux.c, 3 times
- contrib/libpcap/pcap.c, line 3374
- contrib/llvm-project/lldb/source/Host/common/Terminal.cpp, line 145
- contrib/llvm-project/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 271
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 184
- contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp, line 48
- contrib/netbsd-tests/kernel/t_pty.c, line 181
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, line 130
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 347
- contrib/netbsd-tests/lib/libcurses/director/director.c, line 265
- contrib/netbsd-tests/lib/librumpclient/t_fd.c, line 121
- contrib/netbsd-tests/net/icmp/t_ping.c, 2 times
- contrib/netbsd-tests/net/net/t_tcp.c, 2 times
- contrib/netcat/netcat.c, 2 times
- contrib/ngatm/sscop/common.c, 2 times
- contrib/ntp/lib/isc/unix/entropy.c, line 468
- contrib/ntp/lib/isc/unix/socket.c, line 1123
- contrib/ntp/libntp/iosignal.c, 3 times
- contrib/ntp/libntp/socket.c, 3 times
- contrib/ntp/libntp/work_thread.c, line 580
- contrib/ntp/ntpd/refclock_arc.c, line 663
- contrib/ntp/ntpd/refclock_datum.c, line 254
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 1878
- contrib/ntp/ntpdate/ntpdate.c, 2 times
- contrib/ntp/sntp/libevent/evutil.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, line 340
- contrib/ofed/librdmacm/examples/rstream.c, line 299
- contrib/ofed/librdmacm/examples/udpong.c, line 166
- contrib/ofed/librdmacm/preload.c, 4 times
- contrib/ofed/librdmacm/rsocket.c, 8 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 3 times
- contrib/openbsm/bin/auditdistd/proto_tls.c, 2 times
- contrib/openbsm/libbsm/bsm_fcntl.c, line 49
- contrib/pf/ftp-proxy/ftp-proxy.c, line 471
- contrib/pf/libevent/signal.c, line 103
- contrib/sendmail/libmilter/worker.c, line 246
- contrib/sendmail/libsm/local.h, 2 times
- contrib/sendmail/src/conf.c, line 3011
- contrib/sendmail/src/srvrsmtp.c, 2 times
- contrib/tcsh/sh.sem.c, 2 times
- contrib/tcsh/tc.func.c, 2 times
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tnftp/src/util.c, 2 times
- contrib/unbound/util/net_help.c, 2 times
- contrib/wpa/src/common/dpp.c, 5 times
- contrib/wpa/src/common/wpa_ctrl.c, line 237
- contrib/wpa/src/drivers/driver_nl80211_android.c, line 187
- contrib/wpa/src/wps/http_client.c, line 152
- contrib/wpa/src/wps/http_server.c, 2 times
- contrib/wpa/src/wps/wps_upnp_ssdp.c, 2 times
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- contrib/xz/src/xz/file_io.c, 6 times
- crypto/heimdal/lib/ipc/server.c, line 643
- crypto/openssh/misc.c, 2 times
- crypto/openssh/regress/netcat.c, 2 times
- crypto/openssl/crypto/bio/b_sock.c, 2 times
- crypto/openssl/crypto/bio/bss_dgram.c, 4 times
- crypto/openssl/engines/e_afalg.c, line 176
- gnu/usr.bin/grep/grep.c, line 998
- lib/libc/net/nscachedcli.c, line 216
- lib/libc/rpc/svc_vc.c, line 343
- lib/libc/stdio/freopen.c, line 110
- lib/libpam/modules/pam_exec/pam_exec.c, 3 times
- lib/libsysdecode/flags.c, line 1026
- lib/libtacplus/taclib.c, line 247
- lib/libusb/libusb10.c, line 115
- libexec/ftpd/ftpd.c, 2 times
- libexec/phttpget/phttpget.c, 2 times
- sbin/devd/devd.cc, line 919
- sbin/hastd/proto_tcp.c, 3 times
- sbin/init/init.c, line 600
- sbin/routed/main.c, 2 times
- sys/compat/cloudabi/cloudabi_fd.c, line 458
- sys/compat/freebsd32/freebsd32_misc.c, line 3711
- sys/compat/linux/linux_file.c, line 1451
- sys/contrib/openzfs/cmd/zed/zed_disk_event.c, line 372
- sys/kern/kern_descrip.c, 2 times
- sys/security/audit/bsm_fcntl.c, line 54
- sys/sys/capsicum.h, line 316
- tests/sys/fifo/fifo_io.c, 2 times
- tests/sys/file/fcntlflags_test.c, 2 times
- tests/sys/fs/fusefs/read.cc, line 664
- tests/sys/fs/fusefs/write.cc, 8 times
- tests/sys/kern/pipe/big_pipe_test.c, line 57
- tests/sys/kern/unix_passfd_test.c, line 423
- tests/sys/kern/unix_seqpacket_test.c, 3 times
- tools/regression/capsicum/syscalls/cap_fcntls_limit.c, 20 times
- tools/regression/netinet/msocket/msocket.c, line 365
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 140
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, 2 times
- tools/regression/netinet/udpzerobyte/udpzerobyte.c, line 74
- tools/regression/poll/sockpoll.c, line 70
- tools/regression/security/cap_test/cap_test_capabilities.c, 2 times
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, 2 times
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, line 217
- tools/regression/sockets/kqueue/kqueue.c, 8 times
- tools/regression/sockets/listenclose/listenclose.c, line 95
- tools/regression/sockets/unix_cmsg/uc_common.c, 2 times
- tools/regression/sockets/unix_gc/unix_gc.c, line 204
- tools/regression/sockets/zerosend/zerosend.c, line 147
- tools/tools/netrate/tcpconnect/tcpconnect.c, line 86
- tools/tools/netrate/tcpp/tcpp_client.c, line 103
- tools/tools/netrate/tcpp/tcpp_server.c, 2 times
- usr.bin/chat/chat.c, 3 times
- usr.bin/kdump/kdump.c, line 1059
- usr.bin/morse/morse.c, line 387
- usr.bin/tip/tip/tip.c, line 215
- usr.bin/wall/ttymsg.c, line 148
- usr.bin/whois/whois.c, line 465
- usr.sbin/apmd/apmd.c, line 683
- usr.sbin/bhyve/gdb.c, line 1855
- usr.sbin/bhyve/net_backends.c, line 500
- usr.sbin/bhyve/pci_virtio_console.c, line 323
- usr.sbin/bhyve/uart_emul.c, 2 times
- usr.sbin/bluetooth/bthidd/client.c, line 230
- usr.sbin/dconschat/dconschat.c, line 713
- usr.sbin/fdformat/fdformat.c, line 272
- usr.sbin/lpr/lpd/lpd.c, line 293
- usr.sbin/lpr/lpd/printjob.c, line 223
- usr.sbin/nscd/nscd.c, line 201
- usr.sbin/nscd/nscdcli.c, line 203
- usr.sbin/pmcstat/pmcstat.c, 2 times
- usr.sbin/ppp/exec.c, line 276
- usr.sbin/ppp/prompt.c, 4 times
- usr.sbin/ppp/tty.c, 3 times
- usr.sbin/rtadvd/control.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 3691
- usr.sbin/ypserv/yp_dnslookup.c, line 142