OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / x86_64 / mmap.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * mmap() for uClibc/x86_64
4  *
5  * Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org>
6  * Copyright (C) 2005 by Mike Frysinger <vapier@gentoo.org>
7  *
8  * GNU Library General Public License (LGPL) version 2 or later.
9  */
10
11 #include <errno.h>
12 #include <unistd.h>
13 #include <sys/mman.h>
14 #include <sys/syscall.h>
15
16 _syscall6(void *, mmap, void *, start, size_t, length, int, prot,
17           int, flags, int, fd, off_t, offset);
18 libc_hidden_proto(mmap)
19 libc_hidden_def(mmap)