.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
must be set to
.IR "sizeof(struct in6_addr)" .
.SH RETURN VALUE
-A NULL pointer is returned if an error occurred, and
+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.
+The array is terminated by a null pointer.
.SH CONFORMING TO
RFC\ 2553.
.\" Not in POSIX.1-2001.
.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/.