Defined in 4 files as a macro:
Referenced in 148 files:
- bin/mv/mv.c, line 295
- bin/pax/file_subs.c, line 95
- bin/sh/redir.c, line 197
- cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, line 495
- contrib/apr/file_io/unix/open.c, line 119
- contrib/apr/locks/unix/proc_mutex.c, 2 times
- contrib/apr/shmem/unix/shm.c, line 323
- contrib/binutils/binutils/bucomm.c, line 454
- contrib/binutils/libiberty/mkstemps.c, line 126
- contrib/blacklist/bin/blacklistd.c, line 430
- contrib/blacklist/bin/state.c, line 80
- contrib/byacc/main.c, line 603
- contrib/bzip2/bzip2.c, line 965
- contrib/dma/spool.c, line 128
- contrib/file/src/compress.c, line 456
- contrib/gdb/gdb/remote-fileio.c, line 125
- contrib/ipfilter/ip_fil.c, 2 times
- contrib/lib9p/backend/fs.c, 2 times
- contrib/libarchive/libarchive/archive_util.c, line 523
- contrib/libarchive/libarchive/archive_write_disk_posix.c, line 2357
- contrib/libarchive/libarchive/test/test_acl_platform_posix1e.c, 2 times
- contrib/llvm-project/compiler-rt/lib/profile/GCDAProfiling.c, 2 times
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp, line 177
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 750
- contrib/llvm-project/lldb/source/Host/common/FileSystem.cpp, line 389
- contrib/ncurses/ncurses/trace/lib_trace.c, line 122
- contrib/netbsd-tests/fs/ffs/h_quota2_tests.c, 4 times
- contrib/netbsd-tests/fs/vfs/t_vnops.c, 4 times
- contrib/netbsd-tests/kernel/t_lockf.c, 2 times
- contrib/netbsd-tests/kernel/t_sysv.c, line 179
- contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c, line 64
- contrib/netbsd-tests/lib/libpthread/t_sem.c, line 129
- contrib/netbsd-tests/lib/librt/t_sem.c, 2 times
- contrib/netbsd-tests/lib/semaphore/sem.c, line 257
- contrib/ntp/lib/isc/unix/file.c, 2 times
- contrib/ntp/lib/isc/win32/file.c, 2 times
- contrib/ntp/ntpd/ntp_control.c, 2 times
- contrib/ntp/ntpd/refclock_acts.c, line 498
- contrib/ntp/ntpd/refclock_true.c, line 241
- contrib/ntp/sntp/libopts/text_mmap.c, line 195
- contrib/nvi/common/exf.c, line 1135
- contrib/ofed/libibnetdisc/ibnetdisc_cache.c, line 921
- contrib/openbsm/bin/auditdistd/receiver.c, line 334
- contrib/openbsm/test/bsm/generate.c, line 73
- contrib/opie/libopie/lock.c, line 151
- contrib/pf/pflogd/privsep.c, line 212
- contrib/pjdfstest/pjdfstest.c, 3 times
- contrib/sendmail/libsmdb/smcdb.c, line 479
- contrib/sendmail/libsmdb/smdb1.c, line 499
- contrib/sendmail/libsmdb/smdb2.c, line 628
- contrib/sendmail/libsmdb/smndbm.c, line 550
- contrib/sendmail/libsmutil/safefile.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, 3 times
- contrib/sendmail/src/bf.c, line 711
- contrib/sendmail/src/conf.c, line 5756
- contrib/sendmail/src/deliver.c, line 5777
- contrib/sendmail/src/map.c, 5 times
- contrib/sendmail/src/queue.c, 3 times
- contrib/sendmail/test/t_exclopen.c, line 87
- contrib/sqlite3/sqlite3.c, 2 times
- contrib/tcsh/dotlock.c, line 79
- contrib/tcsh/sh.dol.c, line 971
- contrib/tcsh/tc.os.h, line 366
- contrib/xz/src/xz/file_io.c, line 890
- crypto/heimdal/lib/hdb/db3.c, line 258
- crypto/heimdal/lib/krb5/fcache.c, 2 times
- crypto/heimdal/lib/krb5/keytab_file.c, line 554
- crypto/heimdal/lib/krb5/keytab_keyfile.c, line 336
- crypto/heimdal/lib/roken/mkstemp.c, line 64
- crypto/heimdal/lib/roken/ndbm_wrap.c, line 165
- crypto/heimdal/lib/roken/socket_wrapper.c, line 910
- crypto/openssh/openbsd-compat/mktemp.c, line 82
- crypto/openssh/sftp-server.c, line 236
- crypto/openssh/sshkey-xmss.c, line 616
- lib/libc/db/db/db.c, line 59
- lib/libc/gen/sem_new.c, 3 times
- lib/libc/stdio/flags.c, 2 times
- lib/libc/stdio/mktemp.c, line 179
- lib/libprocstat/libprocstat.c, line 1643
- libexec/atrun/atrun.c, line 261
- libexec/ftpd/ftpd.c, line 3160
- libexec/tftpd/tftpd.c, line 669
- libexec/ypxfr/yp_dbwrite.c, line 70
- sbin/decryptcore/decryptcore.c, line 401
- sbin/init/init.c, line 700
- sbin/restore/dirs.c, 2 times
- sys/compat/cloudabi/cloudabi_file.c, line 235
- sys/compat/linux/linux_file.c, line 160
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 898
- sys/contrib/openzfs/cmd/zpool/os/linux/zpool_vdev_os.c, line 328
- sys/contrib/openzfs/cmd/zpool/zpool_vdev.c, 2 times
- sys/contrib/openzfs/include/os/freebsd/spl/sys/vnode.h, line 129
- sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/file.h, line 36
- sys/contrib/openzfs/lib/libuutil/uu_open.c, line 58
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, line 1027
- sys/contrib/openzfs/lib/libzfs/os/linux/libzfs_pool_os.c, line 244
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1327
- sys/contrib/openzfs/module/os/linux/zfs/zfs_file_os.c, line 49
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkfiles/mkfiles.c, line 54
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/tmpfile_003_pos.c, line 46
- sys/contrib/zlib/gzlib.c, 4 times
- sys/contrib/zstd/zlibWrapper/gzlib.c, 4 times
- sys/dev/drm2/drm_fops.c, line 186
- sys/dev/sound/pcm/dsp.c, 2 times
- sys/fs/nfsclient/nfs_clrpcops.c, 3 times
- sys/fs/nfsclient/nfs_clvnops.c, 4 times
- sys/fs/unionfs/union_subr.c, line 913
- sys/geom/geom_dev.c, 2 times
- sys/kern/kern_descrip.c, line 3876
- sys/kern/kern_sig.c, line 3691
- sys/kern/uipc_mqueue.c, 2 times
- sys/kern/uipc_sem.c, 4 times
- sys/kern/uipc_shm.c, 3 times
- sys/kern/vfs_vnops.c, 5 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c, line 790
- tests/sys/fs/fusefs/access.cc, line 143
- tests/sys/fs/fusefs/create.cc, 10 times
- tests/sys/fs/fusefs/default_permissions.cc, 2 times
- tests/sys/fs/fusefs/open.cc, line 242
- tests/sys/mqueue/mqtest1.c, line 26
- tests/sys/mqueue/mqtest2.c, line 40
- tests/sys/mqueue/mqtest3.c, line 42
- tests/sys/mqueue/mqtest4.c, line 43
- tests/sys/mqueue/mqtest5.c, line 53
- tests/sys/net/routing/rtsock_common.h, line 194
- tests/sys/posixshm/posixshm_test.c, 4 times
- tools/regression/posixsem/posixsem.c, 2 times
- tools/regression/posixsem2/semtest.c, 2 times
- tools/regression/security/access/testaccess.c, line 89
- usr.bin/gzip/gzip.c, 2 times
- usr.bin/ktrace/ktrace.c, line 162
- usr.bin/msgs/msgs.c, line 789
- usr.bin/patch/inp.c, line 295
- usr.bin/tip/tip/uucplock.c, line 72
- usr.bin/truss/syscalls.c, line 774
- usr.bin/uudecode/uudecode.c, 2 times
- usr.sbin/crunch/crunchgen/crunchgen.c, line 739
- usr.sbin/cxgbetool/cxgbetool.c, line 2062
- usr.sbin/extattrctl/extattrctl.c, 2 times
- usr.sbin/fifolog/lib/fifolog_create.c, line 56
- usr.sbin/ipfwpcap/ipfwpcap.c, line 99
- usr.sbin/lpr/lpd/recvjob.c, line 265
- usr.sbin/lpr/lpr/lpr.c, line 644
- usr.sbin/pw/cpdir.c, line 106
- usr.sbin/pwd_mkdb/pwd_mkdb.c, 6 times
- usr.sbin/services_mkdb/services_mkdb.c, line 145
- usr.sbin/tzsetup/tzsetup.c, line 769
- usr.sbin/yp_mkdb/yp_mkdb.c, line 195