summaryrefslogtreecommitdiff
path: root/lib/libc/sys/posix_madvise.c
blob: 4952c5cc77a93b2aeae98d156ab9a5f2069adc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$OpenBSD: posix_madvise.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */
/*
 * Ted Unangst wrote this file and placed it into the public domain.
 */
#include <sys/mman.h>

int
posix_madvise(void *addr, size_t len, int behav)
{
	return (_thread_sys_madvise(addr, len, behav));
}