]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: get TAI-UTC offset from leap second timezone
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 29 Jun 2017 15:56:16 +0000 (17:56 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 30 Jun 2017 14:58:53 +0000 (16:58 +0200)
commit29b0ad894c3ccb567d3699bcb7988416f3eaa30f
tree66c9c478c240b02de21546a6593ba71324384c7e
parentcde0a2030788d168d0dc75ac629b08f4da1088eb
reference: get TAI-UTC offset from leap second timezone

Use the timezone specified by the leapsectz directive to get the
current TAI-UTC offset and set the offset of the system clock in order
to provide correct TAI time to applications using ntp_adjtime(),
ntp_gettime(), or clock_gettime(CLOCK_TAI).
doc/chrony.conf.adoc
reference.c