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