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

Re: gethostname library function



> >Comments ?
> 
> I agree, even better would be not to trust the HOSTNAME environment
> variable! :-)
>
> I believe MiNT should hold at least two things..
> 	A hostname
> 	A domainname
> 
> In a root read-writable, non-root read-only shared memory segment.

Hmm - seems like a good idea. Could set the variables in the mint.cnf file
(or store them in the kernel)

> It would be nice if it could hold other such information as well (such as
> possibly an IP address etc).

Have to wait for tcpip first :-)

Simon.