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

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