Re: localtime()

Thorsten Glaser <[email protected]> Mon, 5 Dec 2011 14:18:40 +0100 (CET)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
On Mon, 5 Dec 2011, Laurent Bercot wrote:

>  TAI-10 can only be used on a system where ntpd does not run; but

Wrong. You just need the right ntpd.

>  "kernel time" does not have to count leap seconds: it can be done at
> the application level. That's why I prefer the term "system clock".

No, applications rightfully expect that time(3) and gettimeofday(2)
have the same scale.

>  Unfortunately, as you say, programs such as ntpd and rdate are not

Some are. Mine are.

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"