Defined in 6 files as a macro:
Referenced in 303 files:
- bin/cat/cat.c, line 387
- bin/cp/utils.c, 3 times
- bin/dd/dd.c, line 181
- bin/mv/mv.c, line 295
- bin/pax/ar_io.c, line 68
- bin/pax/file_subs.c, 2 times
- bin/rm/rm.c, line 445
- bin/sh/redir.c, 4 times
- cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, 2 times
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c, line 82
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_options.c, 2 times
- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, line 491
- cddl/contrib/opensolaris/tools/ctf/dump/dump.c, line 1013
- cddl/usr.sbin/zfsd/case_file.cc, line 870
- contrib/amd/amd/info_exec.c, line 269
- contrib/apr/file_io/unix/open.c, line 110
- 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/bfd/opncls.c, line 319
- contrib/binutils/bfd/sysdep.h, 2 times
- contrib/binutils/binutils/rename.c, line 61
- contrib/binutils/binutils/resrc.c, line 260
- contrib/bzip2/bzip2.c, line 965
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc, line 160
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cc, line 81
- contrib/dialog/util.c, line 374
- contrib/dma/local.c, line 152
- 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/seccomp.c, 3 times
- contrib/gcc/mips-tfile.c, line 4835
- contrib/gcc/system.h, line 310
- contrib/gcclibs/libiberty/pex-djgpp.c, line 98
- contrib/gcclibs/libiberty/pex-unix.c, line 324
- contrib/gcclibs/libssp/ssp.c, line 102
- contrib/gdb/gdb/auxv.c, line 61
- contrib/gdb/gdb/inflow.c, 2 times
- contrib/gdb/gdb/nto-procfs.c, 2 times
- contrib/gdb/gdb/proc-api.c, line 666
- contrib/gdb/gdb/procfs.c, line 596
- contrib/gdb/gdb/remote-fileio.c, 3 times
- contrib/gdb/gdb/remote-rdp.c, 4 times
- contrib/gdb/gdb/uw-thread.c, line 255
- contrib/ipfilter/ip_fil.c, 3 times
- contrib/ipfilter/tools/ipfs.c, 2 times
- contrib/ipfilter/tools/ipmon.c, line 1493
- contrib/ipfilter/tools/ipsyncs.c, 2 times
- contrib/less/less.h, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/libarchive/libarchive/archive_write_open_filename.c, line 143
- contrib/libarchive/libarchive/test/main.c, line 1704
- contrib/libarchive/libarchive/test/test_acl_platform_posix1e.c, 2 times
- contrib/libarchive/libarchive/test/test_read_data_large.c, 2 times
- contrib/libarchive/libarchive/test/test_read_large.c, 2 times
- contrib/libarchive/libarchive/test/test_sparse_basic.c, line 281
- contrib/libarchive/libarchive/test/test_write_disk_failures.c, line 44
- contrib/libarchive/test_utils/test_main.c, line 1722
- contrib/libucl/tests/test_basic.c, line 169
- contrib/libxo/libxo/xo_syslog.c, line 257
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, 2 times
- contrib/llvm/tools/lldb/source/Host/posix/PipePosix.cpp, line 180
- contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, 2 times
- contrib/llvm/tools/lldb/source/Target/FileAction.cpp, line 46
- contrib/mandoc/catman.c, line 133
- contrib/netbsd-tests/fs/ffs/t_fifos.c, 2 times
- contrib/netbsd-tests/fs/fifofs/t_fifo.c, 2 times
- contrib/netbsd-tests/fs/union/t_pr.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/fs/vfs/t_ro.c, line 114
- contrib/netbsd-tests/kernel/kqueue/read/t_file.c, line 66
- contrib/netbsd-tests/kernel/kqueue/t_vnode.c, line 63
- 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/gen/posix_spawn/t_fileactions.c, 5 times
- contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c, line 64
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, line 57
- contrib/netbsd-tests/lib/libc/sys/t_mkfifo.c, line 190
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, line 304
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_write.c, line 174
- contrib/netbsd-tests/lib/libposix/t_rename.c, line 57
- contrib/ntp/lib/isc/unix/file.c, 2 times
- contrib/ntp/lib/isc/win32/file.c, 2 times
- contrib/ntp/ntpd/ntp_control.c, line 977
- contrib/ntp/ntpd/refclock_acts.c, line 498
- contrib/ntp/ntpd/refclock_true.c, line 241
- contrib/ntp/util/tg.c, line 325
- contrib/ntp/util/tg2.c, line 974
- contrib/ntp/util/tickadj.c, line 550
- contrib/nvi/common/exf.c, 2 times
- contrib/nvi/ex/ex_mkexrc.c, line 68
- contrib/ofed/libibnetdisc/ibnetdisc_cache.c, line 921
- contrib/ofed/opensm/opensm/main.c, line 521
- contrib/openbsm/bin/auditdistd/receiver.c, 2 times
- contrib/openbsm/compat/pidfile.h, 2 times
- contrib/openbsm/test/bsm/generate.c, line 73
- contrib/opie/libopie/lock.c, line 151
- contrib/opie/libopie/logwtmp.c, 2 times
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/include/sm/conf.h, line 2880
- contrib/sendmail/libsm/stdio.c, 5 times
- contrib/sendmail/libsm/t-fopen.c, line 27
- contrib/sendmail/libsmutil/safefile.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, 4 times
- contrib/sendmail/src/conf.c, line 5678
- contrib/sendmail/src/deliver.c, line 5301
- contrib/sendmail/src/main.c, 2 times
- contrib/sendmail/src/queue.c, 5 times
- contrib/sendmail/src/savemail.c, line 418
- contrib/sendmail/src/util.c, line 591
- contrib/sendmail/test/t_exclopen.c, line 87
- contrib/subversion/subversion/libsvn_subr/cmdline.c, 2 times
- contrib/tcpdump/tcpdump.c, 2 times
- contrib/tcsh/dotlock.c, line 80
- contrib/tcsh/sh.c, line 282
- contrib/tcsh/sh.sem.c, 2 times
- contrib/tcsh/tc.os.h, line 358
- contrib/unbound/daemon/unbound.c, line 665
- contrib/wpa/src/utils/wpa_debug.c, line 166
- contrib/xz/src/common/tuklib_open_stdxxx.c, line 39
- contrib/xz/src/xz/file_io.c, line 885
- contrib/zlib/gzlib.c, line 235
- crypto/heimdal/appl/ftp/ftpd/logwtmp.c, 2 times
- crypto/heimdal/appl/login/utmp_login.c, 2 times
- crypto/heimdal/appl/login/utmpx_login.c, line 59
- crypto/heimdal/appl/push/push.c, line 260
- crypto/heimdal/appl/rcp/rcp.c, line 564
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, 4 times
- crypto/heimdal/kdc/process.c, line 276
- crypto/heimdal/lib/asn1/check-common.c, line 183
- crypto/heimdal/lib/krb5/fcache.c, 3 times
- crypto/heimdal/lib/krb5/log.c, line 316
- crypto/heimdal/lib/roken/dumpdata.c, line 47
- crypto/heimdal/lib/roken/simple_exec.c, 2 times
- crypto/heimdal/lib/roken/socket_wrapper.c, 2 times
- crypto/heimdal/lib/roken/test-mem.c, line 75
- crypto/openssh/authfile.c, line 60
- crypto/openssh/log.c, line 373
- crypto/openssh/loginrec.c, 3 times
- crypto/openssh/openbsd-compat/bsd-misc.c, line 125
- crypto/openssh/openbsd-compat/port-solaris.c, line 174
- crypto/openssh/scp.c, line 1164
- crypto/openssh/sftp-client.c, line 1233
- crypto/openssh/sftp-server.c, line 227
- crypto/openssh/ssh-keygen.c, 4 times
- crypto/openssh/ssh.c, line 1941
- crypto/openssh/sshkey-xmss.c, line 616
- crypto/openssh/sshpty.c, line 140
- crypto/openssl/apps/apps.c, line 2567
- crypto/openssl/crypto/rand/randfile.c, line 203
- lib/geom/eli/geom_eli.c, 2 times
- lib/geom/part/geom_part.c, 2 times
- lib/libc/compat-43/creat.c, line 54
- lib/libc/db/btree/bt_open.c, line 197
- lib/libc/db/hash/hash.c, line 108
- lib/libc/db/test/dbtest.c, line 117
- lib/libc/gen/pututxline.c, line 277
- lib/libc/gen/syslog.c, line 334
- lib/libc/gmon/gmon.c, 2 times
- lib/libc/stdio/flags.c, 2 times
- lib/libc/stdio/fmemopen.c, line 143
- lib/libc/tests/gen/dir2_test.c, 2 times
- lib/libc/tests/gen/dlopen_empty_test.c, line 70
- lib/libc/tests/stdio/fdopen_test.c, 5 times
- lib/libc/tests/stdio/fopen_test.c, 2 times
- lib/libdpv/dpv.c, line 590
- lib/libfetch/ftp.c, 2 times
- lib/libpmcstat/libpmcstat_logging.c, line 511
- lib/libsysdecode/flags.c, line 436
- lib/libutil/pidfile.c, line 152
- lib/libutil/uucplock.c, line 78
- libexec/atrun/atrun.c, line 261
- libexec/ftpd/ftpd.c, 2 times
- libexec/tftpd/tftpd.c, 3 times
- release/picobsd/tinyware/simple_httpd/simple_httpd.c, line 441
- sbin/decryptcore/decryptcore.c, line 376
- sbin/dhclient/bpf.c, line 143
- sbin/dump/tape.c, 2 times
- sbin/gbde/gbde.c, line 430
- sbin/ggate/ggated/ggated.c, 4 times
- sbin/ggate/ggatel/ggatel.c, line 81
- sbin/growfs/growfs.c, line 1551
- sbin/hastd/hooks.c, line 119
- sbin/init/init.c, 2 times
- sbin/nvmecontrol/wdc.c, line 113
- sbin/reboot/reboot.c, line 141
- sbin/recoverdisk/recoverdisk.c, line 237
- sbin/restore/dirs.c, line 687
- sbin/restore/tape.c, line 708
- sbin/route/route.c, line 221
- sbin/savecore/savecore.c, 2 times
- sbin/shutdown/shutdown.c, line 557
- stand/liblua/lstd.c, line 51
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c, line 2102
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line 5678
- sys/compat/linux/linux_file.c, 3 times
- sys/compat/linux/linux_misc.c, 2 times
- sys/contrib/zstd/zlibWrapper/gzlib.c, line 235
- sys/dev/sound/midi/sequencer.c, line 1242
- sys/fs/fuse/fuse_file.h, line 127
- sys/fs/unionfs/union_subr.c, line 903
- sys/i386/ibcs2/ibcs2_fcntl.c, 4 times
- sys/kern/vfs_syscalls.c, 2 times
- sys/security/audit/audit_bsm_klib.c, 10 times
- tests/sys/aio/aio_test.c, line 401
- tests/sys/audit/administrative.c, line 330
- tests/sys/audit/open.c, 4 times
- tests/sys/cddl/zfs/bin/mkfile.c, line 49
- tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c, 2 times
- tests/sys/fifo/fifo_io.c, line 140
- tests/sys/fifo/fifo_misc.c, line 90
- tests/sys/fifo/fifo_open.c, 2 times
- tests/sys/file/fcntlflags_test.c, line 106
- tests/sys/posixshm/posixshm_test.c, line 238
- tests/sys/vfs/lookup_cap_dotdot.c, line 50
- tools/regression/aio/aiop/aiop.c, line 174
- tools/regression/poll/pipepoll.c, 2 times
- tools/regression/poll/pipeselect.c, 2 times
- tools/regression/priv/priv_vfs_read_write.c, 12 times
- tools/regression/security/cap_test/cap_test_capabilities.c, 14 times
- tools/regression/security/open_to_operation/open_to_operation.c, 12 times
- tools/regression/sockets/zerosend/zerosend.c, line 226
- tools/tools/atsectl/atsectl.c, line 111
- tools/tools/cfi/cfi.c, 2 times
- tools/tools/intel-ucode-split/intel-ucode-split.c, line 188
- tools/tools/net80211/w00t/prga/prga.c, line 126
- tools/tools/net80211/wesside/wesside/wesside.c, 5 times
- tools/tools/syscall_timing/syscall_timing.c, line 1085
- usr.bin/at/at.c, 2 times
- usr.bin/bsdiff/bspatch/bspatch.c, line 142
- usr.bin/chkey/chkey.c, line 200
- usr.bin/dtc/dtc.cc, 2 times
- usr.bin/gencat/gencat.c, line 178
- usr.bin/gzip/gzip.c, 2 times
- usr.bin/ktrace/ktrace.c, 2 times
- 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/morse/morse.c, 2 times
- usr.bin/patch/inp.c, line 295
- 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/tcopy/tcopy.c, line 131
- usr.bin/tee/tee.c, 2 times
- usr.bin/touch/touch.c, line 179
- usr.bin/truncate/truncate.c, 2 times
- usr.bin/usbhidaction/usbhidaction.c, line 170
- usr.bin/uudecode/uudecode.c, line 261
- usr.bin/wall/ttymsg.c, line 91
- usr.bin/write/write.c, line 305
- usr.sbin/acpi/acpidb/acpidb.c, line 429
- usr.sbin/acpi/acpidump/acpi.c, 2 times
- usr.sbin/bluetooth/bcmfw/bcmfw.c, 2 times
- usr.sbin/boot0cfg/boot0cfg.c, line 383
- usr.sbin/btxld/btxld.c, line 257
- usr.sbin/cpucontrol/cpucontrol.c, line 325
- usr.sbin/cron/lib/misc.c, line 415
- usr.sbin/ctm/ctm/ctm_pass3.c, line 181
- usr.sbin/ctm/ctm_rmail/ctm_rmail.c, line 660
- usr.sbin/cxgbetool/cxgbetool.c, line 2054
- usr.sbin/daemon/daemon.c, line 171
- usr.sbin/extattrctl/extattrctl.c, line 99
- usr.sbin/fifolog/lib/fifolog_create.c, 2 times
- usr.sbin/fwcontrol/fwdv.c, line 113
- usr.sbin/fwcontrol/fwmpegts.c, line 170
- usr.sbin/ipfwpcap/ipfwpcap.c, line 99
- usr.sbin/jail/command.c, line 645
- usr.sbin/keyserv/keyserv.c, line 324
- usr.sbin/kgzip/kgzcmp.c, line 68
- usr.sbin/lpr/common_source/common.c, 2 times
- usr.sbin/lpr/common_source/ctlinfo.c, line 487
- usr.sbin/lpr/lpc/cmds.c, line 383
- usr.sbin/lpr/lpd/lpd.c, line 285
- usr.sbin/lpr/lpd/printjob.c, 7 times
- usr.sbin/lpr/lpd/recvjob.c, 3 times
- usr.sbin/lpr/lpr/lpr.c, line 644
- usr.sbin/lptcontrol/lptcontrol.c, line 101
- usr.sbin/nandsim/nandsim.c, line 850
- usr.sbin/nandtool/nand_read.c, line 55
- usr.sbin/nandtool/nand_readoob.c, line 62
- 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_log.c, line 60
- usr.sbin/pwd_mkdb/pwd_mkdb.c, 2 times
- usr.sbin/rwhod/rwhod.c, line 412
- usr.sbin/syslogd/syslogd.c, 2 times
- usr.sbin/tzsetup/tzsetup.c, 2 times
- usr.sbin/uathload/uathload.c, line 183
- usr.sbin/usbdump/usbdump.c, 2 times