kernel - Cleanup, add assertions in the vnode freeing path
[dragonfly.git] / lib / libc / gen / pmadvise.c
blobbb769678f3d8991ad3710a6b9551791de55ac9ae
1 /*
2 * The contents of this file are in the public domain.
3 * Written by Garrett A. Wollman, 2000-10-07.
5 * $FreeBSD: src/lib/libc/gen/pmadvise.c,v 1.3 2003/08/09 03:23:24 bms Exp $
6 * $DragonFly: src/lib/libc/gen/pmadvise.c,v 1.1 2008/10/06 21:01:37 swildner Exp $
7 */
9 #include <sys/mman.h>
11 int
12 posix_madvise(void *address, size_t size, int how)
14 return madvise(address, size, how);