updating the RTC automagically

Ulrich Windl (ulrich.windl@rz.uni-regensburg.de)
Tue, 16 Nov 1999 09:16:36 +0200


Hi,

I investigated what would be needed to set the RTC when the system
time changes. First the inverse function for mktime() is needed (i.e.
convert UNIX time to days, hours, months, etc.) Then the function to
set the RTC would have to be extended to set _all_ the values, not
just minute and second.

Should I take the date conversion routine from the C library (i.e.
copy the code)?

I'm not subscribed here, but I'd like to be CC:'d for replies...

Regards,
Ulrich

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/