1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Implement aligned_alloc

This commit is contained in:
Ulrich Drepper
2011-12-23 23:49:48 -05:00
parent c0e87cc018
commit 380d7e87dc
6 changed files with 32 additions and 2 deletions

View File

@ -509,6 +509,11 @@ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
__THROW __nonnull ((1)) __wur;
#endif
#ifdef __USE_ISOC11
/* ISO C variant of aligned allocation. */
extern int aligned_alloc (size_t __alignment, size_t __size) __THROW __wur;
#endif
__BEGIN_NAMESPACE_STD
/* Abort execution and generate a core-dump. */
extern void abort (void) __THROW __attribute__ ((__noreturn__));