Hi, how can I fill up a rtc_time struct with the current date and time information? I'm running kernel 2.6.20 and i can't find localtime() in the kernel sources.. Have you got other ways to do the same thing?
Thanks in advance Marco.
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ
Maybe gettimeofday(2) (http://www.die.net/doc/linux/man/man2/gettimeofday.2.html) is what you need.
-- Saudações
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ