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? With Thanks & Regards, K. Lekshmanan |