Symbol: readlink
bin/cp/utils.c
269
if ((len = readlink(p->fts_path, llink, sizeof(llink) - 1)) == -1) {
bin/ls/print.c
740
if ((lnklen = readlink(name, path, sizeof(path) - 1)) == -1) {
bin/pax/ftree.c
469
if ((cnt = readlink(ftent->fts_path, arcn->ln_name,
crypto/heimdal/appl/ftp/ftpd/ls.c
300
n = readlink((char *)filename, buf, sizeof(buf) - 1);
crypto/openssh/sftp-realpath.c
173
slen = readlink(resolved, symlink, sizeof(symlink) - 1);
crypto/openssh/sftp-server.c
1332
if ((len = readlink(path, buf, sizeof(buf) - 1)) == -1)
crypto/openssl/apps/rehash.c
224
n = readlink(fullpath, linktarget, sizeof(linktarget));
include/ssp/unistd.h
72
__ssp_redirect(ssize_t, readlink, (const char *__restrict __path, \
include/unistd.h
413
ssize_t readlink(const char * __restrict, char * __restrict, size_t);
lib/libc/gen/check_utility_compat.c
55
if ((len = readlink(_PATH_UTIL_COMPAT, buf, sizeof(buf) - 1)) < 0)
lib/libc/stdlib/realpath.c
157
slen = readlink(resolved, symlink, sizeof(symlink));
lib/libc/tests/secure/fortify_unistd_test.c
1087
readlink(path, __stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1111
readlink(path, __stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1136
readlink(path, __stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1161
readlink(path, __stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1195
readlink(path, __stack.__buf, __len);
lib/libc/tests/stdlib/system_test.c
144
while (readlink(fn, fn, sizeof(fn)) > 0)
tests/sys/aio/aio_test.c
835
n = readlink(MDUNIT_LINK, buf, sizeof(buf) - 1);
tests/sys/audit/file-read.c
50
ATF_REQUIRE(readlink(path, buff, sizeof(buff)-1) != -1);
tests/sys/audit/file-read.c
72
ATF_REQUIRE_EQ(-1, readlink(path, buff, sizeof(buff)-1));
tests/sys/capsicum/capmode.cc
85
EXPECT_CAPMODE(readlink(TmpFile("cap_capmode_readlink"), buf, sizeof(buf)));
tests/sys/fs/fusefs/readlink.cc
115
EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf)));
tests/sys/fs/fusefs/readlink.cc
136
readlink(FULLPATH, buf, sizeof(buf)));
tests/sys/fs/fusefs/readlink.cc
140
TEST_F(PushSymlinksIn, readlink)
tests/sys/fs/fusefs/readlink.cc
160
readlink(FULLPATH, buf, sizeof(buf)));
tests/sys/fs/fusefs/readlink.cc
78
EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf)));
tests/sys/kern/kern_descrip_test.c
189
if ((n = readlink(VALUE, buf, sizeof(buf))) > 0) {
tests/sys/kern/sigsys.c
86
if ((n = readlink(SAVEDVALUE, buf, sizeof(buf))) > 0) {
tools/regression/security/cap_test/cap_test_capmode.c
100
CHECK_CAPMODE(readlink, "/tmp/cap_capmode_readlink", NULL, 0);
tools/test/stress2/lib/options.c
254
if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) {
tools/test/stress2/lib/options.c
257
if ((n = readlink(path, buf, sizeof(buf) -1)) > 0)
tools/tools/syscall_timing/syscall_timing.c
850
rv = readlink(path, buf, sizeof(buf));
usr.bin/cmp/link.c
51
if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) {
usr.bin/cmp/link.c
58
if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) {
usr.bin/diff/diffdir.c
293
len1 = readlink(path1, buf1, sizeof(buf1));
usr.bin/diff/diffdir.c
294
len2 = readlink(path2, buf2, sizeof(buf2));
usr.bin/find/function.c
1205
len = readlink(entry->fts_accpath, fn, sizeof(fn) - 1);
usr.bin/find/ls.c
113
if ((lnklen = readlink(name, path, MAXPATHLEN - 1)) == -1) {
usr.bin/find/printf.c
249
ret = readlink(entry->fts_accpath, buf, sizeof(buf));
usr.bin/stat/stat.c
816
l = readlink(file, path + 4, sizeof(path) - 4 - 1);
usr.sbin/lpr/lpc/cmds.c
808
res = readlink(name, linkbuf, sizeof(linkbuf));
usr.sbin/makefs/walk.c
225
llen = readlink(path, slink, sizeof(slink) - 1);