1 2 3 4 5 6 7
#include <sys/mman.h> #include "syscall.h" int msync(void *start, size_t len, int flags) { return syscall(SYS_msync, start, len, flags); }