repo.or.cz
/
glibc-ports.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
.
[glibc-ports.git]
/
sysdeps
/
unix
/
sysv
/
aix
/
posix_madvise.c
blob
7ab4bed8e023267520e22ccf896f75f5abd42adb
1
#include <errno.h>
2
#include <sys/mman.h>
3
4
int
5
posix_madvise
(
void
*
addr
,
size_t
len
,
int
advise
)
6
{
7
return
madvise
(
addr
,
len
,
advise
) ?
errno
:
0
;
8
}