diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-03-30 11:27:49 +1300 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-05 08:52:29 +0100 |
| commit | df383cdf95d3312dec52b51f71988cbe06adb0eb (patch) | |
| tree | bb4747c510e389bc79c36bc107dc9d38eb87a95e | |
| parent | 367122710b700d03ba6a0a2749a35c0e6ca99838 (diff) | |
| download | man-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.3 | 12 |
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 |
