summaryrefslogtreecommitdiff
path: root/lib/libc/mman/munlock.c
blob: 2d62c032e326c68a0e3d2091008ee8ce26f48c6b (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_munlock

#include <stddef.h>  // for size_t
#include <syscall.h> // for __syscall_2, syscall

int munlock(const void *addr, size_t len)
{
	return syscall(munlock, addr, len);
}