expensive clock problems?
Guy Harris
guy at rlgvax.UUCP
Fri Feb 17 15:18:44 AEST 1984
> First, <ident.h> is used by BSD's getty (the program that looks for terminals
> and says 'login:' and then calls the login utility) to print out a banner....
> If you are not the system administrator, try sending mail to him (her?)
> and ask that an ident.h be installed. Otherwise, just putting the
> declaration directly in clock.c will be fine.
The preferred way under USG UNIX (as all the BTLers out there have probably
already concluded) is to do a "uname" system call and suck the name out
of the "sysname" or "nodename" field. In fact, under 4.2BSD you should get
the name from a "gethostname" system call.
> 2) find the Sys V equivalent. (to -ljobs)
There isn't one, so you'd probably have to ignore it.
Guy Harris
{seismo,ihnp4,allegra}!rlgvax!guy
More information about the Comp.sources.unix
mailing list