Defined in 7 files as a prototype:
Defined in 3 files as a function:
Referenced in 133 files:
- bin/sh/expand.c, line 1193
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1179
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2278
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1355
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, line 902
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c, line 1409
- 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 1640
- contrib/bmake/util.c, 3 times
- contrib/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 77
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/dialog/fselect.c, line 493
- contrib/diff/src/dir.c, 3 times
- contrib/dma/spool.c, line 337
- 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/filesystem/directory_iterator.cpp, line 218
- contrib/libevent/sample/http-server.c, line 282
- contrib/libpcap/pcap-bpf.c, 3 times
- contrib/libpcap/pcap-linux.c, 2 times
- contrib/libpcap/pcap-usb-linux.c, 4 times
- contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, 2 times
- contrib/mandoc/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 686
- 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 548
- contrib/openmp/runtime/src/z_Linux_util.cpp, 3 times
- contrib/sendmail/src/mci.c, 2 times
- contrib/sendmail/src/queue.c, 3 times
- contrib/sqlite3/shell.c, 4 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, 3 times
- contrib/wpa/src/common/wpa_ctrl.c, 2 times
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4590
- 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 1883
- crypto/openssh/sftp-server.c, 2 times
- crypto/openssl/crypto/LPdir_unix.c, line 155
- gnu/usr.bin/grep/savedir.c, 4 times
- lib/libc/gen/fts-compat.c, 3 times
- lib/libc/gen/fts-compat11.c, 2 times
- lib/libc/gen/fts.c, 2 times
- lib/libc/gen/getcwd.c, 3 times
- lib/libc/gen/glob-compat11.c, line 788
- lib/libc/gen/glob.c, line 819
- lib/libc/gen/scandir-compat11.c, 2 times
- lib/libc/gen/scandir.c, 2 times
- lib/libc/iconv/citrus_module.c, line 251
- 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 154
- lib/libpmc/pmu-events/jevents.c, line 912
- lib/libsecureboot/veta.c, line 94
- libexec/atrun/atrun.c, line 577
- libexec/ftpd/ftpd.c, 2 times
- libexec/rbootd/parseconf.c, line 354
- libexec/rtld-aout/shlib.c, line 315
- libexec/rtld-elf/libmap.c, line 192
- release/picobsd/tinyware/aps/main.c, line 99
- release/picobsd/tinyware/msh/sh4.c, line 524
- sbin/devd/devd.cc, line 489
- sbin/ldconfig/elfhints.c, line 140
- sbin/ldconfig/ldconfig.c, line 339
- sbin/nvmecontrol/nvmecontrol.c, line 330
- share/examples/sunrpc/dir/dir_proc.c, line 53
- stand/liblua/lfs.c, 2 times
- stand/userboot/test/test.c, line 155
- sys/contrib/zstd/programs/util.c, 4 times
- usr.bin/at/at.c, 2 times
- usr.bin/find/function.c, line 584
- usr.bin/locale/locale.c, line 434
- usr.bin/localedef/localedef.c, line 359
- usr.bin/msgs/msgs.c, line 321
- usr.bin/patch/backupfile.c, line 116
- usr.bin/whereis/whereis.c, line 375
- usr.sbin/bhyveload/bhyveload.c, line 210
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 388
- usr.sbin/config/main.c, line 652
- usr.sbin/cpucontrol/cpucontrol.c, 2 times
- usr.sbin/cron/cron/database.c, 3 times
- usr.sbin/gssd/gssd.c, line 1056
- usr.sbin/kbdmap/kbdmap.c, line 745
- usr.sbin/lpr/common_source/common.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, line 1099
- usr.sbin/lpr/lpd/lpd.c, 2 times
- usr.sbin/lpr/lpq/lpq.c, 2 times
- usr.sbin/makefs/walk.c, line 215
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pkg/config.c, line 413
- usr.sbin/pkg/pkg.c, line 394
- 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