[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting fqdn from gethostname on a hamm box



Alan Su wrote:
> now my question is this:  how does one tell how many aliases are in
> the h_aliases vector?  do i just keep examining the elements of the
> vector until one of them is null?

I believe the same rule like simple strings apply here, too.  The
last element is NULL.  You have to test for it.

Regards,

	Joey

-- 
A mathematician is a machine for converting coffee into theorems.


Reply to: