Defined in 5 files as a prototype:
Defined in 3 files as a member:
Defined in 3 files as a macro:
Defined in 2 files as a function:
Referenced in 125 files:
- bin/mv/mv.c, line 227
- cddl/compat/opensolaris/misc/fsshare.c, line 222
- cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, line 511
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, line 1820
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c, line 257
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, 2 times
- contrib/apr/file_io/unix/open.c, line 272
- contrib/binutils/binutils/objcopy.c, 24 times
- contrib/binutils/binutils/rename.c, 2 times
- contrib/capsicum-test/rename.cc, line 27
- contrib/elftoolchain/elfcopy/main.c, 2 times
- contrib/elftoolchain/elfcopy/sections.c, line 180
- contrib/gdb/gdb/remote-fileio.c, line 950
- contrib/gdb/gdb/remote-rdp.c, line 859
- contrib/less/cmdbuf.c, line 1728
- contrib/lib9p/backend/fs.c, line 3018
- contrib/lib9p/request.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, line 1857
- contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp, line 655
- contrib/llvm-project/clang/lib/Rewrite/Rewriter.cpp, line 442
- contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 124
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp, line 223
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 417
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 349
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_netbsd.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, 2 times
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 1173
- contrib/llvm-project/lld/COFF/Driver.cpp, line 813
- contrib/llvm-project/lld/Common/Filesystem.cpp, line 70
- contrib/llvm-project/lldb/source/Target/ModuleCache.cpp, line 200
- contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp, 22 times
- contrib/llvm-project/llvm/lib/Support/FileUtilities.cpp, line 322
- contrib/llvm-project/llvm/lib/Support/Path.cpp, line 1220
- contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp, line 251
- contrib/lua/src/loslib.c, line 162
- contrib/mandoc/mandocdb.c, line 2170
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs.c, line 201
- contrib/netbsd-tests/fs/tmpfs/h_tools.c, line 221
- contrib/netbsd-tests/kernel/kqueue/t_vnode.c, 10 times
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c, 2 times
- contrib/netbsd-tests/lib/libposix/t_rename.c, 7 times
- contrib/ntp/lib/isc/unix/file.c, line 336
- contrib/ntp/lib/isc/win32/file.c, line 22
- contrib/ntp/ntpd/ntp_filegen.c, line 236
- contrib/ntp/ntpd/ntp_util.c, line 297
- contrib/ntp/ntpd/ntpd.c, 2 times
- contrib/nvi/cl/cl_funcs.c, 3 times
- contrib/ofed/opensm/opensm/osm_db_files.c, line 526
- contrib/ofed/opensm/opensm/osm_sa.c, line 600
- contrib/ofed/opensm/opensm/osm_ucast_ftree.c, line 1350
- contrib/openbsm/bin/auditdistd/renameat.h, line 57
- contrib/openbsm/libauditd/auditd_lib.c, 2 times
- contrib/opie/opieftpd.c, line 1247
- contrib/pf/pflogd/privsep.c, line 225
- contrib/pjdfstest/pjdfstest.c, line 829
- contrib/sendmail/src/map.c, line 3041
- contrib/sendmail/src/queue.c, 4 times
- contrib/sqlite3/sqlite3.c, 2 times
- contrib/tcsh/gethost.c, line 43
- contrib/tcsh/sh.hist.c, line 1327
- contrib/unbound/services/authzone.c, line 4959
- contrib/unbound/validator/autotrust.c, line 1236
- contrib/wpa/hostapd/hlr_auc_gw.c, 2 times
- contrib/wpa/hs20/client/osu_client.c, 5 times
- contrib/wpa/src/ap/wps_hostapd.c, line 640
- contrib/wpa/wpa_supplicant/config_file.c, line 1623
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1828
- crypto/heimdal/kadmin/stash.c, line 135
- crypto/heimdal/kdc/kstash.c, line 154
- crypto/heimdal/lib/hdb/db.c, line 164
- crypto/heimdal/lib/hdb/db3.c, line 161
- crypto/heimdal/lib/hdb/hdb-mitdb.c, line 588
- crypto/heimdal/lib/hdb/hdb-sqlite.c, line 777
- crypto/heimdal/lib/hdb/ndbm.c, 2 times
- crypto/openssh/hostfile.c, line 613
- crypto/openssh/moduli.c, line 471
- crypto/openssh/sftp-server.c, 3 times
- crypto/openssh/ssh-keygen.c, 3 times
- crypto/openssh/sshkey-xmss.c, line 655
- crypto/openssl/apps/apps.c, 13 times
- lib/libutil/gr_util.c, line 339
- lib/libutil/quotafile.c, 2 times
- libexec/ftpd/ftpd.c, line 2739
- libexec/ypxfr/ypxfr_main.c, line 570
- sbin/gvinum/gvinum.c, 4 times
- sbin/ldconfig/elfhints.c, line 301
- sbin/ldconfig/ldconfig.c, line 522
- sbin/recoverdisk/recoverdisk.c, line 332
- sbin/restore/utilities.c, line 127
- stand/ficl/fileaccess.c, line 147
- sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c, line 210
- sys/contrib/openzfs/lib/libshare/os/linux/nfs.c, line 424
- sys/contrib/openzfs/module/os/linux/zfs/zpl_ctldir.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_inode.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/rename_dir/rename_dir.c, 4 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/rm_lnkcnt_zero_file.c, line 70
- sys/geom/vinum/geom_vinum.c, 11 times
- sys/geom/vinum/geom_vinum_subr.c, 4 times
- tests/sys/audit/file-create.c, 2 times
- tests/sys/audit/file-delete.c, 2 times
- tests/sys/cddl/zfs/bin/rename_dir.c, 4 times
- tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c, line 66
- tests/sys/fs/fusefs/default_permissions.cc, 9 times
- tests/sys/fs/fusefs/mockfs.cc, 2 times
- tests/sys/fs/fusefs/rename.cc, 14 times
- tools/regression/tmpfs/h_tools.c, line 189
- usr.bin/fetch/fetch.c, 2 times
- usr.bin/newkey/update.c, line 315
- usr.bin/patch/util.c, 2 times
- usr.bin/sed/main.c, 2 times
- usr.bin/sort/sort.c, line 1330
- usr.bin/unifdef/unifdef.c, 2 times
- usr.bin/xinstall/xinstall.c, 4 times
- usr.sbin/btxld/btxld.c, line 288
- usr.sbin/config/main.c, line 639
- usr.sbin/cron/crontab/crontab.c, line 608
- usr.sbin/kldxref/kldxref.c, line 735
- usr.sbin/lpr/common_source/ctlinfo.c, 2 times
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pw/pw_nis.c, line 76
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 625
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 12 times
- usr.sbin/rpc.ypupdated/update.c, line 312
- usr.sbin/services_mkdb/services_mkdb.c, line 175