diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-03-30 11:42:27 +1300 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-05 08:52:29 +0100 |
commit | 53ee58a32c660e278310a4924158e4785e89c651 (patch) | |
tree | c211735b50915d6ba920c9624a76e2d1c3445ff9 | |
parent | 89cfe0cf65766996cf147ad481c7243d9f10e690 (diff) | |
download | man-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.2 | 8 |
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 |