summaryrefslogtreecommitdiff
path: root/lib/libc/mman/mlock.c
blob: a8b029c62302071de64870cb28ffd468748e15a6 (plain)
1
2
3
4
5
6
7
8
9
10



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

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