Defined in 4 files as a macro:
Referenced in 120 files:
- bin/ksh/exec.c, 4 times
- bin/sh/input.c, line 548
- bin/sh/redir.c, 7 times
- crypto/dist/ipsec-tools/src/racoon/misc.c, line 133
- crypto/external/bsd/heimdal/dist/lib/roken/cloexec.c, line 49
- crypto/external/bsd/openssh/dist/authfd.c, line 106
- crypto/external/bsd/openssh/dist/channels.c, 3 times
- crypto/external/bsd/openssh/dist/monitor.c, line 1764
- crypto/external/bsd/openssh/dist/sshconnect.c, line 384
- crypto/external/bsd/openssh/dist/sshconnect2.c, line 2124
- crypto/external/bsd/openssh/dist/sshd.c, 3 times
- distrib/utils/libhack/opendir.c, line 71
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-death-test.cc, 3 times
- external/apache2/mDNSResponder/nss/nss_mdnsd.c, line 1144
- external/bsd/blocklist/lib/bl.c, line 161
- external/bsd/blocklist/port/popenve.c, 2 times
- external/bsd/cron/dist/misc.c, 2 times
- external/bsd/dhcpcd/dist/src/bpf.c, line 193
- external/bsd/dhcpcd/dist/src/control.c, line 297
- external/bsd/dhcpcd/dist/src/eloop.c, line 755
- external/bsd/dhcpcd/dist/src/if.c, 3 times
- external/bsd/file/dist/src/funcs.c, 5 times
- external/bsd/file/dist/src/magic.c, 2 times
- external/bsd/jemalloc/dist/src/pages.c, 3 times
- external/bsd/libarchive/dist/libarchive/archive_util.c, line 531
- external/bsd/libbind/dist/irs/lcl_gr.c, line 225
- external/bsd/libbind/dist/irs/lcl_ho.c, line 440
- external/bsd/libbind/dist/irs/lcl_nw.c, line 215
- external/bsd/libbind/dist/irs/lcl_pr.c, line 193
- external/bsd/libbind/dist/irs/lcl_sv.c, 2 times
- external/bsd/libbind/dist/isc/ctl_srvr.c, 2 times
- external/bsd/libevent/dist/evutil.c, 3 times
- external/bsd/nsd/dist/popen3.c, 2 times
- external/bsd/nsd/dist/server.c, 3 times
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 3 times
- external/bsd/nvi/dist/common/exf.c, line 1463
- external/bsd/openldap/dist/libraries/libldap/os-ip.c, line 109
- external/bsd/openldap/dist/libraries/libldap/os-local.c, line 88
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, line 4304
- external/bsd/openldap/dist/servers/slapd/syslog.c, line 184
- external/bsd/ppp/dist/pppd/main.c, 2 times
- external/bsd/ppp/dist/pppd/tty.c, 2 times
- external/bsd/tmux/dist/tty.c, line 96
- external/bsd/unbound/dist/compat/arc4random.c, line 115
- external/bsd/unbound/dist/compat/getentropy_linux.c, line 236
- external/bsd/unbound/dist/compat/getentropy_osx.c, line 168
- external/bsd/unbound/dist/compat/getentropy_solaris.c, line 196
- external/bsd/wpa/dist/src/utils/wpa_debug.c, line 574
- external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c, 2 times
- external/cddl/osnet/dist/lib/libzpool/common/kernel.c, line 524
- external/gpl2/gmake/dist/getloadavg.c, 2 times
- external/gpl2/gmake/dist/job.c, 3 times
- external/gpl2/gmake/dist/job.h, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-gulm.c, line 128
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-openais.c, line 239
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, line 1942
- external/gpl2/lvm2/dist/daemons/clvmd/tcp-comms.c, 2 times
- external/gpl2/xcvs/dist/src/run.c, 2 times
- external/gpl3/binutils.old/dist/bfd/bfdio.c, line 78
- external/gpl3/binutils.old/dist/gold/descriptors.cc, 2 times
- external/gpl3/binutils.old/dist/libiberty/pex-unix.c, 6 times
- external/gpl3/binutils/dist/bfd/bfdio.c, line 83
- external/gpl3/binutils/dist/gold/descriptors.cc, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/iotrace.c, line 1223
- external/gpl3/binutils/dist/libiberty/pex-unix.c, 6 times
- external/gpl3/gcc.old/dist/libbacktrace/posix.c, line 82
- external/gpl3/gcc.old/dist/libgfortran/io/unix.c, 2 times
- external/gpl3/gcc.old/dist/libiberty/pex-unix.c, 6 times
- external/gpl3/gcc/dist/libbacktrace/posix.c, line 82
- external/gpl3/gcc/dist/libgfortran/io/unix.c, 2 times
- external/gpl3/gcc/dist/libiberty/pex-unix.c, 6 times
- external/gpl3/gdb.old/dist/bfd/bfdio.c, line 82
- external/gpl3/gdb.old/dist/gdbsupport/filestuff.cc, line 270
- external/gpl3/gdb.old/dist/gnulib/import/cloexec.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/fcntl.c, 5 times
- external/gpl3/gdb.old/dist/gold/descriptors.cc, 2 times
- external/gpl3/gdb.old/dist/libiberty/pex-unix.c, 6 times
- external/gpl3/gdb/dist/bfd/bfdio.c, line 82
- external/gpl3/gdb/dist/gdbsupport/filestuff.cc, line 270
- external/gpl3/gdb/dist/gnulib/import/cloexec.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/fcntl.c, 5 times
- external/gpl3/gdb/dist/gold/descriptors.cc, 2 times
- external/gpl3/gdb/dist/libiberty/pex-unix.c, 6 times
- external/historical/nawk/dist/run.c, line 1899
- external/ibm-public/postfix/dist/src/util/close_on_exec.c, line 59
- external/ibm-public/postfix/dist/src/util/dup2_pass_on_exec.c, line 45
- external/mit/libuv/dist/src/unix/core.c, line 665
- external/mpl/dhcp/dist/common/discover.c, 6 times
- external/mpl/dhcp/dist/common/icmp.c, line 103
- external/mpl/dhcp/dist/includes/osdep.h, line 212
- external/mpl/dhcp/dist/omapip/connection.c, 2 times
- external/mpl/dhcp/dist/omapip/listener.c, line 135
- external/mpl/dhcp/dist/omapip/trace.c, 2 times
- external/public-domain/sqlite/dist/sqlite3.c, line 33068
- games/atc/log.c, line 141
- games/cribbage/crib.c, line 96
- lib/libc/db/db/dbfile.c, 2 times
- lib/libc/gen/opendir.c, line 108
- lib/libc/resolv/res_send.c, 2 times
- lib/libc/rpc/clnt_simple.c, line 196
- lib/libc/yp/yplib.c, line 270
- libexec/atrun/atrun.c, line 239
- sys/compat/linux/common/linux_file.c, line 306
- sys/external/bsd/libnv/dist/msgio.c, line 113
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c, 2 times
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c, 2 times
- sys/kern/sys_descrip.c, line 424
- tests/kernel/h_fexecve.c, line 46
- tests/lib/libc/sys/t_eventfd.c, 2 times
- tests/lib/libc/sys/t_timerfd.c, 2 times
- tests/lib/librumpclient/h_exec.c, line 103
- tests/lib/librumpclient/h_execthr.c, 2 times
- usr.bin/chpass/chpass.c, 3 times
- usr.bin/ftp/ssl.c, line 269
- usr.bin/kdump/kdump.c, line 559
- usr.bin/make/job.c, 9 times
- usr.bin/make/meta.c, 4 times
- usr.sbin/faithd/tcp.c, line 208
- usr.sbin/inetd/inetd.c, 2 times
- usr.sbin/powerd/powerd.c, line 136