summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/madvise.c
blob: e953d7b92e204358b02fc4f102dad559294fe63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* vi: set sw=4 ts=4: */
/*
 * madvise() for uClibc
 *
 * 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 <sys/mman.h>
#if defined __NR_madvise && defined __USE_BSD
_syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice)
#endif