gethostbyname2() can't do AF_INET6 lookups over NIS.

getaddrinfo(3) must be used.

Submitted by:	ume
This commit is contained in:
alex 2001-05-08 11:21:15 +00:00
parent fd84041b00
commit ebaec1dfe0

View File

@ -357,3 +357,10 @@ if the data is needed for future use, it should be
copied before any subsequent calls overwrite it.
Only the Internet
address format is currently understood.
.Pp
.Fn gethostbyname2
cannot perform
.Dv AF_INET6
lookups over NIS.
.Xr getaddrinfo 3
must be used instead.