From 81b480369b905229c8dad41755c82aea0faca1e7 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 Oct 2012 15:57:41 +0100 Subject: symlink: Use symlinkat if arch does not have the symlink syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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, -- cgit v1.2.3