On Tue, 8 Mar 2011, Joseph M Gwinn wrote:
>
> You are right that POSIX explicitly ignores leap seconds, as stated in the
> standard.  (In practice, if one uses NTP to synchronize to UTC, a
> POSIX-compliant computer will follow leap seconds more-or-less dutifully,
> never mind the standard.

Even in the latter situation, time_t doesn't count the leap seconds.
Unix systems that handle leap seconds have to do so using a side-band
such as the TIME_INS/TIME_OOP return values from ntp_gettime().

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/
Rockall, Malin: West or southwest 6 to gale 8, occasionally severe gale 9.
Very rough or high, becoming very high for a time. Rain or squally wintry
showers. Moderate or poor.
_______________________________________________
LEAPSECS mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/leapsecs

Reply via email to