about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/mmap.c')
-rw-r--r--sysdeps/unix/sysv/aix/mmap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/mmap.c b/sysdeps/unix/sysv/aix/mmap.c
new file mode 100644
index 0000000000..cd967d36bc
--- /dev/null
+++ b/sysdeps/unix/sysv/aix/mmap.c
@@ -0,0 +1,9 @@
+/* This is a system call.  We only have to provide the wrapper.  */
+#include <sys/mman.h>
+#include <sys/types.h>
+
+void *
+__mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset)
+{
+  return mmap (addr, len, prot, flags, fd, offset);
+}