aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/aix/posix_madvise.c
blob: 7ab4bed8e023267520e22ccf896f75f5abd42adb (plain)
1
2
3
4
5
6
7
8
#include <errno.h>
#include <sys/mman.h>

int
posix_madvise (void *addr, size_t len, int advise)
{
  return madvise (addr, len, advise) ? errno : 0;
}