[LinuxPPS] [PATCH] time_pps_readlink()
Udo van den Heuvel
udovdh at xs4all.nl
Sun Aug 13 14:54:43 CEST 2006
Rodolfo Giometti wrote:
[...[
> to this code:
>
> +#ifdef PPS_HAVE_FINDPATH
> + /* Get the PPS source's real name */
> + time_pps_readlink(link, STRING_LEN, path, STRING_LEN);
> +
> + /* Try to find the source */
> + fd = time_pps_findpath(path, STRING_LEN, id, STRING_LEN);
> + if (fd < 0) {
> + msyslog(LOG_ERR, "refclock: cannot find PPS source \"%s\" in the system",
> PPS_DEVICE);
> + return 1;
> + }
> + msyslog(LOG_INFO, "refclock: found PPS source \"%s\" at id #%d on \"%s\"", PPS_DEV
> ICE, fd, id);
> +#endif /* PPS_HAVE_FINDPATH */
Where does PPS_DEVICE come from? (where is it declared, filled, etc?)
I could not locate that info in include/linux/timepps.h.
Udo
More information about the LinuxPPS
mailing list