[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ctime funtion inside a module



hi,

I am trying to print the access time from the inode
structure from within a kernel module.

The return type is time_t which is inturn a unsigned
integer. I am trying to print this number is the
format of :

"Day Month date time year"

The function which does this is in
/usr/include/time.h. The name of the funtion is
ctime() but I will not be able to acess it from the
module. 

Is there any other funtion that has a similar
funtionality which i can call from the module.

TIA

Karthik

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/