posix_memalign.3: Some functions set errno

True of bionic, glibc, and musl. (I didn't check elsewhere.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Elliot Hughes 2019-04-19 13:25:21 -07:00 committed by Michael Kerrisk
parent e4d720644d
commit 2cfdf8f8ee
1 changed files with 3 additions and 1 deletions

View File

@ -144,7 +144,9 @@ For all of these functions, the memory is not zeroed.
.BR valloc (),
and
.BR pvalloc ()
return a pointer to the allocated memory, or NULL if the request fails.
return a pointer to the allocated memory on success.
On error, NULL is returned, and \fIerrno\fP is set
to indicate the cause of the error.
.PP
.BR posix_memalign ()
returns zero on success, or one of the error values listed in the