posix_memalign.3: Clarify wording on "return value" when size==0

Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-09-02 09:06:39 +02:00
parent 61a9bcb381
commit 558f02dff0
1 changed files with 3 additions and 2 deletions

View File

@ -95,8 +95,9 @@ which must be a power of two and a multiple of
If
.I size
is 0, then
.BR posix_memalign ()
returns either NULL,
the value placed in
.IR "*memptr"
is either NULL,
.\" glibc does this:
or a unique pointer value that can later be successfully passed to
.BR free (3).