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