AIX posix_madvise implementation.

This commit is contained in:
Ulrich Drepper 2003-08-16 06:13:49 +00:00
parent 591ef241f8
commit 0be7f50d10
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,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;
}