summaryrefslogtreecommitdiff
path: root/src/_forced/munmap.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-05-28 15:50:03 -0400
committerJakob Kaivo <jkk@ung.org>2024-05-28 15:50:03 -0400
commitc9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (patch)
tree6cf1abadd04a1a9049d82ffe0e78be7f8b4cece2 /src/_forced/munmap.h
parentb4cd7036bea6c6440fbbcdaebe53c864c87a5646 (diff)
abstract out "forced" implementations of functions from future specifications
Diffstat (limited to 'src/_forced/munmap.h')
-rw-r--r--src/_forced/munmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_forced/munmap.h b/src/_forced/munmap.h
new file mode 100644
index 00000000..9580100d
--- /dev/null
+++ b/src/_forced/munmap.h
@@ -0,0 +1,4 @@
+#include "_syscall.h"
+
+#define munmap(_a, _l) __syscall(__sys_munmap, _a, _l)
+