Defined in 1 files as a variable:
Defined in 5 files as a prototype:
Defined in 8 files as a member:
Defined in 1 files as a macro:
Defined in 3 files as a function:
Referenced in 127 files:
- bin/ln/ln.c, line 282
- bin/mkdir/mkdir.c, line 108
- contrib/apr-util/dbm/sdbm/sdbm.c, 4 times
- contrib/apr/file_io/unix/dir.c, 5 times
- contrib/apr/include/apr_file_info.h, line 245
- contrib/apr/include/apr_user.h, line 98
- contrib/apr/user/unix/userinfo.c, 3 times
- contrib/atf/atf-c/detail/fs.c, line 404
- contrib/binutils/bfd/dwarf2.c, 8 times
- contrib/bmake/dirname.c, line 121
- contrib/bmake/meta.c, line 290
- contrib/bmake/parse.c, 5 times
- contrib/capsicum-test/capsicum-test-main.cc, line 95
- contrib/gdb/gdb/ada-lang.c, 3 times
- contrib/gdb/gdb/buildsym.c, 17 times
- contrib/gdb/gdb/buildsym.h, 2 times
- contrib/gdb/gdb/cli/cli-cmds.c, 4 times
- contrib/gdb/gdb/cp-namespace.c, line 656
- contrib/gdb/gdb/dbxread.c, 3 times
- contrib/gdb/gdb/dwarf2read.c, 4 times
- contrib/gdb/gdb/infcmd.c, 2 times
- contrib/gdb/gdb/mi/mi-cmd-env.c, 5 times
- contrib/gdb/gdb/source.c, 23 times
- contrib/gdb/gdb/symmisc.c, 4 times
- contrib/ipfilter/tools/ipfs.c, 23 times
- contrib/less/filename.c, 6 times
- contrib/less/lesskey.c, 4 times
- contrib/lib9p/backend/fs.c, 4 times
- contrib/libarchive/cpio/test/test_option_f.c, 3 times
- contrib/libarchive/libarchive/archive_read_support_format_lha.c, 15 times
- contrib/libarchive/libarchive/archive_write_set_format_iso9660.c, 11 times
- contrib/libarchive/libarchive/archive_write_set_format_mtree.c, 10 times
- contrib/libarchive/libarchive/archive_write_set_format_xar.c, 11 times
- contrib/libarchive/libarchive/test/main.c, 6 times
- contrib/libarchive/libarchive/test/test_tar_filenames.c, 7 times
- contrib/libarchive/libarchive/test/test_ustar_filenames.c, 7 times
- contrib/libarchive/libarchive/test/test_write_format_iso9660.c, 7 times
- contrib/libarchive/test_utils/test_common.h, 2 times
- contrib/libarchive/test_utils/test_main.c, 6 times
- contrib/libedit/filecomplete.c, 16 times
- contrib/libucl/src/ucl_util.c, line 1785
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 134
- contrib/llvm-project/lldb/source/Symbol/LocateSymbolFile.cpp, 5 times
- contrib/mandoc/test-mkdtemp.c, 4 times
- contrib/netbsd-tests/fs/common/fstest_nfs.c, line 111
- contrib/netbsd-tests/fs/vfs/t_unpriv.c, line 83
- contrib/netbsd-tests/lib/libc/gen/t_basedirname.c, 2 times
- contrib/ntp/lib/isc/include/isc/file.h, line 289
- contrib/ntp/lib/isc/log.c, 4 times
- contrib/ntp/lib/isc/unix/dir.c, 16 times
- contrib/ntp/lib/isc/unix/file.c, 6 times
- contrib/ntp/lib/isc/unix/include/isc/dir.h, 3 times
- contrib/ntp/lib/isc/win32/dir.c, 16 times
- contrib/ntp/lib/isc/win32/file.c, 2 times
- contrib/ntp/lib/isc/win32/include/isc/dir.h, 3 times
- contrib/ofed/libibumad/sysfs.c, 2 times
- contrib/ofed/libibumad/sysfs.h, line 50
- contrib/openbsm/bin/auditdistd/trail.c, 9 times
- contrib/openbsm/bin/auditdistd/trail.h, line 43
- contrib/openbsm/libauditd/auditd_lib.c, 9 times
- contrib/opie/opieftpd.c, 8 times
- contrib/sqlite3/shell.c, 5 times
- contrib/subversion/subversion/include/svn_io.h, 4 times
- contrib/subversion/subversion/libsvn_client/externals.c, 3 times
- contrib/subversion/subversion/libsvn_fs_fs/util.c, 3 times
- contrib/subversion/subversion/libsvn_repos/list.c, 2 times
- contrib/subversion/subversion/libsvn_subr/deprecated.c, 2 times
- contrib/subversion/subversion/libsvn_subr/io.c, 26 times
- contrib/tcpdump/tcpdump.c, 2 times
- contrib/tnftp/src/util.c, line 865
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 9 times
- crypto/heimdal/lib/krb5/kuserok.c, 4 times
- crypto/openssh/misc.c, line 1799
- crypto/openssh/regress/check-perm.c, line 123
- crypto/openssl/apps/rehash.c, 11 times
- gnu/usr.bin/gdb/kgdb/kld.c, line 119
- include/libgen.h, line 60
- lib/libc/gen/dirname.c, line 33
- lib/libc/gen/dirname_compat.c, line 81
- lib/libc/gen/scandir-compat11.c, 2 times
- lib/libc/gen/scandir.c, 3 times
- lib/libproc/proc_sym.c, 2 times
- lib/libusb/libusb01.c, line 82
- lib/libutil/pidfile.c, line 127
- libexec/ftpd/ftpd.c, 9 times
- sbin/devd/devd.cc, 4 times
- sbin/fsck_ffs/pass2.c, 3 times
- share/examples/sunrpc/dir/dir_proc.c, 3 times
- sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_vnops.h, line 36
- sys/contrib/openzfs/include/os/linux/zfs/sys/zfs_ctldir.h, line 75
- sys/contrib/openzfs/include/os/linux/zfs/sys/zfs_vnops.h, line 56
- sys/contrib/openzfs/lib/libzfs/libzfs_mount.c, 8 times
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, 4 times
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1135
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, 7 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c, 4 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vnops.c, 7 times
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/ctime/ctime.c, line 166
- sys/fs/devfs/devfs_dir.c, 4 times
- sys/kern/vfs_default.c, 3 times
- sys/security/mac/mac_framework.h, line 135
- sys/security/mac/mac_policy.h, line 175
- sys/security/mac/mac_vfs.c, 2 times
- sys/security/mac_biba/mac_biba.c, line 966
- sys/security/mac_lomac/mac_lomac.c, line 1052
- sys/security/mac_mls/mac_mls.c, line 933
- sys/security/mac_stub/mac_stub.c, line 325
- sys/security/mac_test/mac_test.c, line 470
- sys/ufs/ufs/ufs_extattr.c, 2 times
- usr.bin/bsdiff/bspatch/bspatch.c, line 146
- usr.bin/dirname/dirname.c, line 75
- usr.bin/dtc/fdt.cc, line 1946
- usr.bin/dtc/string.cc, line 144
- usr.bin/localedef/localedef.c, 3 times
- usr.bin/m4/gnum4.c, 4 times
- usr.bin/mail/cmd1.c, 4 times
- usr.bin/patch/backupfile.c, line 73
- usr.bin/sed/main.c, line 425
- usr.bin/tip/tip/cmds.c, 4 times
- usr.bin/xinstall/xinstall.c, line 708
- usr.sbin/bhyve/pci_virtio_console.c, line 305
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pmcstat/pmcstat.c, line 1015
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 626
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 2 times
- usr.sbin/services_mkdb/services_mkdb.c, line 177
- usr.sbin/uathload/uathload.c, line 95