[LEAPSECS] internet drafts about zoneinfo (POSIX Time)
Tony Finch
dot at dotat.at
Tue Mar 8 12:27:01 EST 2011
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 <dot at dotat.at> 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.
More information about the LEAPSECS
mailing list