summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 15:50:28 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commite07db64b78c3905baf3aaeb582899f78ab306781 (patch)
treed423ebcc160ca702aa83feeeacdf5cee556a7502 /include/unistd.h
parent3a5be53a84ac68255fbcecb73b8fe58a35550c26 (diff)
readlink: Use readlinkat if arch does not have the readlink syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index dbf1a9bd7..175a5826e 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -914,6 +914,7 @@ extern int symlinkat (const char *__from, int __tofd,
extern ssize_t readlinkat (int __fd, const char *__restrict __path,
char *__restrict __buf, size_t __len)
__THROW __nonnull ((2, 3)) __wur;
+libc_hidden_proto(readlinkat)
#endif
/* Remove the link NAME. */