diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 00:05:42 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 00:05:42 +0000 |
commit | 6a1ab873e60cdd97a642b04096099d36106f9b10 (patch) | |
tree | c73fc5490dd4cdbdf33bd45a1729166d47bf80f4 /libc/sysdeps/linux/hppa/mmap.c | |
parent | 64e0bd18d640695c505eba1b231922f2e87cfa28 (diff) | |
download | uClibc-alpine-6a1ab873e60cdd97a642b04096099d36106f9b10.tar.bz2 uClibc-alpine-6a1ab873e60cdd97a642b04096099d36106f9b10.tar.xz |
Copy from trunk.
Diffstat (limited to 'libc/sysdeps/linux/hppa/mmap.c')
-rw-r--r-- | libc/sysdeps/linux/hppa/mmap.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/hppa/mmap.c b/libc/sysdeps/linux/hppa/mmap.c new file mode 100644 index 000000000..117d93ddc --- /dev/null +++ b/libc/sysdeps/linux/hppa/mmap.c @@ -0,0 +1,17 @@ +/* vi: set sw=4 ts=4: */ +/* + * mmap() for uClibc/x86_64 + * + * Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2005 by Mike Frysinger <vapier@gentoo.org> + * + * GNU Library General Public License (LGPL) version 2 or later. + */ + +#include <errno.h> +#include <unistd.h> +#include <sys/mman.h> +#include <sys/syscall.h> + +_syscall6(void *, mmap, void *, start, size_t, length, int, prot, + int, flags, int, fd, off_t, offset); |