mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
9 lines
151 B
C
9 lines
151 B
C
|
#include <errno.h>
|
||
|
#include <sys/mman.h>
|
||
|
|
||
|
int
|
||
|
posix_madvise (void *addr, size_t len, int advise)
|
||
|
{
|
||
|
return madvise (addr, len, advise) ? errno : 0;
|
||
|
}
|