Hi All,

 

   I want to print current date and time in a kernel module.  

  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?

If anybody have wrapper function getting time from secondd please send
it me... 

 

With Thanks & Regards,

K. Lekshmanan

 

Reply via email to