Sam Steingold <[EMAIL PROTECTED]> writes: > 1. is this module ever needed on a unix system? > i.e., are there any unix systems still in use that lack gethostname? > > 2. are there any unix systems still in use that lack uname?
Among the platforms represented in Bruno Haible's collection of library symbols, only mingw and nsk-G06 lack either one (and they lack both of them). Solaris has gethostname in libnsl, BeOS has it in libnet, and other platforms have it in libc. BeoS has uname in libnet, and other platforms have it in libc. -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead