tech-kern archive

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

Re: Using of struct tm in kernel module



I don't care what design bothches Wintrash or Linux have made, just no.

..Wintrash :D :D

Seriously now,
win kernel can use TIME_FIELDS (timezone info is not here) and conversion functions Lin kernel can use struct tm (IMHO timezone info is ignored here) and conversion functions NetBSD kernel can use struct clock_ymdhms (timezone info is not here) and conversion functions

So if you have functional kernel module code on Win+Lin using above structures
then the simplest way is to use NetBSD struct clock_ymdhms
and leave untouched design.

Peter



Home | Main Index | Thread Index | Old Index