OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / connect.2
index 649f5e7..c1e731c 100644 (file)
@@ -1,9 +1,8 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
 .\" Portions extracted from /usr/include/sys/socket.h, which does not have
 .\" any authorship information in it.  It is probably available under the GPL.
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -23,6 +22,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\"
 .\" Other portions are from the 6.9 (Berkeley) 3/10/91 man page:
@@ -30,6 +30,7 @@
 .\" Copyright (c) 1983 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:
@@ -57,6 +58,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
 .\"
 .\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
 .\" Modified 1998, 1999 by Andi Kleen
@@ -122,7 +124,7 @@ member of
 set to
 .BR AF_UNSPEC
 (supported on Linux since kernel 2.2).
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 If the connection or binding succeeds, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -220,7 +222,7 @@ The server may be too
 busy to accept new connections.
 Note that for IP sockets the timeout may
 be very long when syncookies are enabled on the server.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 SVr4, 4.4BSD, (the
 .BR connect ()
 function first appeared in 4.2BSD), POSIX.1-2001.
@@ -258,7 +260,7 @@ An example of the use of
 .BR connect ()
 is shown in
 .BR getaddrinfo (3).
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR accept (2),
 .BR bind (2),
 .BR getsockname (2),