OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / getipnodebyname.3
index ec0dc7a..711e116 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 2000 Sam Varshavchik <mrsam@courier-mta.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.
@@ -19,6 +20,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 GETIPNODEBYNAME 3 2010-09-04 "Linux" "Linux Programmer's Manual"
@@ -71,7 +73,7 @@ These functions replace the
 .BR gethostbyname (3)
 and
 .BR gethostbyaddr (3)
-functions, which could only access the IPv4 network address family.
+functions, which could access only the IPv4 network address family.
 The
 .BR getipnodebyname ()
 and
@@ -181,8 +183,8 @@ and
 .I len
 must be set to
 .IR "sizeof(struct in6_addr)" .
-.SH "RETURN VALUE"
-A NULL pointer is returned if an error occurred, and
+.SH RETURN VALUE
+NULL is returned if an error occurred, and
 .I error_num
 will contain an error code from the following list:
 .TP
@@ -211,7 +213,7 @@ This is the official name of this network host.
 .TP
 .I h_aliases
 This is an array of pointers to unofficial aliases for the same host.
-The array is terminated by a NULL pointer.
+The array is terminated by a null pointer.
 .TP
 .I h_addrtype
 This is a copy of the
@@ -252,8 +254,8 @@ is
 .I h_addr_list
 This is an array of one or more pointers to network address structures for the
 network host.
-The array is terminated by a NULL pointer.
-.SH "CONFORMING TO"
+The array is terminated by a null pointer.
+.SH CONFORMING TO
 RFC\ 2553.
 .\" Not in POSIX.1-2001.
 .SH NOTES
@@ -261,8 +263,17 @@ These functions were present in glibc 2.1.91-95, but were
 removed again.
 Several UNIX-like systems support them, but all
 call them deprecated.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getaddrinfo (3),
 .BR getnameinfo (3),
 .BR inet_ntop (3),
 .BR inet_pton (3)
+.SH COLOPHON
+This page is part of release 3.79 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/.