poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / aligned_alloc.texi
blobcfc2878f8782558fc3e1fb14f2755ae8ea197657
1 @node aligned_alloc
2 @section @code{aligned_alloc}
3 @findex aligned_alloc
5 Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/aligned_alloc.3.html,,man aligned_alloc}
7 Gnulib module: aligned_alloc
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function fails if the alignment argument is smaller than
13 @code{sizeof (void *)} on some platforms:
14 AIX 7.2.
15 @end itemize
17 Portability problems not fixed by Gnulib:
18 @itemize
19 @item
20 This function is missing on all non-glibc platforms:
21 glibc 2.15, Mac OS X 10.13, FreeBSD 6.4, NetBSD 7.1, OpenBSD 6.0, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, Cygwin 1.7.x, mingw, MSVC 14, Android 8.1.
22 @end itemize
24 The Gnulib module @code{aligned-malloc} provides functions for
25 allocating and freeing blocks of suitably aligned memory.
27 The Gnulib module @code{pagealign_alloc} provides a similar API for
28 allocating and freeing blocks of memory aligned on a system page boundary.