1 #define _GNU_SOURCE 2 #include <sys/mman.h> 3 #include "syscall.h" 4 mincore(void * addr,size_t len,unsigned char * vec)5 int mincore (void *addr, size_t len, unsigned char *vec) 6 { 7 return syscall(SYS_mincore, addr, len, vec); 8 } 9