gethostbyname2() is able to lookup AF_INET6.

PR:		23823
Noticed by:	Andrew Arensburger <arensb@ooblick.com>
This commit is contained in:
Alexander Langer 2001-01-06 12:48:43 +00:00
parent cbfa684843
commit e2a2e8c7e0

View File

@ -140,16 +140,6 @@ which is intended to allow lookups in address families other than
.Dv AF_INET ,
for example
.Dv AF_INET6 .
Currently the
.Fa af
argument must be specified as
.Dv AF_INET
else the function will return
.Dv NULL
after having set
.Va h_errno
to
.Dv NETDB_INTERNAL
.Pp
The
.Fn sethostent