Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 12/4/83; site rlgvax.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.sources Subject: Re: expensive clock problems? Message-ID: <1714@rlgvax.UUCP> Date: Fri, 17-Feb-84 00:18:44 EST Article-I.D.: rlgvax.1714 Posted: Fri Feb 17 00:18:44 1984 Date-Received: Sat, 18-Feb-84 03:37:47 EST References: <804@omsvax.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 17 > First,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