mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +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;
|
||
|
}
|