GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libc/sys/posix_madvise.c Lines: 0 1 0.0 %
Date: 2017-11-13 Branches: 0 2 0.0 %

Line Branch Exec Source
1
/*	$OpenBSD: posix_madvise.c,v 1.4 2015/09/11 13:26:20 guenther Exp $ */
2
/*
3
 * Ted Unangst wrote this file and placed it into the public domain.
4
 */
5
#include <sys/mman.h>
6
#include <errno.h>
7
8
int
9
posix_madvise(void *addr, size_t len, int behav)
10
{
11
	return (madvise(addr, len, behav) ? errno : 0);
12
}