summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/mman/munmap.c
blob: d1777e32a74a2adf85da01c584f67fd5ccc1cb75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <unistd.h>
#include <sys/mman.h>
#include "syscall.h"
#include "libc.h"

int __munmap(void *start, size_t len)
{
	return syscall2(__NR_munmap, (long)start, len);
}

int munmap(void *start, size_t len)
{
	return syscall2(__NR_munmap, (long)start, len);
}