System clock always unsynced

Christian Weisgerber naddy at mips.inka.de
Mon Apr 27 17:04:04 UTC 2015


On 2015-04-27, Christian Weisgerber <naddy at mips.inka.de> wrote:

> What *does* an ntpd daemon need to do to sync the clock?

Okay, let me rephrase this since the first two replies completely
missed the point.  This is an API programming question.  How is the
poorly documented ntp_adjtime() API to be used so the system clock
will lose the STA_UNSYNC status and switch from TIME_ERROR to TIME_OK
as clock state?

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the freebsd-hackers mailing list