On Thu, 2006-06-22 at 20:25 +0100, Glynn Clements wrote:
For DNS resolution, the h_name field will typically contain the
FQDN.
This isn't guaranteed to be less than either HOST_NAME_MAX or
sysconf(_SC_HOST_NAME_MAX); those refer to hostnames returned from
gethostname(), not the gethostby* functions.
You're right. (It says so in the comments, duh!) Thanks for the
correction.
--- Vladimir
--
Vladimir G. Ivanovic <vgivanovic(a)comcast.net>