xref: /openbsd-src/lib/libc/sys/posix_madvise.c (revision 91f110e064cd7c194e59e019b83bb7496c1c84d4)
1 /*	$OpenBSD: posix_madvise.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */
2 /*
3  * Ted Unangst wrote this file and placed it into the public domain.
4  */
5 #include <sys/mman.h>
6 
7 int
8 posix_madvise(void *addr, size_t len, int behav)
9 {
10 	return (_thread_sys_madvise(addr, len, behav));
11 }
12