summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mincore.c
blob: b4e0531279d463113bcf239d364fec89ab2d9528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * This file provides the mincore() system call to uClibc.
 * Copyright (C) 20041215 - <solar@gentoo.org>
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>
#include <sys/mman.h>

#ifdef __NR_mincore
_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec);
#endif