summaryrefslogtreecommitdiff
path: root/src/sys/mman/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mman/mprotect.c')
-rw-r--r--src/sys/mman/mprotect.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sys/mman/mprotect.c b/src/sys/mman/mprotect.c
new file mode 100644
index 00000000..f5ac3203
--- /dev/null
+++ b/src/sys/mman/mprotect.c
@@ -0,0 +1,11 @@
+#include <sys/mman.h>
+
+int mprotect(void *addr, size_t len, int prot);
+{
+ return prot;
+}
+
+/*
+XOPEN(400)
+POSIX(19xxyy)
+*/