E-Mail Sent to this address will be added to the BlackLists <[email protected]> writes:
>nasa138 wrote: > > I would like to add a few printf statement in the ntpd source code, >... > > What I expect to see is some printf statement that I added, but > > nothing happened with command "ntpd". I doubt that I have run ntpd > > correctly. If not, what's the correct way to run ntpd. I tried to run > > with "ntpd -d". But somehow -d is no longer an option. I believe it's > > the option to turn on the debug mode. >ntp-dev-4.2.5p170\ntpd\ntpd.c(586,22): > * Default handlers print to stderr which doesn't work if detached. >? The best idea is to open a file (/tmp/ntp say) and write your fprintf messages to that. _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
