lkml.org 
[lkml]   [1999]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectupdating the RTC automagically
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.088 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site