[ntp:questions] System status word not accessible via libntpq?
kguilbert at bluefinrobotics.com
Sun Mar 3 16:35:49 UTC 2013
On 03/03/2013 10:24 AM, Trevor Woerner wrote:
> On Fri, Mar 1, 2013 at 1:52 PM, Kyle Guilbert
> <kguilbert at bluefinrobotics.com> wrote:
>> I'm writing some code to use libntpq to query the local NTP daemon
> Which version of the ntp sources are you using?
>> I think this is the third argument sixth argument to doquery()
Sixth argument, sorry. From ntpq.c:
const char **rdata
As far as I can tell, ntpq uses rstatus as the 'status' variable in the
'rv' output, but functions in libntpq.c throw it out.
More information about the questions