From 2269e87064764d778394d587d85f86861d652645 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 19 Aug 2008 14:34:48 +0000 Subject: [PATCH] s/d/domain/ for name of argument. Add reference to socket(2) for further information on domain, type, and protocol arguments. --- man2/socketpair.2 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/man2/socketpair.2 b/man2/socketpair.2 index 15c471bcf..9eebae623 100644 --- a/man2/socketpair.2 +++ b/man2/socketpair.2 @@ -36,7 +36,7 @@ .\" Modified 2002-07-22 by Michael Kerrisk .\" Modified 2004-06-17 by Michael Kerrisk .\" -.TH SOCKETPAIR 2 2004-06-17 "Linux" "Linux Programmer's Manual" +.TH SOCKETPAIR 2 2008-08-20 "Linux" "Linux Programmer's Manual" .SH NAME socketpair \- create a pair of connected sockets .SH SYNOPSIS @@ -44,17 +44,20 @@ socketpair \- create a pair of connected sockets .br .B #include .sp -.BI "int socketpair(int " d ", int " type ", int " protocol ", int " sv [2]); +.BI "int socketpair(int " domain ", int " type ", int " protocol \ +", int " sv [2]); .SH DESCRIPTION The .BR socketpair () -call creates an unnamed pair of connected sockets in -the specified domain -.IR d , +call creates an unnamed pair of connected sockets in the specified +.IR domain , of the specified .IR type , and using the optionally specified .IR protocol . +For further details of these arguments, see +.BR socket (2). + The descriptors used in referencing the new sockets are returned in .IR sv [0] and