summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/vax/mmap.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:59:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:59:03 +0000
commit045e848884a7d1d8b9634b29c2d0536d7c6bd8b2 (patch)
tree116b4a718b9e58c412aa2e27427e527a4db575d8 /libc/sysdeps/linux/vax/mmap.c
parent4390d8e705e11eec6c2eed552ceea25277fdbde3 (diff)
Rename _mmap.c to mmap.c so that vax does not pick up both common and arch specific mmap
Diffstat (limited to 'libc/sysdeps/linux/vax/mmap.c')
-rw-r--r--libc/sysdeps/linux/vax/mmap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/vax/mmap.c b/libc/sysdeps/linux/vax/mmap.c
new file mode 100644
index 000000000..41bfb79f1
--- /dev/null
+++ b/libc/sysdeps/linux/vax/mmap.c
@@ -0,0 +1,11 @@
+
+#include <unistd.h>
+#include <sys/mman.h>
+#include <errno.h>
+#include <sys/syscall.h>
+
+libc_hidden_proto(mmap)
+_syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags,
+ int, fd, off_t, offset);
+libc_hidden_def(mmap)
+