Defined in 2 files as a macro:
Referenced in 121 files:
- bin/dd/dd.c, line 179
- bin/sh/input.c, line 168
- bin/sh/redir.c, line 280
- bin/sh/show.c, line 405
- contrib/apr/file_io/unix/pipe.c, 2 times
- contrib/apr/network_io/unix/sockopt.c, 2 times
- contrib/binutils/bfd/opncls.c, 3 times
- contrib/blacklist/lib/bl.c, line 164
- contrib/blacklist/port/popenve.c, 2 times
- contrib/bmake/job.c, line 541
- contrib/bsnmp/lib/snmpclient.c, line 1404
- contrib/capsicum-test/capability-fd.cc, line 557
- contrib/capsicum-test/fcntl.cc, 9 times
- contrib/dialog/ui_getc.c, line 334
- contrib/ee/new_curse.c, line 2279
- contrib/gdb/gdb/gdbserver/remote-utils.c, line 166
- contrib/gdb/gdb/inflow.c, 6 times
- contrib/ipfilter/l4check/l4check.c, line 298
- contrib/ipfilter/samples/relay.c, 3 times
- contrib/ldns/net.c, 2 times
- contrib/libedit/read.c, line 170
- contrib/libedit/readline.c, line 2210
- contrib/libevent/evutil.c, line 326
- contrib/libpcap/pcap-linux.c, line 7408
- contrib/libpcap/pcap.c, 2 times
- contrib/llvm-project/lldb/source/Host/common/Terminal.cpp, line 112
- contrib/llvm-project/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, 2 times
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 179
- contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp, line 42
- contrib/netbsd-tests/kernel/t_pty.c, line 179
- contrib/netbsd-tests/lib/libc/sys/t_pipe2.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_socketpair.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 344
- contrib/netbsd-tests/lib/librumpclient/t_fd.c, line 120
- contrib/netbsd-tests/net/icmp/t_ping.c, line 155
- contrib/netbsd-tests/net/net/t_tcp.c, 3 times
- contrib/netcat/netcat.c, line 727
- contrib/ngatm/sscop/common.c, line 269
- contrib/ntp/lib/isc/unix/entropy.c, line 466
- contrib/ntp/lib/isc/unix/socket.c, line 1121
- contrib/ntp/libntp/iosignal.c, line 235
- contrib/ntp/libntp/work_thread.c, line 575
- contrib/ntp/ntpd/ntp_io.c, line 3109
- contrib/ntp/sntp/libevent/evutil.c, line 322
- contrib/ofed/librdmacm/preload.c, 3 times
- contrib/ofed/librdmacm/rsocket.c, line 3724
- contrib/openbsm/bin/auditdistd/proto_common.c, line 56
- contrib/openbsm/bin/auditdistd/proto_tcp.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tls.c, 2 times
- contrib/openbsm/libbsm/bsm_fcntl.c, line 48
- contrib/pf/ftp-proxy/ftp-proxy.c, line 470
- contrib/sendmail/libmilter/worker.c, line 238
- contrib/sendmail/libsm/local.h, 2 times
- contrib/sendmail/libsm/mpeix.c, line 234
- contrib/sendmail/libsm/stdio.c, line 439
- contrib/sendmail/libsmdb/smdb.c, 2 times
- contrib/sendmail/src/conf.c, 2 times
- contrib/sendmail/src/srvrsmtp.c, 3 times
- contrib/sendmail/src/util.c, line 1829
- contrib/tcsh/sh.sem.c, 2 times
- contrib/tcsh/tc.func.c, line 1715
- contrib/tnftp/src/ftp.c, line 1663
- contrib/tnftp/src/util.c, line 1384
- contrib/unbound/util/net_help.c, 2 times
- contrib/wpa/src/common/wpa_ctrl.c, line 234
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 2 times
- contrib/xz/src/xz/file_io.c, 3 times
- crypto/heimdal/lib/ipc/server.c, line 642
- crypto/openssh/misc.c, 3 times
- crypto/openssh/regress/netcat.c, line 674
- crypto/openssl/crypto/bio/b_sock.c, 2 times
- crypto/openssl/crypto/bio/bss_dgram.c, 2 times
- gnu/usr.bin/grep/grep.c, line 996
- lib/libc/rpc/svc_vc.c, line 340
- lib/libc/stdio/fdopen.c, line 73
- lib/libc/stdio/freopen.c, line 90
- lib/libc/tests/stdio/fopen_test.c, line 58
- lib/libc/tests/stdio/mkostemp_test.c, line 80
- lib/libcasper/libcasper/libcasper_impl.c, line 45
- lib/libnv/tests/cnv_tests.cc, line 40
- lib/libnv/tests/nv_array_tests.cc, line 45
- lib/libnv/tests/nvlist_get_test.c, line 49
- lib/libnv/tests/nvlist_send_recv_test.c, line 51
- lib/libsysdecode/flags.c, line 1008
- lib/libtacplus/taclib.c, line 246
- lib/libusb/libusb10.c, line 111
- libexec/ftpd/ftpd.c, 2 times
- libexec/phttpget/phttpget.c, line 397
- sbin/hastd/proto_common.c, line 59
- sbin/hastd/proto_tcp.c, 2 times
- sbin/init/init.c, line 600
- sys/compat/linux/linux_file.c, line 1406
- sys/contrib/openzfs/cmd/zed/zed_disk_event.c, line 371
- sys/kern/kern_descrip.c, 2 times
- sys/security/audit/bsm_fcntl.c, line 53
- sys/sys/capsicum.h, line 315
- tests/sys/audit/file-attribute-modify.c, 2 times
- tests/sys/fifo/fifo_io.c, 2 times
- tests/sys/file/fcntlflags_test.c, 3 times
- tests/sys/kern/pipe/big_pipe_test.c, line 56
- tools/regression/capsicum/syscalls/cap_fcntls_limit.c, 26 times
- tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c, 2 times
- tools/regression/poll/sockpoll.c, line 67
- tools/regression/security/cap_test/cap_test_capabilities.c, 2 times
- tools/regression/security/cap_test/cap_test_fcntl.c, 3 times
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, 4 times
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, line 213
- tools/regression/sockets/unix_cmsg/uc_common.c, 2 times
- usr.bin/chat/chat.c, 3 times
- usr.bin/morse/morse.c, line 385
- usr.bin/tip/tip/tip.c, line 210
- usr.bin/whois/whois.c, line 462
- usr.sbin/bhyve/gdb.c, line 1854
- usr.sbin/bhyve/net_backends.c, line 493
- usr.sbin/bluetooth/bthidd/client.c, line 224
- usr.sbin/dconschat/dconschat.c, line 711
- usr.sbin/fdformat/fdformat.c, line 269
- usr.sbin/ppp/exec.c, line 273
- usr.sbin/ppp/prompt.c, 4 times
- usr.sbin/ppp/tty.c, 3 times
- usr.sbin/rtadvd/control.c, 2 times