.\" 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.
.\"
.\" 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"
.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
.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
.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
.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
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/.