summaryrefslogtreecommitdiff
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.217
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2
index f5ae7ebfb8d..77a533cb1ee 100644
--- a/lib/libc/sys/socketpair.2
+++ b/lib/libc/sys/socketpair.2
@@ -1,3 +1,4 @@
+.\" $OpenBSD: socketpair.2,v 1.2 1998/04/26 22:40:41 millert Exp $
.\" $NetBSD: socketpair.2,v 1.5 1995/02/27 12:38:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -84,8 +85,22 @@ process address space.
.Xr pipe 2
.Sh BUGS
This call is currently implemented only for the
-.Tn UNIX
+.Tn LOCAL
domain.
+Many operating systems only accept a
+.Ar protocol
+of
+.Ev
+PF_UNSPEC ,
+so that should be used instead of
+.Ev
+PF_LOCAL
+for maximal portability.
+.Sh STANDARDS
+The
+.Fn socketpair
+function conforms to
+.St -xpg4.2 .
.Sh HISTORY
The
.Fn socketpair