OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / bind.2
index f7c9ed0..638a92d 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 Mon Oct 21 23:05:29 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
 .\" Modified 1998 by Andi Kleen
@@ -147,7 +149,7 @@ pointer passed in
 .I addr
 in order to avoid compiler warnings.
 See EXAMPLE below.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -216,8 +218,8 @@ Insufficient kernel memory was available.
 A component of the path prefix is not a directory.
 .TP
 .B EROFS
-The socket inode would reside on a read-only file system.
-.SH "CONFORMING TO"
+The socket inode would reside on a read-only filesystem.
+.SH CONFORMING TO
 SVr4, 4.4BSD, POSIX.1-2001
 .RB ( bind ()
 first appeared in 4.2BSD).
@@ -314,7 +316,7 @@ main(int argc, char *argv[])
        should be deleted using unlink(2) or remove(3) */
 }
 .fi
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR accept (2),
 .BR connect (2),
 .BR getsockname (2),
@@ -327,3 +329,11 @@ main(int argc, char *argv[])
 .BR path_resolution (7),
 .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/.