summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mincore.c
blob: 0e3ade1ce9336de978d602672023b8454a1273d6 (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 "syscalls.h"
#include <unistd.h>
#include <sys/mman.h>

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