glibc/sysdeps/unix/sysv/aix/posix_madvise.c

9 lines
151 B
C
Raw Normal View History

2003-08-16 06:13:49 +00:00
#include <errno.h>
#include <sys/mman.h>
int
posix_madvise (void *addr, size_t len, int advise)
{
return madvise (addr, len, advise) ? errno : 0;
}