summaryrefslogtreecommitdiff
path: root/src/mman/munlockall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mman/munlockall.c')
-rw-r--r--src/mman/munlockall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mman/munlockall.c b/src/mman/munlockall.c
new file mode 100644
index 00000000..ce3e86cc
--- /dev/null
+++ b/src/mman/munlockall.c
@@ -0,0 +1,7 @@
+#include <sys/mman.h>
+#include "syscall.h"
+
+int munlockall(void)
+{
+ return syscall0(__NR_munlockall);
+}