summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/vax/mmap.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-28 00:54:52 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-28 00:54:52 +0000
commit2fb769718703b255e9f6e91daf27650dede80229 (patch)
treeb190163e67cc1881b33a5ba9bb503216f4bae811 /libc/sysdeps/linux/vax/mmap.c
parent5eb1fae2a97ffc88d136502ace050662e57ef34a (diff)
downloaduClibc-alpine-2fb769718703b255e9f6e91daf27650dede80229.tar.bz2
uClibc-alpine-2fb769718703b255e9f6e91daf27650dede80229.tar.xz
Copy from trunk.
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)
+