Searched refs:readlink (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/bionic/
H A D__readlink_chk.cpp35 __fortify_chk_fail("readlink: prevented write past end of buffer", 0);
39 __fortify_chk_fail("readlink: size > SSIZE_MAX", 0);
42 return readlink(path, buf, size);
H A Dreadlink.cpp36 ssize_t readlink(const char* path, char* buf, size_t size) { function
H A Dpty.cpp101 ssize_t count = readlink(path, buf, len);
H A Dmalloc_debug_check.cpp609 if ((count = readlink("/proc/self/exe", exe, sizeof(exe) - 1)) == -1) {
/bionic/libc/include/
H A Dunistd.h139 extern ssize_t readlink(const char*, char*, size_t);
243 __errordecl(__readlink_dest_size_error, "readlink called with size bigger than destination");
244 __errordecl(__readlink_size_toobig_error, "readlink called with size > SSIZE_MAX");
245 extern ssize_t __readlink_real(const char*, char*, size_t) __RENAME(readlink); variable
336 ssize_t readlink(const char* path, char* buf, size_t size) { function
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
H A Drealpath.c176 slen = readlink(resolved, symlink, sizeof(symlink) - 1);
/bionic/tools/relocation_packer/src/
H A Delf_file_unittest.cc27 ASSERT_NE(-1, readlink("/proc/self/exe", path, sizeof(path) - 1));
/bionic/tests/
H A Dstdlib_test.cpp184 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path));
H A Ddlfcn_test.cpp800 rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path));
H A Dfortify_test.cpp653 ASSERT_FORTIFY(readlink("/dev/null", buf, ct));
H A Dgtest_main.cpp854 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path));
856 perror("readlink");
/bionic/linker/
H A Dlinker.cpp320 if (readlink(&proc_self_fd[0], &buf[0], buf.size()) == -1) {
321 PRINT("readlink('%s') failed: %s [fd=%d]", &proc_self_fd[0], strerror(errno), fd);
/bionic/libc/
H A DAndroid.mk178 bionic/readlink.cpp \

Completed in 125 milliseconds