Subject: Re: gethostname and getdomainname
To: Ignatios Souvatzis <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 11/14/1999 17:01:26
On Nov 14, 10:54pm, (Ignatios Souvatzis) wrote:
-- Subject: Re: gethostname and getdomainname

| I don't know wether XPGwhatwasit specifies an error, but SUSV2 does not, and
| no other system does, so it wouldn't be portable.
| I guess nobody else really cared...

Most of the code either does not check or specifies a large enough buffer.
I think that XPG3 is right to return an error code here. I don't expect
things to break, that were not already broken before (when the bug was