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:
Michael Kerrisk 2012-03-30 11:42:27 +13:00
parent 89cfe0cf65
commit 53ee58a32c
1 changed files with 8 additions and 0 deletions

View File

@ -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