aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-03-30 11:42:27 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-05 08:52:29 +0100
commit53ee58a32c660e278310a4924158e4785e89c651 (patch)
treec211735b50915d6ba920c9624a76e2d1c3445ff9
parent89cfe0cf65766996cf147ad481c7243d9f10e690 (diff)
downloadman-pages-53ee58a32c660e278310a4924158e4785e89c651.tar.gz
socketpair.2: Note treatment of 'sv' on error
Reported-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/socketpair.28
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/socketpair.2 b/man2/socketpair.2
index 431f7c77d6..0831986ffc 100644
--- a/man2/socketpair.2
+++ b/man2/socketpair.2
@@ -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