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

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