about summary refs log tree commit diff
path: root/src/mman/mlock.c
blob: e683a44aefc97ca1ec72036c46eec5ff754c9b92 (plain) (blame)
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);
}