aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorElliot Hughes <enh@google.com>2019-04-19 13:25:21 -0700
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-05-04 20:41:21 -0500
commit2cfdf8f8eeffae6a9818c4724ebbc8675075861d (patch)
treec0b98601c268fec12592be2fb139d6ffa3728960 /man3
parente4d720644df1c4ce4b038572d6ca08d61c7506e9 (diff)
downloadman-pages-2cfdf8f8eeffae6a9818c4724ebbc8675075861d.tar.gz
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>
Diffstat (limited to 'man3')
-rw-r--r--man3/posix_memalign.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index b4e3556629..84b24303e1 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -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