1 2 3 4 5 6 7
#include <sys/mman.h> #include "syscall.h" int mlockall(int flags) { return syscall1(__NR_mlockall, flags); }