summaryrefslogtreecommitdiff
path: root/src/mman/munmap.c
blob: ab7da9e2013111f3d4494968361db2a8a935f812 (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 syscall(SYS_munmap, start, len);
}

weak_alias(__munmap, munmap);