Defined in 3 files as a macro:
Referenced in 212 files:
- bin/cp/utils.c, 3 times
- bin/dd/dd.c, line 173
- bin/mv/mv.c, line 295
- bin/pax/ar_io.c, line 68
- bin/pax/file_subs.c, 2 times
- bin/sh/redir.c, line 215
- cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, line 354
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c, line 86
- cddl/contrib/opensolaris/cmd/ztest/ztest.c, line 875
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, line 1794
- cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h, line 542
- cddl/contrib/opensolaris/tools/ctf/cvt/output.c, line 746
- cddl/contrib/opensolaris/tools/ctf/dump/dump.c, line 1013
- cddl/usr.sbin/zfsd/case_file.cc, line 870
- contrib/apr-util/dbm/apr_dbm_berkeleydb.c, line 80
- contrib/apr-util/dbm/apr_dbm_ndbm.c, line 37
- contrib/apr/file_io/unix/open.c, line 130
- contrib/atf/atf-c++/macros_test.cpp, line 55
- contrib/atf/atf-c/detail/fs_test.c, line 64
- contrib/atf/atf-c/detail/process.c, line 349
- contrib/atf/atf-c/detail/process_test.c, 5 times
- contrib/atf/atf-c/macros_test.c, line 59
- contrib/atf/atf-c/tc.c, line 215
- contrib/atf/atf-c/utils.c, 3 times
- contrib/atf/test-programs/c_helpers.c, line 61
- contrib/binutils/binutils/rename.c, line 61
- contrib/binutils/binutils/resrc.c, line 260
- contrib/blacklist/bin/blacklistd.c, line 508
- contrib/blacklist/bin/state.c, line 81
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 317
- contrib/dma/spool.c, line 434
- contrib/dtc/util.c, line 306
- contrib/elftoolchain/elfcopy/main.c, line 587
- contrib/file/src/apprentice.c, line 3185
- contrib/file/src/compress.c, line 406
- contrib/gcc/mips-tfile.c, line 4835
- contrib/gcclibs/libiberty/pex-djgpp.c, line 98
- contrib/gcclibs/libiberty/pex-unix.c, line 324
- contrib/gdb/gdb/remote-fileio.c, line 127
- contrib/gdb/gdb/remote-rdp.c, 4 times
- contrib/gdb/gdb/uw-thread.c, line 255
- contrib/ipfilter/ip_fil.c, 2 times
- contrib/ipfilter/ipsd/ipsd.c, line 189
- contrib/ipfilter/tools/ipfs.c, 2 times
- contrib/ipfilter/tools/ipmon.c, line 1493
- contrib/libarchive/libarchive/archive_write_disk_posix.c, line 2192
- contrib/libarchive/libarchive/archive_write_open_filename.c, line 143
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, 2 times
- contrib/mandoc/catman.c, line 133
- contrib/netbsd-tests/dev/cgd/t_cgd_3des.c, line 700
- contrib/netbsd-tests/dev/cgd/t_cgd_aes.c, line 3101
- contrib/netbsd-tests/dev/cgd/t_cgd_blowfish.c, line 1936
- contrib/netbsd-tests/fs/union/t_pr.c, line 80
- contrib/netbsd-tests/fs/vfs/t_io.c, 2 times
- contrib/netbsd-tests/fs/vfs/t_mtime_otrunc.c, line 54
- contrib/netbsd-tests/fs/vfs/t_renamerace.c, line 51
- contrib/netbsd-tests/kernel/t_lockf.c, 2 times
- contrib/netbsd-tests/kernel/t_sysv.c, line 111
- contrib/netbsd-tests/lib/libc/db/h_db.c, line 133
- contrib/netbsd-tests/lib/libc/db/h_lfsr.c, line 77
- contrib/netbsd-tests/lib/libc/db/t_db_hash_seq.c, line 251
- contrib/netbsd-tests/lib/libposix/t_rename.c, line 57
- contrib/netbsd-tests/net/fdpass/fdpass.c, line 205
- contrib/ntp/lib/isc/unix/file.c, line 489
- contrib/ntp/lib/isc/win32/file.c, line 560
- contrib/ntp/ntpd/ntp_control.c, line 977
- contrib/ntp/ntpd/refclock_oncore.c, line 963
- contrib/nvi/common/exf.c, 2 times
- contrib/nvi/ex/ex_mkexrc.c, line 68
- contrib/ofed/librdmacm/examples/rcopy.c, line 258
- contrib/openbsm/compat/flopen.h, 2 times
- contrib/openbsm/compat/pidfile.h, 2 times
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/stdio.c, 3 times
- contrib/sendmail/libsmdb/smdb.c, line 335
- contrib/sendmail/libsmdb/smdb1.c, line 500
- contrib/sendmail/libsmdb/smdb2.c, 2 times
- contrib/sendmail/libsmdb/smndbm.c, line 550
- contrib/sendmail/libsmutil/safefile.c, 3 times
- contrib/sendmail/mailstats/mailstats.c, line 346
- contrib/sendmail/makemap/makemap.c, line 313
- contrib/sendmail/src/bf.c, line 548
- contrib/sendmail/src/map.c, 5 times
- contrib/sendmail/src/queue.c, 2 times
- contrib/sendmail/src/util.c, line 591
- contrib/sendmail/vacation/vacation.c, line 404
- contrib/tcpdump/tcpdump.c, 2 times
- contrib/tcsh/dotlock.c, line 80
- contrib/unbound/daemon/unbound.c, line 665
- contrib/zlib/gzlib.c, line 240
- crypto/heimdal/kadmin/load.c, line 388
- crypto/heimdal/kdc/hpropd.c, line 215
- crypto/heimdal/lib/hdb/db3.c, line 264
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 371
- crypto/heimdal/lib/kadm5/log.c, line 134
- crypto/heimdal/lib/krb5/log.c, line 317
- crypto/heimdal/lib/krb5/test_store.c, 2 times
- crypto/heimdal/lib/roken/dumpdata.c, line 47
- crypto/heimdal/lib/roken/ndbm_wrap.c, line 171
- crypto/openssh/authfile.c, line 60
- crypto/openssh/sftp-client.c, line 1233
- crypto/openssh/sftp-server.c, 2 times
- crypto/openssh/ssh-keygen.c, 4 times
- crypto/openssl/apps/apps.c, 2 times
- lib/geom/eli/geom_eli.c, 2 times
- lib/libc/compat-43/creat.c, line 55
- lib/libc/db/db/db.c, line 60
- lib/libc/db/test/dbtest.c, line 117
- lib/libc/db/test/hash.tests/tcreat3.c, line 75
- lib/libc/gen/pututxline.c, line 186
- lib/libc/gmon/gmon.c, 2 times
- lib/libc/stdio/flags.c, line 69
- lib/libc/stdio/freopen.c, line 118
- lib/libc/tests/gen/dlopen_empty_test.c, line 70
- lib/libpmcstat/libpmcstat_logging.c, line 511
- lib/libprocstat/libprocstat.c, line 1619
- lib/libutil/flopen.c, 2 times
- lib/libutil/pidfile.c, line 152
- lib/libutil/quotafile.c, 2 times
- lib/libutil/uucplock.c, line 78
- libexec/tftpd/tftpd.c, 2 times
- sbin/gbde/gbde.c, line 430
- sbin/newfs_msdos/mkfs_msdos.c, line 267
- sbin/nvmecontrol/wdc.c, line 113
- sbin/reboot/reboot.c, line 141
- sbin/restore/dirs.c, line 687
- sbin/restore/tape.c, line 708
- sbin/savecore/savecore.c, 2 times
- sbin/shutdown/shutdown.c, line 557
- stand/liblua/lstd.c, line 53
- stand/usb/tools/sysinit.c, line 207
- sys/cddl/compat/opensolaris/sys/vnode.h, line 148
- sys/compat/cloudabi/cloudabi_file.c, 3 times
- sys/compat/linux/linux_file.c, 2 times
- sys/compat/linux/linux_misc.c, 2 times
- sys/contrib/octeon-sdk/cvmx-app-init-linux.c, 2 times
- sys/contrib/zstd/zlibWrapper/gzlib.c, line 240
- sys/dev/fb/vga.c, line 117
- sys/dev/nand/nandsim_swap.c, line 152
- sys/dev/tcp_log/tcp_log_dev.c, line 204
- sys/fs/unionfs/union_subr.c, line 903
- sys/fs/unionfs/union_vnops.c, line 503
- sys/i386/ibcs2/ibcs2_fcntl.c, 4 times
- sys/kern/kern_descrip.c, line 3418
- sys/kern/uipc_shm.c, 3 times
- sys/kern/vfs_syscalls.c, 5 times
- sys/kern/vfs_vnops.c, 2 times
- sys/security/audit/audit_bsm_klib.c, 14 times
- tests/sys/audit/inter-process.c, 3 times
- tests/sys/audit/open.c, 6 times
- tests/sys/cddl/zfs/bin/file_trunc.c, line 82
- tests/sys/cddl/zfs/bin/mkfile.c, line 49
- tests/sys/cddl/zfs/bin/mmapwrite.c, line 81
- tests/sys/cddl/zfs/bin/randfree_file.c, line 81
- tests/sys/cddl/zfs/bin/readmmap.c, line 77
- tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c, line 133
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 109
- tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c, line 436
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, line 501
- tests/sys/posixshm/posixshm_test.c, line 330
- tests/sys/vfs/lookup_cap_dotdot.c, line 50
- tools/regression/fsx/fsx.c, 2 times
- tools/regression/security/cap_test/cap_test_capabilities.c, 6 times
- tools/regression/security/open_to_operation/open_to_operation.c, 3 times
- tools/regression/sockets/sendfile/sendfile.c, line 472
- tools/regression/ufs/uprintf/ufs_uprintf.c, 3 times
- tools/test/upsdl/upsdl.c, line 55
- tools/tools/intel-ucode-split/intel-ucode-split.c, line 188
- tools/tools/pciroms/pciroms.c, line 320
- usr.bin/bsdiff/bspatch/bspatch.c, line 142
- usr.bin/cap_mkdb/cap_mkdb.c, line 124
- usr.bin/chkey/chkey.c, line 200
- usr.bin/dtc/dtc.cc, 2 times
- usr.bin/gcore/gcore.c, line 145
- usr.bin/gencat/gencat.c, line 178
- usr.bin/mail/main.c, line 100
- usr.bin/mail/quit.c, line 233
- usr.bin/mail/v7.local.c, line 76
- usr.bin/mkimg/mkimg.c, line 600
- usr.bin/mkuzip/mkuzip.c, line 242
- usr.bin/patch/util.c, line 170
- usr.bin/script/script.c, line 169
- usr.bin/sed/compile.c, 2 times
- usr.bin/sed/process.c, 2 times
- usr.bin/tee/tee.c, line 106
- usr.bin/truss/syscalls.c, line 750
- usr.bin/unzip/unzip.c, line 646
- usr.bin/xinstall/xinstall.c, line 1189
- usr.sbin/acpi/acpidb/acpidb.c, line 429
- usr.sbin/acpi/acpidump/acpi.c, line 1857
- usr.sbin/boot0cfg/boot0cfg.c, line 203
- usr.sbin/btxld/btxld.c, line 257
- usr.sbin/ctm/ctm/ctm_pass3.c, line 181
- usr.sbin/cxgbetool/cxgbetool.c, line 2054
- usr.sbin/extattrctl/extattrctl.c, line 99
- usr.sbin/fifolog/lib/fifolog_create.c, line 56
- usr.sbin/fwcontrol/fwdv.c, line 113
- usr.sbin/fwcontrol/fwmpegts.c, line 170
- usr.sbin/keyserv/keyserv.c, line 324
- usr.sbin/kgzip/kgzcmp.c, line 68
- usr.sbin/lpr/common_source/ctlinfo.c, line 487
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/makefs/ffs.c, line 493
- usr.sbin/mpsutil/mps_flash.c, line 92
- usr.sbin/pmc/cmd_pmc_filter.cc, line 354
- usr.sbin/portsnap/phttpget/phttpget.c, line 600
- usr.sbin/ppp/ipcp.c, line 340
- usr.sbin/pw/pw_conf.c, line 425
- usr.sbin/sa/db.c, line 157
- usr.sbin/tzsetup/tzsetup.c, line 1033
- usr.sbin/usbdump/usbdump.c, 2 times
- usr.sbin/ypbind/ypbind.c, 4 times