about summary refs log tree commit diff
path: root/misc/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/mman.h')
-rw-r--r--misc/sys/mman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h
index b86ba5e083..848ee4cdfb 100644
--- a/misc/sys/mman.h
+++ b/misc/sys/mman.h
@@ -91,6 +91,10 @@ extern int msync (void *__addr, size_t __len, int __flags) __THROW;
    for the region starting at ADDR and extending LEN bytes.  */
 extern int madvise (void *__addr, size_t __len, int __advice) __THROW;
 #endif
+#ifdef __USE_XOPEN2K
+/* This is the POSIX name for this function.  */
+extern int posix_madvise (void *__addr, size_t __len, int __advice) __THROW;
+#endif
 
 /* Guarantee all whole pages mapped by the range [ADDR,ADDR+LEN) to
    be memory resident.  */