summaryrefslogtreecommitdiff
path: root/src/mman/munlock.c
blob: 0db59815ad859daea2cbb68eae21b7299575c4db (plain)
1
2
3
4
5
6
7
#include <sys/mman.h>
#include "syscall.h"

int munlock(const void *addr, size_t len)
{
	return syscall2(__NR_munlock, (long)addr, len);
}