summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/socketpair.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/socketpair.2')
-rw-r--r--lib/libc/sys/socketpair.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2
index 1e8ba24..62aef76 100644
--- a/lib/libc/sys/socketpair.2
+++ b/lib/libc/sys/socketpair.2
@@ -58,7 +58,7 @@ are returned in
and
.Fa sv Ns [1] .
The two sockets are indistinguishable.
-.Sh DIAGNOSTICS
+.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
@@ -77,15 +77,15 @@ The address
does not specify a valid part of the
process address space.
.Sh SEE ALSO
+.Xr pipe 2 ,
.Xr read 2 ,
-.Xr write 2 ,
-.Xr pipe 2
+.Xr write 2
.Sh BUGS
This call is currently implemented only for the
.Tn UNIX
domain.
.Sh HISTORY
The
-.Nm
+.Fn socketpair
function call appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud