.\" Modified 2002-08-05, Michael Kerrisk
.\" Modified 2004-10-31, Andries Brouwer
.\"
-.TH GETHOSTBYNAME 3 2007-10-16 "" "Linux Programmer's Manual"
+.TH GETHOSTBYNAME 3 2008-06-19 "" "Linux Programmer's Manual"
.SH NAME
gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
h_errno,
.IR name .
Here
.I name
-is either a host name, or an IPv4 address in standard dot notation,
+is either a host name, or an IPv4 address in standard dot notation (as for
+.BR inet_addr (3)),
or an IPv6 address in colon (and possibly dot) notation.
(See RFC\ 1884 for the description of IPv6 addresses.)
If
is not modified, but the address of a variable in which to store error numbers
is passed in
.IR h_errnop .
+.SH BUGS
+.BR gethostbyname ()
+does not recognize components of a dotted IPv4 address string
+that are expressed in hexadecimal.
+.\" http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973
.SH "SEE ALSO"
.BR getaddrinfo (3),
.\" .BR getipnodebyaddr (3),
.\" .BR getipnodebyname (3),
.BR getnameinfo (3),
+.BR inet (3),
.BR inet_ntop (3),
.BR inet_pton (3),
.BR resolver (3),