Defined in 5 files as a prototype:
Defined in 1 files as a function:
Referenced in 126 files:
- bin/rcp/rcp.c, 3 times
- bin/sh/expand.c, line 1192
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1174
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2321
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1355
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, line 906
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c, line 1417
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c, 2 times
- contrib/amd/amd/info_union.c, line 128
- contrib/amd/hlfsd/hlfsd.c, line 379
- contrib/apr/file_io/unix/dir.c, line 30
- contrib/atf/atf-c++/detail/fs.cpp, line 429
- contrib/bmake/dir.c, line 1671
- contrib/bmake/util.c, 3 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/dialog/fselect.c, line 489
- contrib/diff/src/dir.c, 3 times
- contrib/dma/spool.c, line 336
- contrib/dtc/fstree.c, line 78
- contrib/file/src/apprentice.c, 3 times
- contrib/gcclibs/libcpp/files.c, line 291
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 182
- contrib/gdb/gdb/nto-procfs.c, 3 times
- contrib/gdb/gdb/procfs.c, line 3215
- contrib/libarchive/libarchive/archive_read_disk_posix.c, 3 times
- contrib/libarchive/tar/test/test_copy.c, line 275
- contrib/libc++/src/experimental/filesystem/directory_iterator.cpp, line 175
- contrib/libpcap/pcap-bpf.c, 3 times
- contrib/libpcap/pcap-linux.c, 2 times
- contrib/libpcap/pcap-usb-linux.c, 3 times
- contrib/libreadline/complete.c, 2 times
- contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, 2 times
- contrib/mdocml/compat_fts.c, 3 times
- contrib/ncurses/progs/toe.c, 4 times
- contrib/netbsd-tests/lib/libc/gen/t_dir.c, 3 times
- contrib/ntp/lib/isc/unix/dir.c, line 144
- contrib/ntp/sntp/libopts/compat/pathfind.c, line 96
- contrib/nvi/common/exf.c, line 1136
- contrib/nvi/common/recover.c, 2 times
- contrib/nvi/ex/ex_argv.c, line 642
- contrib/ofed/infiniband-diags/src/rdma-ndd.c, line 186
- contrib/ofed/libibverbs/verbs.c, line 670
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_pfs.c, line 98
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_sim.c, line 137
- contrib/openbsm/bin/auditdistd/trail.c, line 147
- contrib/openbsm/libauditd/auditd_lib.c, line 542
- contrib/sendmail/src/mci.c, 2 times
- contrib/sendmail/src/queue.c, 3 times
- contrib/tcsh/glob.c, line 654
- contrib/tcsh/sh.c, 2 times
- contrib/tcsh/sh.misc.c, line 557
- contrib/tcsh/tc.os.c, 3 times
- contrib/tnftp/src/complete.c, line 224
- contrib/wpa/hostapd/hostapd_cli.c, 2 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4227
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 2319
- crypto/heimdal/appl/ftp/ftpd/ls.c, 3 times
- crypto/heimdal/appl/rcp/rcp.c, 3 times
- crypto/heimdal/lib/hx509/ks_dir.c, line 198
- crypto/heimdal/lib/krb5/kuserok.c, 3 times
- crypto/heimdal/lib/krb5/plugin.c, 2 times
- crypto/heimdal/lib/roken/glob.c, line 629
- crypto/openssh/openbsd-compat/bsd-closefrom.c, line 87
- crypto/openssh/openbsd-compat/getcwd.c, 2 times
- crypto/openssh/openbsd-compat/glob.c, line 776
- crypto/openssh/scp.c, 3 times
- crypto/openssh/sftp-client.c, line 1869
- crypto/openssh/sftp-server.c, 2 times
- crypto/openssl/crypto/LPdir_unix.c, line 108
- gnu/usr.bin/grep/savedir.c, 4 times
- gnu/usr.bin/rcs/rcsclean/rcsclean.c, 2 times
- lib/libc/gen/fts-compat.c, 3 times
- lib/libc/gen/fts.c, 2 times
- lib/libc/gen/getcwd.c, 3 times
- lib/libc/gen/glob.c, line 818
- lib/libc/gen/scandir.c, 2 times
- lib/libc/iconv/citrus_module.c, line 249
- lib/libc/tests/gen/dir2_test.c, 2 times
- lib/libedit/TEST/tc1.c, line 118
- lib/libedit/TEST/wtc1.c, line 107
- lib/libedit/filecomplete.c, 2 times
- lib/libfetch/file.c, line 152
- libexec/atrun/atrun.c, line 574
- libexec/ftpd/ftpd.c, 2 times
- libexec/rbootd/parseconf.c, line 352
- libexec/rtld-aout/shlib.c, line 313
- libexec/rtld-elf/libmap.c, line 194
- release/picobsd/tinyware/aps/main.c, line 99
- release/picobsd/tinyware/msh/sh4.c, line 524
- sbin/atm/atmconfig/main.c, 3 times
- sbin/badsect/badsect.c, line 114
- sbin/devd/devd.cc, line 472
- sbin/ldconfig/elfhints.c, line 140
- sbin/ldconfig/ldconfig.c, line 339
- share/examples/sunrpc/dir/dir_proc.c, line 53
- stand/userboot/test/test.c, line 155
- usr.bin/at/at.c, 2 times
- usr.bin/find/function.c, line 576
- usr.bin/locale/locale.c, line 434
- usr.bin/localedef/localedef.c, line 337
- usr.bin/msgs/msgs.c, line 319
- usr.bin/patch/backupfile.c, line 116
- usr.bin/whereis/whereis.c, line 375
- usr.sbin/bhyveload/bhyveload.c, line 202
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 388
- usr.sbin/config/main.c, line 647
- usr.sbin/cpucontrol/cpucontrol.c, line 419
- usr.sbin/cron/cron/database.c, 3 times
- usr.sbin/gssd/gssd.c, line 1055
- usr.sbin/kbdmap/kbdmap.c, line 746
- usr.sbin/lpr/common_source/common.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, line 1097
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/lpr/lpq/lpq.c, 2 times
- usr.sbin/makefs/walk.c, line 214
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pkg/config.c, line 413
- usr.sbin/pkg/pkg.c, line 395
- usr.sbin/pw/cpdir.c, line 124
- usr.sbin/pw/pw_user.c, line 706
- usr.sbin/pw/rm_r.c, line 71
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 2 times
- usr.sbin/ypbind/ypbind.c, line 439
- usr.sbin/ypserv/yp_server.c, 3 times