summaryrefslogtreecommitdiff
path: root/src/mman/munmap.c
blob: c9661cda3354a56c5f96b854e007c6655f26a8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);
}

weak_alias(__munmap, munmap);