Newsgroups: comp.sys.sun.apps,comp.sys.hp,comp.parallel.pvm,comp.sys.dec
Path: ukc!uknet!pipex!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!cs.umd.edu!uchinews!att-out!cbnewsj!cbnewsi!cojjr
From: cojjr@cbnewsi.cb.att.com (john.j.rushford..jr)
Subject: Re: Accessing Real Time Clock in workstations (HPs, Suns, Dec Alphas)
Organization: AT&T
Date: Fri, 21 Jan 1994 15:48:04 GMT
Message-ID: <CJzL87.D96@cbnewsi.cb.att.com>
References: <2hmq76INNd2e@flop.ENGR.ORST.EDU> <CJy6yC.B1K@cup.hp.com>
Lines: 18
Xref: ukc comp.sys.sun.apps:6095 comp.sys.hp:39006 comp.parallel.pvm:1229 comp.sys.dec:18440

In article <CJy6yC.B1K@cup.hp.com> pdg@cup.hp.com (Paul Gootherts) writes:
>NeoSwami (padalam@research.CS.ORST.EDU) wrote:
>>   We are looking for a similar kind of routine for the following workstations:
>>   ...
>>   HP 700 series [715/730]
>>   ...
>
>Take a look at gettimeofday(2).
>
>Paul Gootherts
>pdg@cup.hp.com

gettimeofday(2) only returns the operating system's idea of time.  I think that
he is looking for code fragments on how to read the Real Time Clock chip.  I
don't have this info but, there is a header file, /usr/include/sun4/clock.h,
that describes the layout of various chips used by Sun.  You probably need
this header file and then you probably need to call either ioctl(2) or mmap(2)
to read/write the chip, just guessing though.

