Defined in 5 files as a prototype:
Defined in 3 files as a member:
Defined in 4 files as a macro:
Defined in 8 files as a function:
Referenced in 193 files:
- bin/csh/exec.c, line 462
- bin/csh/file.c, line 451
- bin/ksh/eval.c, line 1107
- bin/rcp/rcp.c, line 449
- bin/sh/expand.c, line 1683
- crypto/dist/ipsec-tools/src/racoon/eaytest.c, line 543
- crypto/external/bsd/heimdal/dist/lib/hx509/ks_dir.c, line 156
- crypto/external/bsd/heimdal/dist/lib/krb5/kuserok.c, line 353
- crypto/external/bsd/heimdal/dist/lib/krb5/plugin.c, line 326
- crypto/external/bsd/heimdal/dist/lib/roken/dirent-test.c, line 216
- crypto/external/bsd/heimdal/dist/lib/roken/glob.c, line 608
- crypto/external/bsd/openssh/dist/scp.c, line 1194
- crypto/external/bsd/openssh/dist/sftp-client.c, line 1869
- crypto/external/bsd/openssh/dist/sftp-server.c, line 1059
- crypto/external/bsd/openssl/dist/crypto/LPdir_unix.c, line 129
- distrib/utils/tls/tls.c, line 62
- external/bsd/am-utils/dist/amd/info_union.c, line 118
- external/bsd/am-utils/dist/amd/nfs_subr.c, 2 times
- external/bsd/am-utils/dist/conf/autofs/autofs_solaris_v2_v3.c, line 817
- external/bsd/am-utils/dist/hlfsd/hlfsd.c, line 367
- external/bsd/atf/dist/atf-c++/detail/fs.cpp, line 428
- external/bsd/atf/dist/tools/fs.cpp, line 558
- external/bsd/cron/dist/database.c, line 76
- external/bsd/fetch/dist/libfetch/file.c, line 257
- external/bsd/file/dist/src/apprentice.c, line 1374
- external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c, line 524
- external/bsd/iscsi/dist/src/osd/osdfs.c, line 882
- external/bsd/kyua-cli/dist/engine/testers.cpp, line 162
- external/bsd/kyua-cli/dist/utils/fs/lua_module.cpp, line 130
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, line 287
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, line 81
- external/bsd/kyua-testers/dist/fs.c, line 123
- external/bsd/kyua-testers/dist/fs_test.c, line 95
- external/bsd/libarchive/dist/libarchive/archive_read_disk_posix.c, line 2478
- external/bsd/libarchive/dist/tar/test/test_copy.c, line 253
- external/bsd/libevent/dist/sample/http-server.c, line 268
- external/bsd/libpcap/dist/pcap-bpf.c, line 2700
- external/bsd/libpcap/dist/pcap-linux.c, line 2438
- external/bsd/libpcap/dist/pcap-new.c, 2 times
- external/bsd/libpcap/dist/pcap-usb-linux.c, 4 times
- external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, line 127
- external/bsd/mdocml/dist/compat_fts.c, line 407
- external/bsd/ntp/dist/lib/isc/unix/dir.c, line 117
- external/bsd/ntp/dist/sntp/libopts/compat/pathfind.c, line 72
- external/bsd/nvi/dist/common/exf.c, line 1137
- external/bsd/nvi/dist/common/recover.c, 2 times
- external/bsd/nvi/dist/ex/ex_argv.c, line 556
- external/bsd/openldap/dist/servers/slapd/back-ldif/ldif.c, line 841
- external/bsd/openldap/dist/tests/progs/slapd-tester.c, 2 times
- external/bsd/pkg_install/dist/lib/file.c, 2 times
- external/bsd/pkg_install/dist/lib/iterate.c, 2 times
- external/bsd/pkg_install/dist/lib/remove.c, line 153
- external/bsd/top/dist/machine/m_irix5.c, line 667
- external/bsd/top/dist/machine/m_irixsgi.c, 2 times
- external/bsd/top/dist/machine/m_linux.c, 2 times
- external/bsd/top/dist/machine/m_linuxthr.c, line 721
- external/bsd/top/dist/machine/m_sunos5.c, line 1942
- external/bsd/top/dist/machine/m_svr4.c, line 632
- external/bsd/top/dist/machine/m_svr5.c, line 946
- external/bsd/wpa/dist/hostapd/hostapd_cli.c, 3 times
- external/bsd/wpa/dist/wpa_supplicant/wpa_cli.c, line 4508
- external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/wpagui.cpp, line 293
- external/cddl/osnet/dist/cmd/zpool/zpool_main.c, line 993
- external/cddl/osnet/dist/lib/libdtrace/common/dt_cc.c, line 2220
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, line 1433
- external/cddl/osnet/dist/lib/libzpool/common/sys/zfs_context.h, line 678
- external/gpl2/diffutils/dist/src/dir.c, line 92
- external/gpl2/dtc/dist/fstree.c, line 41
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/backupfile.c, line 151
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, line 436
- external/gpl2/gettext/dist/gnulib-local/lib/backupfile.c, line 151
- external/gpl2/gmake/dist/dir.c, line 678
- external/gpl2/gmake/dist/glob/glob.c, line 1317
- external/gpl2/gmake/dist/vmsdir.h, line 71
- external/gpl2/gmake/dist/w32/compat/dirent.c, line 199
- external/gpl2/grep/dist/lib/savedir.c, line 130
- external/gpl2/lvm2/dist/daemons/cmirrord/functions.c, line 328
- external/gpl2/lvm2/dist/lib/activate/fs.c, line 91
- external/gpl2/lvm2/dist/lib/filters/filter-sysfs.c, line 218
- external/gpl2/lvm2/dist/lib/format_text/format-text.c, line 1010
- external/gpl2/lvm2/dist/lib/misc/lvm-file.c, line 156
- external/gpl2/lvm2/dist/libdm/ioctl/libdm-iface.c, 2 times
- external/gpl2/lvm2/dist/libdm/ioctl/libdm-nbsd-iface.c, line 801
- external/gpl2/lvm2/dist/libdm/libdm-common.c, line 214
- external/gpl2/rcs/dist/src/rcsclean.c, line 302
- external/gpl2/xcvs/dist/diff/system.h, line 298
- external/gpl2/xcvs/dist/lib/getcwd.c, line 115
- external/gpl2/xcvs/dist/lib/glob.c, line 176
- external/gpl2/xcvs/dist/lib/system.h, line 240
- external/gpl3/binutils/dist/bfd/plugin.c, line 358
- external/gpl3/binutils/dist/gold/dirsearch.cc, line 79
- external/gpl3/gcc/dist/libcc1/findcomp.cc, line 50
- external/gpl3/gcc/dist/libcpp/files.c, line 335
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/dir.cc, line 148
- external/gpl3/gdb/dist/bfd/plugin.c, line 393
- external/gpl3/gdb/dist/gdb/common/filestuff.c, 2 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-low.c, line 6402
- external/gpl3/gdb/dist/gdb/gnulib/import/dirent.in.h, 5 times
- external/gpl3/gdb/dist/gdb/gnulib/import/getcwd.c, line 87
- external/gpl3/gdb/dist/gdb/gnulib/import/glob.c, line 86
- external/gpl3/gdb/dist/gdb/linux-fork.c, 2 times
- external/gpl3/gdb/dist/gdb/linux-nat.c, line 4037
- external/gpl3/gdb/dist/gdb/nat/linux-osdata.c, 7 times
- external/gpl3/gdb/dist/gdb/nat/linux-procfs.c, line 303
- external/gpl3/gdb/dist/gdb/nto-procfs.c, line 453
- external/gpl3/gdb/dist/gdb/procfs.c, line 1743
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/create-fail.c, line 46
- external/gpl3/gdb/dist/readline/complete.c, line 2277
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 697
- external/ibm-public/postfix/dist/src/util/scan_dir.c, line 195
- external/mpl/bind/dist/contrib/dlz/modules/filesystem/dir.c, line 93
- external/mpl/bind/dist/fuzz/main.c, line 41
- external/mpl/bind/dist/lib/dns/gen-unix.h, line 74
- external/mpl/bind/dist/lib/isc/unix/dir.c, line 109
- external/public-domain/sqlite/dist/shell.c, line 2692
- external/zlib/pigz/dist/pigz.c, line 3369
- games/fortune/fortune/fortune.c, line 711
- lib/libc/citrus/citrus_module.c, line 219
- lib/libc/compat/gen/compat_readdir.c, 2 times
- lib/libc/gen/fts.c, line 762
- lib/libc/gen/glob.c, line 775
- lib/libc/gen/scandir.c, line 112
- lib/libedit/TEST/tc1.c, 2 times
- lib/libedit/TEST/wtc1.c, 2 times
- lib/libedit/filecomplete.c, line 384
- lib/libp2k/p2k.c, line 314
- lib/libperfuse/ops.c, line 2577
- lib/libperfuse/perfuse.c, line 512
- lib/libpuffs/null.c, line 186
- lib/libpuffs/puffs.c, line 94
- lib/librefuse/refuse.c, 4 times
- libexec/atrun/atrun.c, line 469
- libexec/ftpd/cmds.c, 2 times
- libexec/ftpd/ftpd.c, line 3489
- libexec/httpd/bozohttpd.c, line 1406
- regress/sys/kern/getcwd/old_getcwd.c, 2 times
- sbin/badsect/badsect.c, line 121
- sbin/cgdconfig/cgdconfig.c, line 1254
- sbin/ldconfig/ldconfig.c, line 246
- sbin/mount_qemufwcfg/fwcfg.c, line 182
- sbin/savecore/savecore.c, line 789
- share/examples/puffs/icfs/icfs.c, line 199
- share/examples/puffs/pgfs/mount.c, line 134
- share/examples/puffs/rot13fs/rot13fs.c, line 150
- share/examples/refuse/dbfs/dbfs.c, line 176
- share/examples/refuse/dmesgfs/dmesgfs.c, line 176
- share/examples/refuse/fanoutfs/fanoutfs.c, 2 times
- share/examples/refuse/ian/ian/ian.c, line 245
- share/examples/refuse/ian/libfetch/file.c, line 140
- share/examples/refuse/icfs/icfs.c, 2 times
- share/examples/refuse/id3fs/id3fs.c, line 146
- share/examples/refuse/pcifs/pcifs.c, line 142
- sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c, line 145
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIOPosix.cpp, line 67
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/fs/puffs/puffs_vnops.c, line 1518
- sys/fs/udf/udf_vnops.c, line 643
- tests/fs/puffs/h_dtfs/dtfs.c, line 196
- tests/lib/libc/gen/t_dir.c, 8 times
- usr.bin/at/at.c, 2 times
- usr.bin/cvslatest/cvslatest.c, line 205
- usr.bin/find/function.c, 2 times
- usr.bin/ftp/complete.c, 2 times
- usr.bin/locale/locale.c, line 411
- usr.bin/mail/complete.c, 4 times
- usr.bin/make/dir.c, line 1627
- usr.bin/make/util.c, 4 times
- usr.bin/msgs/msgs.c, 2 times
- usr.bin/patch/backupfile.c, line 116
- usr.bin/rdist/docmd.c, line 499
- usr.bin/rdist/expand.c, line 316
- usr.bin/rdist/server.c, 3 times
- usr.bin/ruptime/ruptime.c, line 124
- usr.bin/rwho/rwho.c, line 127
- usr.sbin/catman/catman.c, line 378
- usr.sbin/lpr/common_source/common.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, line 751
- usr.sbin/makefs/walk.c, line 108
- usr.sbin/makemandb/makemandb.c, line 483
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 161
- usr.sbin/puffs/mount_psshfs/psshfs.c, line 261
- usr.sbin/puffs/mount_sysctlfs/sysctlfs.c, line 288
- usr.sbin/rarpd/rarpd.c, line 548
- usr.sbin/rbootd/parseconf.c, 2 times
- usr.sbin/sup/source/expand.c, line 185
- usr.sbin/sup/source/scan.c, line 719
- usr.sbin/sysinst/aout2elf.c, line 159
- usr.sbin/sysinst/main.c, line 357
- usr.sbin/sysinst/run.c, line 304
- usr.sbin/sysinst/util.c, line 1498
- usr.sbin/user/user.c, line 346
- usr.sbin/ypbind/ypbind.c, line 425
- usr.sbin/ypserv/ypserv/ypserv_proc.c, 2 times