1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libc/gen/pmadvise.c
Bruce M Simpson 662d85d6a2 Add the POSIX 1003.1-2001 posix_madvise() interface.
PR:		standards/54634
Reviewed by:	das
Approved by:	jake (mentor)
2003-08-09 03:23:24 +00:00

17 lines
278 B
C

/*
* The contents of this file are in the public domain.
* Written by Garrett A. Wollman, 2000-10-07.
*
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/mman.h>
int
posix_madvise(void *address, size_t size, int how)
{
return madvise(address, size, how);
}