get current time in kernel module
get current time in kernel module
- Subject: get current time in kernel module
- From: "Mekhala Patil" <email@hidden>
- Date: Thu, 28 Jul 2005 19:04:56 +0530
Hi All,
I want to print current date and time in a
kernel module. I have also tried to use gettimeofday() by including
sys/time.h But still it says undeclared.
1) do we have direct functions that we could use in kernel?
2) Can get time from epoch using gettimeofday? So, how do I convert it
to the current date and time string. Is there something similar to
userspace ctime in kernel?
Please suggest.
Thanks and regards,
Mekhala
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden