|
|
|
|
|
by JdeBP
3484 days ago
|
|
There are actually two reasonable ways of handling leap seconds with gettimeofday(). The first, which is in actual use by a range of people, is to define that the kernel time is actually a TAI-10 count not a UTC count. Arthur David Olson's "right" timezone system does this. The second is to allow the microseconds count to go up to 2,000,000. * http://www.madore.org/~david/computers/unix-leap-seconds.htm... |
|
And if you replace a simple API with one that requires distributing leap-second tables…