mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 15:13:36 +00:00
* doc/posix-headers/*.texi: Update. * doc/glibc-headers/*.texi: Update. * doc/posix-functions/*.texi: Likewise. * doc/pastposix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise. * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Update cross-compilation guess. * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Update comments. * m4/readlinkat.m4 (gl_FUNC_READLINKAT): Likewise.
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
@node memalign
|
|
@subsection @code{memalign}
|
|
@findex memalign
|
|
|
|
Documentation:
|
|
@itemize
|
|
@item
|
|
@ifinfo
|
|
@ref{Aligned Memory Blocks,,Allocating Aligned Memory Blocks,libc},
|
|
@end ifinfo
|
|
@ifnotinfo
|
|
@url{https://www.gnu.org/software/libc/manual/html_node/Aligned-Memory-Blocks.html},
|
|
@end ifnotinfo
|
|
@item
|
|
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/memalign.3.html,,man memalign}.
|
|
@end itemize
|
|
|
|
Gnulib module: memalign
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is declared in @code{<stdlib.h>} instead of @code{<malloc.h>}
|
|
on some platforms:
|
|
Solaris 11.
|
|
@item
|
|
This function doesn't accept an alignment of 1 or 2 on some platforms:
|
|
Solaris 11.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
macOS 14, FreeBSD 12.0, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11.00, mingw, MSVC 14.
|
|
@end itemize
|
|
|
|
The Gnulib module @code{aligned-malloc} provides functions for
|
|
allocating and freeing blocks of suitably aligned memory.
|