Re: Using of struct tm in kernel module
Peter Skvarka <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | Soft in Engines |
| Message-ID | <[email protected]> |
> 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