AIX posix_madvise implementation.
This commit is contained in:
parent
591ef241f8
commit
0be7f50d10
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue