diff options
Diffstat (limited to 'src/mman/mlockall.c')
-rw-r--r-- | src/mman/mlockall.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mman/mlockall.c b/src/mman/mlockall.c new file mode 100644 index 0000000..782fc9d --- /dev/null +++ b/src/mman/mlockall.c @@ -0,0 +1,7 @@ +#include <sys/mman.h> +#include "syscall.h" + +int mlockall(int flags) +{ + return syscall1(__NR_mlockall, flags); +} |