OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / socketpair.2
index e5f2e2b..fc41f7a 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 1983, 1991 The Regents of the University of California.
 .\" All rights reserved.
 .\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -28,6 +29,7 @@
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
+.\" %%%LICENSE_END
 .\"
 .\"     @(#)socketpair.2       6.4 (Berkeley) 3/10/91
 .\"
@@ -64,7 +66,7 @@ The descriptors used in referencing the new sockets are returned in
 and
 .IR sv [1].
 The two sockets are indistinguishable.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -90,7 +92,7 @@ The specified protocol does not support creation of socket pairs.
 .TP
 .B EPROTONOSUPPORT
 The specified protocol is not supported on this machine.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 4.4BSD, POSIX.1-2001.
 The
 .BR socketpair ()
@@ -119,10 +121,18 @@ POSIX.1-2001 does not require the inclusion of
 and this header file is not required on Linux.
 However, some historical (BSD) implementations required this header
 file, and portable applications are probably wise to include it.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR pipe (2),
 .BR read (2),
 .BR socket (2),
 .BR write (2),
 .BR socket (7),
 .BR unix (7)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.