diff options
Diffstat (limited to 'libc/sysdeps/linux/common/mincore.c')
-rw-r--r-- | libc/sysdeps/linux/common/mincore.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/mincore.c b/libc/sysdeps/linux/common/mincore.c new file mode 100644 index 000000000..ecae441a5 --- /dev/null +++ b/libc/sysdeps/linux/common/mincore.c @@ -0,0 +1,15 @@ +/* + * Distributed under the terms of the GNU General Public License v2 + * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/mincore.c,v 1.1 2004/12/20 00:10:51 solar Exp $ + * + * This file provides the mincore() system call to uClibc. + * 20041215 - <solar@gentoo.org> + * + */ + +#include "syscalls.h" +#include <unistd.h> + +#ifdef __NR_mincore +_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec); +#endif |