Paul wrote:
On Tue, Aug 26, 2014 at 9:54 AM, Phil W Lee <p...@lee-family.me.uk> wrote:
Paul <tik-...@bodosom.net> considered Mon, 25 Aug 2014 19:13:45 GMT the perfect
time to write:
it's just a wrapper (syntactic sugar) around the real API.
Thre's not much point in adding that capability without the files to
enable it to be used.
See above.
e.g. from timepps.h:
time_pps_fetch (arguments)
... [set-up]
ret = ioctl(handle, PPS_FETCH, &__fdata);
... [side-effects]
return ret;
}
OK, so in this case maybe
- timepps.h should indeed be included in the NTP sources
- NTP's configure should not just test the presence of this file to
figure out if PPS is supported on the target system, or not
- Eventually the NTP binaries PPS support should always be built in and
at start up a PPS ioctl could be issued. The result (failed or not)
should indicate if PPS is actually supported by the system the software
is running on.
Martin
--
Martin Burnicki
Meinberg Funkuhren
Bad Pyrmont
Germany
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions