about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/readlink.c')
-rw-r--r--sysdeps/unix/sysv/aix/readlink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/readlink.c b/sysdeps/unix/sysv/aix/readlink.c
new file mode 100644
index 0000000000..2770358b98
--- /dev/null
+++ b/sysdeps/unix/sysv/aix/readlink.c
@@ -0,0 +1,8 @@
+/* This is a system call.  We only have to provide the wrapper.  */
+#include <unistd.h>
+
+int
+__readlink (const char *path, char *buf, size_t len)
+{
+  return readlink (path, buf, len);
+}