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