mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08: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;
|
|
}
|