aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-03-30 11:27:49 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-05 08:52:29 +0100
commitdf383cdf95d3312dec52b51f71988cbe06adb0eb (patch)
treebb4747c510e389bc79c36bc107dc9d38eb87a95e
parent367122710b700d03ba6a0a2749a35c0e6ca99838 (diff)
downloadman-pages-df383cdf95d3312dec52b51f71988cbe06adb0eb.tar.gz
posix_memalign.3: Note posix_memalign()'s treatment of 'memptr' on error
Reported-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/posix_memalign.312
1 files changed, 9 insertions, 3 deletions
diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index dfbefa7eaa..41fb2c4992 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -151,9 +151,15 @@ returns zero on success, or one of the error values listed in the
next section on failure.
The value of
.I errno
-is indeterminate after a call to
-.BR posix_memalign ().
-.SH ERRORS
+is not set.
+On Linux (and other systems),
+.BR posix_memalign ()
+does not modify
+.I memptr
+on failure.
+A requirement standardizing this behavior was added in POSIX.1-2016.
+.\" http://austingroupbugs.net/view.php?id=520
+.SH "ERRORS"
.TP
.B EINVAL
The