2000-04-14 Ulrich Drepper <drepper@redhat.com>
* malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
* malloc/malloc.c: Implement posix_memalign for glibc.
* include/stdlib.h: Add prototype for __posix_memalign.
* stdlib/stdlib.h: Add prototype for posix_memalign.
+2000-04-14 Ulrich Drepper <drepper@redhat.com>
+
+ * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
+ * malloc/malloc.c: Implement posix_memalign for glibc.
+ * include/stdlib.h: Add prototype for __posix_memalign.
+ * stdlib/stdlib.h: Add prototype for posix_memalign.
+
2000-04-14 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/madvise.c: Fix typos.
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
+extern int __posix_memalign (void **memptr, size_t alignment, size_t size);
+
#endif
#undef __Need_M_And_C
GLIBC_2.2 {
# m*
mcheck_check_all; mcheck_pedantic;
+
+ # p*
+ posix_memalign;
}
}
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__));