From 3deb2df8e62a5f0a5535ee734a5aa13b0959f53f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 25 Mar 2024 21:02:58 +0100 Subject: Random changes --- userland/libc/sys/mman/munmap.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 userland/libc/sys/mman/munmap.c (limited to 'userland/libc/sys/mman/munmap.c') diff --git a/userland/libc/sys/mman/munmap.c b/userland/libc/sys/mman/munmap.c new file mode 100644 index 0000000..940ea46 --- /dev/null +++ b/userland/libc/sys/mman/munmap.c @@ -0,0 +1,6 @@ +#include +#include + +int munmap(void *addr, size_t length) { + RC_ERRNO(syscall(SYS_MUNMAP, addr, length,0, 0, 0)); +} -- cgit v1.2.3