poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / posix_memalign.texi
blob7f58c691fcddb83ef3f5f2cd23c6a7015388ebe9
1 @node posix_memalign
2 @section @code{posix_memalign}
3 @findex posix_memalign
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html}
7 Gnulib module: posix_memalign
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function produces misaligned results on some platforms:
13 OpenBSD 6.1.
14 @end itemize
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @item
19 This function is missing on some platforms:
20 Mac OS X 10.5, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x, mingw, MSVC 14, Android 4.1.
21 @end itemize
23 The Gnulib module @code{aligned-malloc} provides functions for
24 allocating and freeing blocks of suitably aligned memory.
26 The Gnulib module @code{pagealign_alloc} provides a similar API for
27 allocating and freeing blocks of memory aligned on a system page boundary.