OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / inet_pton.3
index a2054cb..350501a 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright 2000 Sam Varshavchik <mrsam@courier-mta.com>
 .\" and Copyright (c) 2008 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%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.
@@ -20,6 +21,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References: RFC 2553
 .TH INET_PTON 3 2008-06-18 "Linux" "Linux Programmer's Manual"
@@ -111,7 +113,7 @@ An example of such an address is
 .RE
 .IP
 See RFC 2373 for further details on the representation of IPv6 addresses.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 .BR inet_pton ()
 returns 1 on success (network address was successfully converted).
 0 is returned if
@@ -124,7 +126,7 @@ does not contain a valid address family, \-1 is returned and
 .I errno
 is set to
 .BR EAFNOSUPPORT .
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
 Unlike
@@ -135,7 +137,7 @@ and
 supports IPv6 addresses.
 On the other hand,
 .BR inet_pton ()
-only accepts IPv4 addresses in dotted-decimal notation, whereas
+accepts only IPv4 addresses in dotted-decimal notation, whereas
 .BR inet_aton (3)
 and
 .BR inet_addr (3)
@@ -210,7 +212,16 @@ main(int argc, char *argv[])
     exit(EXIT_SUCCESS);
 }
 .fi
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getaddrinfo (3),
 .BR inet (3),
 .BR inet_ntop (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.