AIX implementation of mmap.
authorUlrich Drepper <drepper@redhat.com>
Tue, 21 Mar 2000 01:18:01 +0000 (01:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 21 Mar 2000 01:18:01 +0000 (01:18 +0000)
sysdeps/unix/sysv/aix/mmap.c [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/aix/mmap.c b/sysdeps/unix/sysv/aix/mmap.c
new file mode 100644 (file)
index 0000000..cd967d3
--- /dev/null
@@ -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);
+}