tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Using of struct tm in kernel module
Hello,
I am looking for NetBSD equivalent of this Linux time conversion function:
void time_to_tm(time_t totalsecs, int offset, struct tm* result);
and need to use it in kernel module code.
When I look into include/time.h it seems that struct tm and functions
working with it
are only for user-mode code. I dont know if exist some library for
kernel providing some similar functions,
or if can simple ported to be functional in kernel module.
What is the simplest way how to implement above function in kernel
module code ?
Peter
Home |
Main Index |
Thread Index |
Old Index