about summary refs log tree commit diff
path: root/src/mman/mincore.c
blob: 4bb19f857c66c8114587908d816dcb2d0c9ce2db (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <sys/mman.h>
#include "syscall.h"

int mincore (void *addr, size_t len, unsigned char *vec)
{
	return syscall(SYS_mincore, addr, len, vec);
}