On Jan 18, 2010, at 9:37 PM, perumal316 wrote:

> do_gettimeofday() is just printing out a series of number which is not
> the date or time. Like, "1263873244".

http://www.cplusplus.com/reference/clibrary/ctime/localtime/
http://www.cplusplus.com/reference/clibrary/ctime/gmtime/
http://www.cplusplus.com/reference/clibrary/ctime/tm/
http://www.cplusplus.com/reference/clibrary/ctime/time/
http://www.cplusplus.com/reference/clibrary/ctime/asctime/

If you can't use those from a LKM, then there's probably something similar in 
the kernel that you should be using.

Registered Linux Addict #431495
For Faith and Family! | John 3:16!
http://cmiller.fsdev.net/

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to