summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_libc.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-09-05 14:48:24 +0000
committerAlexey Samsonov <samsonov@google.com>2012-09-05 14:48:24 +0000
commitd1b8f588d6b712b6ff2b3d58c73d71614f520122 (patch)
tree5e98c4ca675b0e18829b018ed2e12927b179443e /lib/sanitizer_common/sanitizer_libc.h
parent4a78b1e4685f34aa8a53287c51e4215880e554e0 (diff)
[Sanitizer] implement readlink as syscall on Linux
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_libc.h')
-rw-r--r--lib/sanitizer_common/sanitizer_libc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_libc.h b/lib/sanitizer_common/sanitizer_libc.h
index 8c3a78cd5..b1bac7be5 100644
--- a/lib/sanitizer_common/sanitizer_libc.h
+++ b/lib/sanitizer_common/sanitizer_libc.h
@@ -60,6 +60,7 @@ uptr internal_read(fd_t fd, void *buf, uptr count);
uptr internal_write(fd_t fd, const void *buf, uptr count);
uptr internal_filesize(fd_t fd); // -1 on error.
int internal_dup2(int oldfd, int newfd);
+uptr internal_readlink(const char *path, char *buf, uptr bufsize);
int internal_snprintf(char *buffer, uptr length, const char *format, ...);
// Threading