From 5303a70090343a1d45886d70265d02f50b86627b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Jul 2005 00:30:56 +0000 Subject: the generic mmap.c is not good enough for us, we need the syscall6() version --- libc/sysdeps/linux/x86_64/mmap.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libc/sysdeps/linux/x86_64/mmap.c (limited to 'libc/sysdeps/linux/x86_64/mmap.c') diff --git a/libc/sysdeps/linux/x86_64/mmap.c b/libc/sysdeps/linux/x86_64/mmap.c new file mode 100644 index 000000000..117d93ddc --- /dev/null +++ b/libc/sysdeps/linux/x86_64/mmap.c @@ -0,0 +1,17 @@ +/* vi: set sw=4 ts=4: */ +/* + * mmap() for uClibc/x86_64 + * + * Copyright (C) 2005 by Erik Andersen + * Copyright (C) 2005 by Mike Frysinger + * + * GNU Library General Public License (LGPL) version 2 or later. + */ + +#include +#include +#include +#include + +_syscall6(void *, mmap, void *, start, size_t, length, int, prot, + int, flags, int, fd, off_t, offset); -- cgit v1.2.3