Web lists-archives.com

Getting clock_gettime() with CLOCK_TAI to give the right answer




What's the easiest way of getting a Debian system to know about the
offset between TAI and UTC?

Presumably something like what's described here for SUSE would work:

https://superuser.com/questions/1156693/is-there-a-way-of-getting-correct-clock-tai-on-linux

Ideally it would just work out of the box with no special
configuration but being able to fix it with an "apt-get install
ntp-something" would be nearly as good.

Thanks,

Edmund