summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mincore.c
blob: f1f3557c6ef533b63781dbf1b8443b069a40867d (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>

#if defined __NR_mincore && (defined __USE_BSD || defined __USE_SVID)
#include <unistd.h>
#include <sys/mman.h>
_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec)
#endif