about summary refs log tree commit diff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 604ab64f78..8401e5d64a 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -549,6 +549,11 @@ extern void cfree (void *__ptr) __THROW;
 extern void *valloc (size_t __size) __THROW __attribute_malloc__;
 #endif
 
+#ifdef __USE_XOPEN2K
+/* Allocate memiry of SIZE bytes with an alignment of ALIGNMENT.  */
+extern int posix_memalign (void **memptr, size_t alignment, size_t size)
+     __THROW;
+#endif
 
 /* Abort execution and generate a core-dump.  */
 extern void abort (void) __THROW __attribute__ ((__noreturn__));