diff --git a/sysdeps/unix/sysv/aix/posix_madvise.c b/sysdeps/unix/sysv/aix/posix_madvise.c new file mode 100644 index 0000000000..7ab4bed8e0 --- /dev/null +++ b/sysdeps/unix/sysv/aix/posix_madvise.c @@ -0,0 +1,8 @@ +#include +#include + +int +posix_madvise (void *addr, size_t len, int advise) +{ + return madvise (addr, len, advise) ? errno : 0; +}