Defined in 3 files as a prototype:
Defined in 1 files as a member:
Defined in 11 files as a macro:
- contrib/apr/include/arch/unix/apr_arch_file_io.h, line 136 (as a macro)
- contrib/binutils/binutils/rename.c, line 138 (as a macro)
- contrib/binutils/libiberty/unlink-if-ordinary.c, line 58 (as a macro)
- contrib/libarchive/libarchive/test/main.c, line 116 (as a macro)
- contrib/libarchive/test_utils/test_main.c, line 132 (as a macro)
- contrib/opie/libopie/lock.c, line 51 (as a macro)
- contrib/opie/libopie/open.c, line 28 (as a macro)
- contrib/tcsh/glob.c, line 83 (as a macro)
- contrib/tcsh/sh.h, line 241 (as a macro)
- contrib/tcsh/tc.os.h, line 440 (as a macro)
- crypto/openssl/apps/rehash.c, line 59 (as a macro)
Defined in 3 files as a function:
Referenced in 125 files:
- bin/cp/cp.c, line 240
- bin/cp/utils.c, line 387
- bin/getfacl/getfacl.c, line 187
- bin/ln/ln.c, 4 times
- bin/mv/mv.c, 5 times
- bin/pax/ar_subs.c, 4 times
- bin/pax/file_subs.c, 8 times
- bin/rm/rm.c, 2 times
- bin/sh/cd.c, line 217
- bin/sh/expand.c, line 1130
- bin/test/test.c, line 373
- contrib/apr/file_io/unix/filestat.c, line 292
- contrib/atf/atf-c/detail/fs.c, 2 times
- contrib/binutils/binutils/rename.c, line 152
- contrib/binutils/libiberty/unlink-if-ordinary.c, line 67
- contrib/bmake/dir.c, line 347
- contrib/bmake/main.c, line 1943
- contrib/bmake/realpath.c, line 172
- contrib/bmake/util.c, 2 times
- contrib/bzip2/bzip2.c, line 78
- contrib/capsicum-test/capmode.cc, line 82
- contrib/elftoolchain/elfcopy/main.c, line 787
- contrib/file/src/fsmagic.c, line 127
- contrib/file/src/seccomp.c, line 198
- contrib/gdb/gdb/proc-api.c, 4 times
- contrib/kyua/utils/fs/operations.cpp, line 310
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 187
- contrib/libarchive/libarchive/archive_read_disk_posix.c, line 2536
- contrib/libarchive/libarchive/archive_read_support_format_mtree.c, line 1254
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 5 times
- contrib/libarchive/libarchive/test/main.c, 10 times
- contrib/libarchive/libarchive/test/test_write_disk_secure.c, 10 times
- contrib/libarchive/test_utils/test_main.c, 10 times
- contrib/libevent/sample/event-read-fifo.c, line 109
- contrib/libpcap/pcap-linux.c, line 2528
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 165
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp, line 148
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, 2 times
- contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp, line 245
- contrib/mandoc/compat_fts.c, line 519
- contrib/mandoc/mandocdb.c, line 799
- contrib/netbsd-tests/lib/libc/c063/t_fchmodat.c, line 182
- contrib/netbsd-tests/lib/libc/c063/t_fchownat.c, line 231
- contrib/netbsd-tests/lib/libc/c063/t_linkat.c, 8 times
- contrib/netbsd-tests/lib/libc/c063/t_symlinkat.c, line 118
- contrib/netbsd-tests/lib/libc/c063/t_utimensat.c, line 194
- contrib/netbsd-tests/lib/libc/sys/t_link.c, line 199
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, 5 times
- contrib/ofed/opensm/opensm/osm_db_files.c, line 190
- contrib/openbsm/bin/auditdistd/fstatat.h, line 56
- contrib/opie/libopie/lock.c, 4 times
- contrib/opie/libopie/open.c, 2 times
- contrib/pjdfstest/pjdfstest.c, line 1059
- contrib/sendmail/libsmutil/safefile.c, 4 times
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/sendmail/src/deliver.c, line 5768
- contrib/sendmail/src/queue.c, line 6022
- contrib/sendmail/src/util.c, line 2417
- contrib/sqlite3/shell.c, 3 times
- contrib/sqlite3/sqlite3.c, line 34079
- contrib/tcsh/glob.c, 2 times
- contrib/tcsh/sh.dir.c, line 375
- contrib/tcsh/sh.exp.c, line 621
- contrib/tcsh/sh.file.c, line 282
- contrib/tcsh/tc.os.c, 2 times
- contrib/tcsh/tw.parse.c, line 2031
- contrib/xz/src/xz/file_io.c, 3 times
- crypto/heimdal/appl/ftp/ftpd/ls.c, 3 times
- crypto/heimdal/lib/krb5/fcache.c, line 254
- crypto/heimdal/lib/krb5/kuserok.c, line 123
- crypto/heimdal/lib/roken/glob.c, line 782
- crypto/heimdal/lib/roken/iruserok.c, line 262
- crypto/openssh/openbsd-compat/getcwd.c, 2 times
- crypto/openssh/openbsd-compat/glob.c, line 1010
- crypto/openssh/openbsd-compat/mktemp.c, line 78
- crypto/openssh/openbsd-compat/realpath.c, line 164
- crypto/openssh/sftp-client.c, line 1855
- crypto/openssh/sftp-server.c, 3 times
- crypto/openssl/apps/rehash.c, line 377
- lib/libc/gen/getcwd.c, line 120
- lib/libc/gen/glob.c, line 1025
- lib/libc/include/compat.h, line 56
- lib/libc/net/rcmd.c, line 480
- lib/libc/stdio/mktemp.c, line 192
- lib/libc/stdio/remove.c, line 51
- lib/libc/stdlib/realpath.c, line 146
- lib/libcasper/services/cap_fileargs/cap_fileargs.c, 2 times
- lib/libcasper/services/cap_fileargs/cap_fileargs.h, line 117
- lib/libutil/_secure_path.c, line 52
- libexec/atrun/atrun.c, line 212
- libexec/ftpd/ftpd.c, 3 times
- libexec/rtld-aout/shlib.c, line 217
- sys/contrib/openzfs/cmd/mount_zfs/mount_zfs.c, line 120
- sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h, line 224
- sys/contrib/openzfs/lib/libshare/os/linux/smb.c, line 436
- sys/contrib/openzfs/lib/libzfs/libzfs_mount.c, line 466
- sys/contrib/zstd/programs/util.c, line 233
- sys/dev/mn/if_mn.c, 6 times
- sys/dev/sk/if_sk.c, 3 times
- sys/kern/init_sysent.c, 2 times
- tests/sys/audit/file-attribute-access.c, 2 times
- tools/diag/prtblknos/main.c, line 64
- tools/regression/security/cap_test/cap_test_capmode.c, line 101
- tools/tools/syscall_timing/syscall_timing.c, line 346
- usr.bin/find/function.c, 2 times
- usr.bin/gzip/gzip.c, line 1993
- usr.bin/sed/main.c, line 407
- usr.bin/stat/stat.c, 2 times
- usr.bin/unzip/unzip.c, 3 times
- usr.bin/uudecode/uudecode.c, line 262
- usr.bin/xinstall/xinstall.c, 2 times
- usr.sbin/gssd/gssd.c, line 988
- usr.sbin/inetd/builtins.c, line 589
- usr.sbin/jail/command.c, line 958
- usr.sbin/lpr/lpc/cmds.c, line 802
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/lpr/lpr/lpr.c, 2 times
- usr.sbin/makefs/cd9660.c, line 2116
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, line 126
- usr.sbin/makefs/walk.c, 2 times
- usr.sbin/mountd/mountd.c, 2 times
- usr.sbin/newsyslog/newsyslog.c, 4 times
- usr.sbin/tzsetup/tzsetup.c, line 713