mirror of https://github.com/mkerrisk/man-pages
socketpair.2: Note treatment of 'sv' on error
Reported-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
89cfe0cf65
commit
53ee58a32c
|
@ -71,6 +71,14 @@ On success, zero is returned.
|
|||
On error, \-1 is returned, and
|
||||
.I errno
|
||||
is set appropriately.
|
||||
|
||||
On Linux (and other systems),
|
||||
.BR socketpair ()
|
||||
does not modify
|
||||
.I sv
|
||||
on failure.
|
||||
A requirement standardizing this behavior was added in POSIX.1-2016.
|
||||
.\" http://austingroupbugs.net/view.php?id=483
|
||||
.SH ERRORS
|
||||
.TP
|
||||
.B EAFNOSUPPORT
|
||||
|
|
Loading…
Reference in New Issue