aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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