Defined in 2 files as a macro:
Referenced in 154 files:
- bin/sh/input.c, line 173
- bin/sh/redir.c, 2 times
- bin/sh/show.c, line 406
- cddl/usr.sbin/zfsd/zfsd.cc, 2 times
- contrib/amd/amd/info_exec.c, line 246
- contrib/amd/amd/rpc_fwd.c, line 185
- contrib/apr/file_io/unix/pipe.c, 2 times
- contrib/apr/network_io/unix/sockopt.c, 2 times
- contrib/blacklist/lib/bl.c, line 164
- contrib/blacklist/port/popenve.c, 2 times
- contrib/bmake/job.c, line 471
- contrib/bsnmp/lib/snmpclient.c, 2 times
- contrib/ee/new_curse.c, 2 times
- contrib/file/src/magic.c, line 478
- 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/lsock.c, line 210
- contrib/ipfilter/ipsend/sock.c, line 410
- 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/libevent/evutil.c, 2 times
- contrib/libpcap/pcap-linux.c, 3 times
- contrib/libpcap/pcap.c, line 3224
- contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp, line 153
- contrib/llvm/tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 279
- contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 197
- contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp, line 55
- 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 344
- 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 2946
- 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/wpa_ctrl.c, line 223
- 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 179
- gnu/usr.bin/grep/grep.c, line 998
- lib/libc/net/nscachedcli.c, line 218
- lib/libc/rpc/svc_vc.c, line 343
- lib/libc/stdio/freopen.c, line 110
- lib/libedit/read.c, 2 times
- lib/libedit/readline.c, 3 times
- lib/libpam/modules/pam_exec/pam_exec.c, 3 times
- lib/libsysdecode/flags.c, line 1016
- lib/libtacplus/taclib.c, line 247
- lib/libusb/libusb10.c, line 114
- libexec/ftpd/ftpd.c, 2 times
- release/picobsd/tinyware/view/view.c, line 571
- sbin/devd/devd.cc, line 920
- sbin/hastd/proto_tcp.c, 3 times
- sbin/init/init.c, line 618
- sbin/routed/main.c, 2 times
- sys/compat/cloudabi/cloudabi_fd.c, line 456
- sys/compat/freebsd32/freebsd32_misc.c, line 3441
- sys/compat/linux/linux_file.c, line 1361
- sys/i386/ibcs2/ibcs2_fcntl.c, line 280
- sys/kern/kern_descrip.c, 2 times
- sys/security/audit/bsm_fcntl.c, line 54
- sys/sys/capsicum.h, line 311
- tests/sys/fifo/fifo_io.c, 2 times
- tests/sys/file/fcntlflags_test.c, 2 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 1058
- usr.bin/morse/morse.c, line 387
- usr.bin/tip/tip/tip.c, line 214
- usr.bin/wall/ttymsg.c, line 148
- usr.bin/whois/whois.c, line 464
- usr.sbin/apmd/apmd.c, line 683
- usr.sbin/bhyve/gdb.c, line 1306
- usr.sbin/bhyve/pci_virtio_console.c, line 319
- usr.sbin/bhyve/uart_emul.c, line 681
- 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 206
- usr.sbin/pmcstat/pmcstat.c, 2 times
- usr.sbin/portsnap/phttpget/phttpget.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 3288
- usr.sbin/ypserv/yp_dnslookup.c, line 142