OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / getsockname.2
index cab1bbe..84836e3 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
 .\"
 .\"     @(#)getsockname.2      6.4 (Berkeley) 3/10/91
 .\"
@@ -62,7 +64,7 @@ The returned address is truncated if the buffer provided is too small;
 in this case,
 .I addrlen
 will return a value greater than was supplied to the call.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -92,7 +94,7 @@ to perform the operation.
 The argument
 .I sockfd
 is a file, not a socket.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 SVr4, 4.4BSD (the
 .BR getsockname ()
 function call appeared in 4.2BSD), POSIX.1-2001.
@@ -107,7 +109,7 @@ Some POSIX confusion resulted in the present \fIsocklen_t\fP,
 also used by glibc.
 See also
 .BR accept (2).
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR bind (2),
 .BR socket (2),
 .BR getifaddrs (3),