Re: Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
On Thu, Aug 19, 2010 at 2:38 PM, Peter Jeremy wrote: > Repeating your question will not encourage an answer. > I realize that - it was inadvertent and sloppy. I assumed the yahoo post hadn't gone through when I posted from gmail. Again I apologize for the bad netiquette. > > On 2010-Aug-19 13:0

Re: Reading rtc on FreeBSD

2010-08-19 Thread Peter Jeremy
Repeating your question will not encourage an answer. On 2010-Aug-19 13:09:46 +0300, phil hefferan wrote: >I've been looking around for how to read the cmos/rtc on FreeBSD. There is >no hwclock utility in FreeBSD that I can read sources for to see how it is >done. The RTC is only accessed within

Re: Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
My apologies for the multiple posts on this - please ignore the earlier similar post by my alter ego from a yahoo account. What happened: I tried to subscribe from a yahoo account and nothing happened. Meanwhile I posted to the list from the yahoo account. Got a 'waiting moderator approval messa

Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
I have C code for Linux that, among other things, caches the difference between the rtc and system time, so that the program can detect if the system time has changed more than a threshold between runs. I want to port this code to FreeBSD/Mac. I'm trying to clarify the relationship between rtc a