mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
367122710b
commit
df383cdf95
|
@ -151,9 +151,15 @@ returns zero on success, or one of the error values listed in the
|
||||||
next section on failure.
|
next section on failure.
|
||||||
The value of
|
The value of
|
||||||
.I errno
|
.I errno
|
||||||
is indeterminate after a call to
|
is not set.
|
||||||
.BR posix_memalign ().
|
On Linux (and other systems),
|
||||||
.SH ERRORS
|
.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
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
The
|
The
|
||||||
|
|
Loading…
Reference in New Issue