Defined in 7 files as a macro:
Referenced in 112 files:
- bin/sh/redir.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/roken/cloexec.c, line 46
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-death-test.cc, line 1337
- external/bsd/dhcpcd/dist/src/bpf.c, line 192
- external/bsd/dhcpcd/dist/src/control.c, line 296
- external/bsd/dhcpcd/dist/src/dhcpcd.c, 3 times
- external/bsd/dhcpcd/dist/src/eloop.c, line 753
- external/bsd/dhcpcd/dist/src/if.c, 3 times
- external/bsd/jemalloc/dist/src/pages.c, 3 times
- external/bsd/libarchive/dist/libarchive/archive_util.c, line 529
- external/bsd/libevent/dist/evutil.c, line 427
- external/bsd/ntp/dist/sntp/libevent/evutil.c, line 405
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, line 4303
- external/bsd/ppp/dist/pppd/main.c, 2 times
- 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/gpl2/lvm2/dist/tools/lvmcmdline.c, line 1129
- external/gpl3/binutils.old/dist/bfd/bfdio.c, 2 times
- external/gpl3/binutils.old/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/binutils.old/dist/libiberty/pex-unix.c, line 382
- external/gpl3/binutils/dist/bfd/bfdio.c, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/iotrace.c, line 1237
- external/gpl3/binutils/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/binutils/dist/libiberty/pex-unix.c, line 382
- external/gpl3/gcc.old/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/gcc.old/dist/libiberty/pex-unix.c, line 382
- external/gpl3/gcc/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/gcc/dist/libiberty/pex-unix.c, line 382
- external/gpl3/gdb.old/dist/bfd/bfdio.c, 2 times
- external/gpl3/gdb.old/dist/gdbsupport/filestuff.cc, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/cloexec.c, line 43
- external/gpl3/gdb.old/dist/gnulib/import/fcntl.c, 6 times
- external/gpl3/gdb.old/dist/gnulib/import/fcntl.in.h, 2 times
- external/gpl3/gdb.old/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/gdb.old/dist/libiberty/pex-unix.c, line 382
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/dist/bfd/bfdio.c, 2 times
- external/gpl3/gdb/dist/gdbsupport/filestuff.cc, 2 times
- external/gpl3/gdb/dist/gnulib/import/cloexec.c, line 43
- external/gpl3/gdb/dist/gnulib/import/fcntl.c, 6 times
- external/gpl3/gdb/dist/gnulib/import/fcntl.in.h, 2 times
- external/gpl3/gdb/dist/libiberty/filedescriptor.c, 2 times
- external/gpl3/gdb/dist/libiberty/pex-unix.c, line 382
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/fcntl.h, line 695
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fcntl.h, line 695
- external/ibm-public/postfix/dist/src/util/close_on_exec.c, line 57
- external/ibm-public/postfix/dist/src/util/dup2_pass_on_exec.c, line 51
- external/public-domain/sqlite/dist/sqlite3.c, line 33068
- external/public-domain/xz/dist/src/common/tuklib_open_stdxxx.c, line 33
- games/atc/log.c, line 137
- games/cribbage/crib.c, line 92
- libexec/atrun/atrun.c, line 236
- sys/compat/linux/common/linux_file.c, line 302
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c, line 232
- sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c, line 191
- sys/kern/sys_descrip.c, line 419
- tests/lib/libc/sys/t_eventfd.c, 4 times
- tests/lib/libc/sys/t_pipe2.c, 4 times
- tests/lib/libc/sys/t_socketpair.c, 4 times
- tests/lib/libc/sys/t_timerfd.c, 4 times
- tests/lib/libc/ttyio/t_ptm.c, line 189
- usr.bin/kdump/kdump.c, line 558
- usr.bin/make/main.c, 2 times