Defined in 3 files as a macro:
Referenced in 101 files:
- bin/sh/redir.c, line 220
- bin/sh/show.c, line 406
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c, line 84
- contrib/apr/file_io/unix/open.c, line 127
- contrib/bc/include/history.h, line 130
- contrib/capsicum-test/capability-fd.cc, 7 times
- contrib/dma/local.c, line 152
- contrib/gdb/gdb/inflow.c, 2 times
- contrib/gdb/gdb/remote-fileio.c, line 129
- contrib/gdb/gdb/remote-rdp.c, 4 times
- contrib/googletest/googletest/src/gtest-death-test.cc, line 1499
- contrib/ipfilter/ip_fil.c, line 143
- contrib/kyua/utils/process/child.cpp, line 120
- contrib/less/less.h, 2 times
- contrib/lib9p/backend/fs.c, line 382
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 741
- contrib/llvm-project/lldb/source/Host/common/FileSystem.cpp, line 380
- contrib/netbsd-tests/fs/union/t_pr.c, line 114
- contrib/netbsd-tests/fs/vfs/t_io.c, line 88
- contrib/netbsd-tests/kernel/kqueue/read/t_file.c, line 66
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c, line 139
- contrib/nvi/common/exf.c, line 811
- contrib/openbsm/bin/auditdistd/receiver.c, line 320
- contrib/opie/libopie/logwtmp.c, 2 times
- contrib/pf/pflogd/privsep.c, line 153
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/stdio.c, 6 times
- contrib/sendmail/libsm/t-fopen.c, line 27
- contrib/sendmail/libsmutil/safefile.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/sendmail/src/deliver.c, line 5499
- contrib/sendmail/src/envelope.c, line 892
- contrib/sendmail/src/savemail.c, line 418
- contrib/tcsh/sh.sem.c, 2 times
- contrib/wpa/src/utils/wpa_debug.c, line 564
- contrib/xz/src/xz/file_io.c, 2 times
- crypto/heimdal/appl/ftp/ftpd/logwtmp.c, 2 times
- crypto/heimdal/appl/login/utmp_login.c, line 160
- crypto/heimdal/appl/login/utmpx_login.c, line 59
- crypto/heimdal/appl/push/push.c, line 260
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, 4 times
- crypto/heimdal/kdc/process.c, line 276
- crypto/heimdal/lib/krb5/fcache.c, line 505
- crypto/heimdal/lib/krb5/log.c, line 317
- crypto/heimdal/lib/roken/socket_wrapper.c, 2 times
- crypto/openssh/log.c, line 373
- crypto/openssh/loginrec.c, 3 times
- crypto/openssh/sftp-server.c, 2 times
- lib/libc/gen/pututxline.c, line 277
- lib/libc/stdio/fdopen.c, 2 times
- lib/libc/stdio/flags.c, line 75
- lib/libc/stdio/fopen.c, line 96
- lib/libc/stdio/fopencookie.c, line 81
- lib/libc/stdio/freopen.c, 5 times
- lib/libc/stdio/mktemp.c, line 129
- lib/libc/tests/stdio/fopen_test.c, 3 times
- lib/libc/tests/stdio/mkostemp_test.c, 6 times
- lib/libprocstat/libprocstat.c, line 1639
- libexec/ftpd/ftpd.c, 2 times
- sbin/init/init.c, line 615
- sys/compat/cloudabi/cloudabi_fd.c, 2 times
- sys/compat/cloudabi/cloudabi_file.c, 2 times
- sys/compat/linux/linux_file.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vnops.c, 5 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_file.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/file_write/file_write.c, line 178
- sys/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/rm_lnkcnt_zero_file.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/threadsappend.c, line 111
- sys/contrib/zlib/gzlib.c, line 241
- sys/contrib/zstd/zlibWrapper/gzlib.c, line 241
- sys/dev/fb/vga.c, line 117
- sys/fs/ext2fs/ext2_vnops.c, line 292
- sys/fs/tmpfs/tmpfs_vnops.c, line 303
- sys/kern/kern_acct.c, line 222
- sys/kern/vfs_syscalls.c, line 1043
- sys/kern/vfs_vnops.c, 3 times
- sys/security/audit/audit_private.h, 2 times
- sys/sys/fcntl.h, line 185
- sys/ufs/ufs/ufs_vnops.c, line 296
- tests/sys/cddl/zfs/bin/file_write.c, line 156
- tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c, 2 times
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 109
- tests/sys/fs/fusefs/open.cc, 2 times
- tests/sys/fs/fusefs/release.cc, 2 times
- tests/sys/fs/fusefs/write.cc, 3 times
- tools/regression/security/cap_test/cap_test_capabilities.c, 12 times
- tools/tools/net80211/wesside/wesside/wesside.c, line 2400
- usr.bin/msgs/msgs.c, line 789
- usr.bin/nohup/nohup.c, 2 times
- usr.bin/sed/compile.c, 2 times
- usr.bin/sed/process.c, 2 times
- usr.bin/tee/tee.c, line 105
- usr.sbin/bsdinstall/partedit/gpart_ops.c, line 715
- usr.sbin/cron/lib/misc.c, line 415
- usr.sbin/daemon/daemon.c, line 593
- usr.sbin/jail/command.c, line 646
- usr.sbin/lpr/common_source/common.c, line 730
- usr.sbin/lpr/lpd/printjob.c, line 174
- usr.sbin/lpr/lpd/recvjob.c, line 118
- usr.sbin/pw/pw_log.c, line 60
- usr.sbin/syslogd/syslogd.c, line 395