Defined in 5 files as a prototype:
Defined in 4 files as a function:
Referenced in 137 files:
- bin/sh/expand.c, line 1153
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1168
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2214
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1347
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, line 860
- contrib/amd/amd/info_union.c, line 108
- contrib/amd/hlfsd/hlfsd.c, line 363
- contrib/apr/file_io/unix/dir.c, line 82
- contrib/atf/atf-c++/detail/fs.cpp, line 418
- contrib/bmake/dir.c, line 1620
- contrib/bmake/util.c, line 315
- contrib/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 62
- contrib/dialog/fselect.c, line 479
- contrib/diff/src/dir.c, line 79
- contrib/dma/spool.c, line 292
- contrib/dtc/fstree.c, line 33
- contrib/file/src/apprentice.c, line 1355
- contrib/gcclibs/libcpp/files.c, line 272
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 181
- contrib/gdb/gdb/nto-procfs.c, line 270
- contrib/gdb/gdb/procfs.c, line 3252
- contrib/libarchive/libarchive/archive_read_disk_posix.c, line 2427
- contrib/libarchive/tar/test/test_copy.c, line 249
- contrib/libc++/src/filesystem/directory_iterator.cpp, line 179
- contrib/libevent/sample/http-server.c, line 245
- contrib/libpcap/pcap-bpf.c, line 2673
- contrib/libpcap/pcap-linux.c, line 2404
- contrib/libpcap/pcap-new.c, line 224
- contrib/libpcap/pcap-usb-linux.c, 4 times
- contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, line 121
- contrib/mandoc/compat_fts.c, line 375
- contrib/ncurses/progs/toe.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_dir.c, 3 times
- contrib/ntp/lib/isc/unix/dir.c, line 90
- contrib/ntp/sntp/libopts/compat/pathfind.c, line 61
- contrib/nvi/common/exf.c, 2 times
- contrib/nvi/common/recover.c, 2 times
- contrib/nvi/ex/ex_argv.c, line 601
- contrib/ofed/infiniband-diags/src/rdma-ndd.c, line 168
- contrib/ofed/libibverbs/verbs.c, line 674
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_pfs.c, line 89
- contrib/ofed/opensm/libvendor/osm_vendor_mlx_hca_sim.c, line 127
- contrib/openbsm/bin/auditdistd/receiver.c, line 598
- contrib/openbsm/bin/auditdistd/trail.c, 2 times
- contrib/openbsm/libauditd/auditd_lib.c, line 453
- contrib/openmp/runtime/src/z_Linux_util.cpp, 2 times
- contrib/opie/glob.c, line 368
- contrib/opie/opieftpd.c, line 1475
- contrib/sendmail/src/mci.c, line 1167
- contrib/sendmail/src/queue.c, 2 times
- contrib/sqlite3/shell.c, line 2711
- contrib/tcsh/glob.c, 2 times
- contrib/tcsh/sh.c, line 2287
- contrib/tcsh/sh.exec.c, line 704
- contrib/tcsh/sh.file.c, line 529
- contrib/tcsh/tc.os.c, 2 times
- contrib/tcsh/tw.init.c, 4 times
- contrib/tcsh/tw.parse.c, 2 times
- contrib/tnftp/src/complete.c, line 200
- contrib/wpa/hostapd/hostapd_cli.c, 3 times
- contrib/wpa/src/common/wpa_ctrl.c, line 276
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4569
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 2281
- crypto/heimdal/appl/ftp/ftpd/ls.c, line 764
- crypto/heimdal/appl/rcp/rcp.c, line 367
- crypto/heimdal/lib/hx509/ks_dir.c, line 110
- crypto/heimdal/lib/krb5/kuserok.c, line 134
- crypto/heimdal/lib/krb5/plugin.c, 2 times
- crypto/heimdal/lib/roken/glob.c, line 771
- crypto/openssh/openbsd-compat/bsd-closefrom.c, line 80
- crypto/openssh/openbsd-compat/getcwd.c, line 148
- crypto/openssh/openbsd-compat/glob.c, line 998
- crypto/openssh/scp.c, line 1175
- crypto/openssh/sftp-client.c, line 1841
- crypto/openssh/sftp-server.c, line 1016
- crypto/openssl/crypto/LPdir_unix.c, line 112
- gnu/usr.bin/grep/savedir.c, line 114
- lib/libc/gen/fts-compat.c, line 654
- lib/libc/gen/fts-compat11.c, line 651
- lib/libc/gen/fts.c, line 648
- lib/libc/gen/glob-compat11.c, line 980
- lib/libc/gen/glob.c, line 1011
- lib/libc/gen/scandir-compat11.c, line 83
- lib/libc/gen/scandir.c, line 77
- lib/libc/iconv/citrus_module.c, line 198
- lib/libedit/TEST/tc1.c, line 91
- lib/libedit/TEST/wtc1.c, line 65
- lib/libedit/filecomplete.c, line 213
- lib/libfetch/file.c, line 133
- lib/libpmc/pmu-events/jevents.c, line 886
- lib/libsecureboot/veta.c, line 82
- libexec/atrun/atrun.c, line 526
- libexec/ftpd/ftpd.c, line 3248
- libexec/rbootd/parseconf.c, line 330
- libexec/rtld-aout/shlib.c, line 267
- libexec/rtld-elf/libmap.c, line 164
- libexec/rtld-elf/tests/ld_library_pathfds.c, 2 times
- release/picobsd/tinyware/aps/main.c, line 53
- release/picobsd/tinyware/msh/sh4.c, line 493
- sbin/devd/devd.cc, line 477
- sbin/ldconfig/elfhints.c, line 112
- sbin/ldconfig/ldconfig.c, line 294
- sbin/nvmecontrol/nvmecontrol.c, line 302
- share/examples/sunrpc/dir/dir_proc.c, line 26
- stand/liblua/lfs.c, line 161
- stand/userboot/test/test.c, line 129
- sys/contrib/zstd/programs/util.c, line 234
- usr.bin/at/at.c, 2 times
- usr.bin/find/function.c, line 574
- usr.bin/fortune/fortune/fortune.c, line 708
- usr.bin/locale/locale.c, line 419
- usr.bin/localedef/localedef.c, line 353
- usr.bin/msgs/msgs.c, line 281
- usr.bin/patch/backupfile.c, line 101
- usr.bin/ruptime/ruptime.c, line 112
- usr.bin/rwho/rwho.c, line 127
- usr.bin/whereis/whereis.c, line 330
- usr.sbin/bhyveload/bhyveload.c, line 184
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 324
- usr.sbin/config/main.c, line 628
- usr.sbin/cron/cron/database.c, 3 times
- usr.sbin/gssd/gssd.c, line 1025
- usr.sbin/kbdmap/kbdmap.c, line 722
- usr.sbin/lpr/common_source/common.c, line 130
- usr.sbin/lpr/lpc/cmds.c, line 1090
- usr.sbin/lpr/lpd/lpd.c, line 636
- usr.sbin/lpr/lpq/lpq.c, line 179
- usr.sbin/makefs/walk.c, line 95
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pkg/config.c, line 391
- usr.sbin/pkg/pkg.c, line 377
- usr.sbin/pw/pw_user.c, line 687
- usr.sbin/rarpd/rarpd.c, line 612
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, line 265
- usr.sbin/ypbind/ypbind.c, line 431
- usr.sbin/ypserv/yp_server.c, line 693