Defined in 5 files as a prototype:
Defined in 2 files as a member:
Defined in 4 files as a macro:
Defined in 9 files as a function:
Referenced in 111 files:
- bin/cp/utils.c, line 300
- bin/csh/dir.c, 2 times
- bin/ksh/path.c, line 263
- bin/ls/print.c, line 485
- bin/pax/file_subs.c, line 464
- bin/pax/ftree.c, line 693
- crypto/external/bsd/openssh/dist/sftp-server.c, line 1238
- crypto/external/bsd/openssl/dist/apps/rehash.c, line 221
- distrib/utils/tls/tls.c, line 142
- external/bsd/am-utils/dist/amd/nfs_subr.c, 2 times
- external/bsd/dhcpcd/dist/src/logerr.c, line 82
- external/bsd/file/dist/src/fsmagic.c, line 301
- external/bsd/file/dist/src/seccomp.c, line 198
- external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c, line 523
- external/bsd/jemalloc/dist/src/jemalloc.c, line 946
- external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c, 2 times
- external/bsd/libarchive/dist/test_utils/test_main.c, line 1866
- external/bsd/libpcap/dist/pcap-linux.c, line 615
- external/bsd/ntp/dist/ntpd/refclock_nmea.c, line 1914
- external/bsd/ntp/dist/util/ntp-keygen.c, line 283
- external/bsd/pkg_install/dist/admin/check.c, line 133
- external/bsd/pkg_install/dist/create/build.c, line 208
- external/bsd/pkg_install/dist/create/pl.c, 2 times
- external/bsd/pkg_install/dist/lib/plist.c, 2 times
- external/bsd/tmux/dist/osdep-aix.c, line 80
- external/bsd/tmux/dist/osdep-cygwin.c, line 75
- external/bsd/tmux/dist/osdep-linux.c, 2 times
- external/bsd/tmux/dist/osdep-netbsd.c, line 158
- external/bsd/tmux/dist/osdep-sunos.c, line 88
- external/bsd/wpa/dist/src/drivers/driver_wext.c, line 942
- external/bsd/wpa/dist/src/drivers/linux_ioctl.c, 2 times
- external/bsd/wpa/dist/src/utils/trace.c, line 60
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/canonicalize.c, line 81
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/xreadlink.c, line 75
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/canonicalize.c, line 81
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/xreadlink.c, line 75
- external/gpl2/gettext/dist/gnulib-local/lib/canonicalize.c, line 81
- external/gpl2/gettext/dist/gnulib-local/lib/xreadlink.c, line 75
- external/gpl2/gmake/dist/remake.c, line 1417
- external/gpl2/lvm2/dist/lib/device/device.c, line 322
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, line 1113
- external/gpl2/rcs/dist/src/rcsedit.c, line 1261
- external/gpl2/xcvs/dist/lib/xreadlink.c, line 69
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, line 160
- external/gpl3/gcc/dist/libssp/ssp/unistd.h, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, line 1231
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, line 76
- external/gpl3/gdb/dist/gdb/gdbserver/hostio.c, line 581
- external/gpl3/gdb/dist/gdb/gnulib/import/canonicalize-lgpl.c, line 71
- external/gpl3/gdb/dist/gdb/gnulib/import/readlink.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/unistd.in.h, 8 times
- external/gpl3/gdb/dist/gdb/inf-child.c, line 380
- external/gpl3/gdb/dist/gdb/nat/linux-namespaces.c, 2 times
- external/gpl3/gdb/dist/gdb/nat/linux-osdata.c, line 668
- external/gpl3/gdb/dist/gdb/nat/linux-procfs.c, line 352
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, line 60
- external/gpl3/gdb/dist/gdb/procfs.c, line 3228
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/sym-file-loader.c, line 160
- external/gpl3/gdb/dist/gdb/windows-nat.c, line 2132
- external/gpl3/gdb/dist/sim/cris/traps.c, line 2810
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 690
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink1.c, line 15
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink10.c, line 12
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink2.c, line 19
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink4.c, line 50
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink9.c, line 17
- external/public-domain/sqlite/dist/shell.c, line 2756
- external/public-domain/sqlite/dist/sqlite3.c, line 32888
- include/ssp/unistd.h, line 42
- lib/libc/gen/getcwd.c, line 184
- lib/libc/stdlib/jemalloc.c, line 3458
- lib/libc/stdlib/malloc.c, line 476
- lib/libc/time/zic.c, line 1086
- lib/libp2k/p2k.c, line 315
- lib/libperfuse/perfuse.c, line 513
- lib/libpuffs/null.c, 2 times
- lib/libpuffs/puffs.c, line 95
- lib/librefuse/refuse.c, 3 times
- lib/libutil/getdiskrawname.c, line 50
- lib/libutil/login_cap.c, line 624
- libexec/ftpd/cmds.c, line 887
- libexec/httpd/bozohttpd.c, line 1520
- sbin/fsck/fsutil.c, line 198
- share/examples/puffs/pgfs/mount.c, line 148
- share/examples/refuse/dmesgfs/dmesgfs.c, line 175
- share/examples/refuse/fanoutfs/fanoutfs.c, 2 times
- share/examples/refuse/ian/ian/ian.c, line 244
- share/examples/refuse/icfs/icfs.c, 2 times
- share/examples/refuse/id3fs/id3fs.c, line 145
- share/examples/refuse/pcifs/pcifs.c, line 141
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc, line 404
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, line 186
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_solaris.cc, 2 times
- sys/fs/puffs/puffs_vnops.c, 3 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 1077
- sys/rump/net/lib/libshmif/shmif_user.c, line 131
- tests/fs/puffs/h_dtfs/dtfs.c, line 206
- tests/lib/libc/ssp/h_readlink.c, line 44
- usr.bin/find/ls.c, line 118
- usr.bin/rdist/server.c, 2 times
- usr.bin/stat/stat.c, line 915
- usr.sbin/catman/catman.c, 2 times
- usr.sbin/makefs/walk.c, line 225
- usr.sbin/mtree/compare.c, line 572
- usr.sbin/puffs/mount_psshfs/psshfs.c, line 266
- usr.sbin/sup/source/supcmeat.c, line 951
- usr.sbin/sup/source/supfilesrv.c, line 1273
- usr.sbin/sysinst/aout2elf.c, line 372
- usr.sbin/sysinst/util.c, line 1556