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.
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue