diff options
Diffstat (limited to 'userland/libc/sys/mman/munmap.c')
-rw-r--r-- | userland/libc/sys/mman/munmap.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <sys/mman.h> +#include <syscall.h> + +int munmap(void *addr, size_t length) { + RC_ERRNO(syscall(SYS_MUNMAP, addr, length,0, 0, 0)); +} |