1 /* 2 * This file provides the mincore() system call to uClibc. 3 * Copyright (C) 20041215 - <solar@gentoo.org> 4 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> 5 * 6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. 7 */ 8 9 #include <sys/syscall.h> 10 11 #if defined __NR_mincore && (defined __USE_BSD || defined __USE_SVID) 12 #include <unistd.h> 13 #include <sys/mman.h> 14 _syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec) 15 #endif 16