summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 15:57:41 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commit81b480369b905229c8dad41755c82aea0faca1e7 (patch)
tree7561fe91fc28ab23bb46bcff98b987566fc9d9e3 /include
parente07db64b78c3905baf3aaeb582899f78ab306781 (diff)
symlink: Use symlinkat if arch does not have the symlink 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')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 175a5826e..8f2a09a62 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -909,6 +909,7 @@ libc_hidden_proto(readlink)
/* Like symlink but a relative path in TO is interpreted relative to TOFD. */
extern int symlinkat (const char *__from, int __tofd,
const char *__to) __THROW __nonnull ((1, 3)) __wur;
+libc_hidden_proto(symlinkat)
/* Like readlink but a relative PATH is interpreted relative to FD. */
extern ssize_t readlinkat (int __fd, const char *__restrict __path,