Defined in 3 files as a prototype:
Defined in 2 files as a function:
Referenced in 131 files:
- bin/rcp/rcp.c, line 445
- bin/sh/expand.c, line 1152
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1163
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, line 2257
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1347
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, line 864
- 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 1651
- contrib/bmake/util.c, line 315
- contrib/dialog/fselect.c, line 479
- contrib/diff/src/dir.c, line 79
- contrib/dma/spool.c, line 291
- 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 2365
- contrib/libarchive/tar/test/test_copy.c, line 249
- contrib/libc++/src/experimental/filesystem/directory_iterator.cpp, line 142
- contrib/libpcap/pcap-bpf.c, line 2576
- contrib/libpcap/pcap-linux.c, line 2330
- contrib/libpcap/pcap-new.c, line 246
- contrib/libpcap/pcap-usb-linux.c, 3 times
- contrib/libreadline/complete.c, line 1981
- contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp, line 120
- contrib/mdocml/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 658
- 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 447
- 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/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, 2 times
- contrib/wpa/src/common/wpa_ctrl.c, line 262
- contrib/wpa/wpa_supplicant/wpa_cli.c, line 4206
- 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 876
- crypto/openssh/sftp-client.c, line 1829
- crypto/openssh/sftp-server.c, line 1016
- crypto/openssl/crypto/LPdir_unix.c, line 84
- gnu/usr.bin/grep/savedir.c, line 114
- gnu/usr.bin/rcs/rcsclean/rcsclean.c, line 298
- lib/libc/gen/fts-compat.c, line 653
- lib/libc/gen/fts.c, line 651
- lib/libc/gen/glob.c, line 997
- lib/libc/gen/scandir.c, line 88
- lib/libc/iconv/citrus_module.c, line 196
- 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 131
- libexec/atrun/atrun.c, line 523
- libexec/ftpd/ftpd.c, line 3246
- libexec/rbootd/parseconf.c, line 328
- libexec/rtld-aout/shlib.c, line 265
- libexec/rtld-elf/libmap.c, line 166
- 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/atm/atmconfig/main.c, line 172
- sbin/badsect/badsect.c, line 103
- sbin/devd/devd.cc, line 460
- sbin/ldconfig/elfhints.c, line 112
- sbin/ldconfig/ldconfig.c, line 294
- share/examples/sunrpc/dir/dir_proc.c, line 26
- stand/userboot/test/test.c, line 129
- usr.bin/at/at.c, 2 times
- usr.bin/find/function.c, line 566
- usr.bin/fortune/fortune/fortune.c, line 708
- usr.bin/locale/locale.c, line 419
- usr.bin/localedef/localedef.c, line 331
- usr.bin/msgs/msgs.c, line 279
- usr.bin/patch/backupfile.c, line 101
- usr.bin/ruptime/ruptime.c, line 109
- usr.bin/rwho/rwho.c, line 124
- usr.bin/whereis/whereis.c, line 330
- usr.sbin/bhyveload/bhyveload.c, line 176
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 324
- usr.sbin/config/main.c, line 623
- usr.sbin/cpucontrol/cpucontrol.c, line 400
- usr.sbin/cron/cron/database.c, 3 times
- usr.sbin/gssd/gssd.c, line 1024
- usr.sbin/kbdmap/kbdmap.c, line 723
- usr.sbin/lpr/common_source/common.c, line 128
- usr.sbin/lpr/lpc/cmds.c, line 1088
- usr.sbin/lpr/lpd/lpd.c, line 634
- usr.sbin/lpr/lpq/lpq.c, line 177
- usr.sbin/makefs/walk.c, line 94
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pkg/config.c, line 391
- usr.sbin/pkg/pkg.c, line 378
- usr.sbin/pw/pw_user.c, line 687
- usr.sbin/rarpd/rarpd.c, line 612
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, line 263
- usr.sbin/ypbind/ypbind.c, line 431
- usr.sbin/ypserv/yp_server.c, line 691