2 @subsection @code{memalign}
9 @ref{Aligned Memory Blocks,,Allocating Aligned Memory Blocks,libc},
12 @url{https://www.gnu.org/software/libc/manual/html_node/Aligned-Memory-Blocks.html},
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/memalign.3.html,,man memalign}.
18 Gnulib module: memalign
20 Portability problems fixed by Gnulib:
23 This function is declared in @code{<stdlib.h>} instead of @code{<malloc.h>}
27 This function doesn't accept an alignment of 1 or 2 on some platforms:
31 Portability problems not fixed by Gnulib:
34 This function is missing on some platforms:
35 macOS 14, FreeBSD 12.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11.00, mingw, MSVC 14.
38 The Gnulib module @code{aligned-malloc} provides functions for
39 allocating and freeing blocks of suitably aligned memory.