Re: localtime()
Laurent Bercot <[email protected]> Mon, 5 Dec 2011 18:08:29 +0100
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> No, applications rightfully expect that time(3) and gettimeofday(2) > have the same scale. Well, if you allow no discrepancy between gettimeofday(2) and time(3), then you have no other choice but patch the kernel indeed. A POSIX kernel won't allow you to use right/ timezones, which is a shame. >> Unfortunately, as you say, programs such as ntpd and rdate are not > Some are. Mine are. Well, if you have written a flexible implementation of ntpd, please share it ! :) Can I use it on Linux or is it BSD-only ? -- Laurent