summaryrefslogtreecommitdiffstats
path: root/man2/socketpair.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/socketpair.2')
-rw-r--r--man2/socketpair.221
1 files changed, 12 insertions, 9 deletions
diff --git a/man2/socketpair.2 b/man2/socketpair.2
index 1b04b94e7..741596e65 100644
--- a/man2/socketpair.2
+++ b/man2/socketpair.2
@@ -11,7 +11,7 @@
.\" Modified 2004-06-17 by Michael Kerrisk <mtk.manpages@gmail.com>
.\" 2008-10-11, mtk: Add description of SOCK_NONBLOCK and SOCK_CLOEXEC
.\"
-.TH socketpair 2 2022-10-30 "Linux man-pages 6.03"
+.TH socketpair 2 2023-03-30 "Linux man-pages 6.05.01"
.SH NAME
socketpair \- create a pair of connected sockets
.SH LIBRARY
@@ -77,14 +77,7 @@ The specified protocol does not support creation of socket pairs.
.TP
.B EPROTONOSUPPORT
The specified protocol is not supported on this machine.
-.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, 4.4BSD.
-.BR socketpair ()
-first appeared in 4.2BSD.
-It is generally portable to/from
-non-BSD systems supporting clones of the BSD socket layer (including
-System\ V variants).
-.SH NOTES
+.SH VERSIONS
On Linux, the only supported domains for this call are
.B AF_UNIX
(or synonymously,
@@ -93,6 +86,16 @@ and
.B AF_TIPC
.\" commit: 70b03759e9ecfae400605fa34f3d7154cccbbba3
(since Linux 4.12).
+.SH STANDARDS
+POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, 4.4BSD.
+.PP
+.BR socketpair ()
+first appeared in 4.2BSD.
+It is generally portable to/from
+non-BSD systems supporting clones of the BSD socket layer (including
+System\ V variants).
.PP
Since Linux 2.6.27,
.BR socketpair ()