From 0be7f50d109347678e55eaa140ce4b60b1112c23 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Aug 2003 06:13:49 +0000 Subject: [PATCH] AIX posix_madvise implementation. --- sysdeps/unix/sysv/aix/posix_madvise.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sysdeps/unix/sysv/aix/posix_madvise.c 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; +}