xref: /openbsd-src/lib/libc/sys/posix_madvise.c (revision 4c1e55dc91edd6e69ccc60ce855900fbc12cf34f)
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