How to read cmos clock - what is gettimeofday reading?

2010-08-18 Thread Phil Grundig
I have C code for Linux that, among other things, caches the difference between the rtc and system time. I want to port this code to FreeBSD/Mac. Linux has the utility hwclock which reads /dev/rtc and anyway getting the cmos clock time directly from this interface can be done in a few lines of c

Re: How to read cmos clock - what is gettimeofday reading?

2010-08-18 Thread Phil Grundig
"This is incorrect: see msg03414 on freebsd-hardw...@freebsd.org." Meaning: http://www.mail-archive.com/freebsd-hardw...@freebsd.org/msg03414.html ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers