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