The man page did not tell how a memory block obtained through
posix_memalign() can be freed. POSIX:2018 says it.
https://pubs.opengroup.org/onlinepubs/
9699919799/functions/posix_memalign.html
I verified using a test program that this is true for glibc.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.IR "alignment" ,
which must be a power of two and a multiple of
.IR "sizeof(void\ *)" .
+This address can later be successfully passed to
+.BR free (3).
If
.I size
is 0, then
the value placed in
.IR "*memptr"
-is either NULL,
+is either NULL
.\" glibc does this:
-or a unique pointer value that can later be successfully passed to
-.BR free (3).
+or a unique pointer value.
.PP
The obsolete function
.BR memalign ()