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

9 lines
151 B
C
Raw Normal View History

2003-08-16 14:13:49 +08: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;
}