Re: FQDN foobar

2002-03-01 Thread dman
On Fri, Mar 01, 2002 at 12:20:50PM +0100, Robert Waldner wrote: | | Hi! | | I have a problem with the way gethostname() and getdomainname (don't) | work on Debian. | | gethostname() returns the hostname, not qualified. It (or a similarly named function, I don't remember exactly) returns the

FQDN foobar

2002-03-01 Thread Robert Waldner
Hi! I have a problem with the way gethostname() and getdomainname (don't) work on Debian. gethostname() returns the hostname, not qualified. Ok, this is as expected, as there's the complementary getdomainname()-function. But that gets its information out of /proc/sys/kernel/domainname, whi