Home
last modified time | relevance | path

Searched refs:ntp_optarg (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/bsd/ntp/dist/libntp/
H A Dgetopt.c28 char *ntp_optarg; /* Global argument pointer. */ variable
65 ntp_optarg = NULL; in ntp_getopt()
100 ntp_optarg = scan; in ntp_getopt()
105 ntp_optarg = argv[ntp_optind++]; in ntp_getopt()
/netbsd-src/external/bsd/ntp/dist/util/
H A Dntptime.c93 extern char *ntp_optarg; in main()
132 ntx.constant = atoi(ntp_optarg); in main()
141 ntx.esterror = atoi(ntp_optarg); in main()
146 ntx.freq = (long)(atof(ntp_optarg) * SCALE_FREQ); in main()
151 ntx.maxerror = atoi(ntp_optarg); in main()
156 ntx.offset = atoi(ntp_optarg); in main()
165 ntx.status = atoi(ntp_optarg); in main()
172 ntx.constant = atoi(ntp_optarg); in main()
H A Dtickadj.c46 extern char *ntp_optarg;
61 if ((i=atoi(ntp_optarg)) > 0) {
67 progname, ntp_optarg);
77 if ((i=atoi(ntp_optarg)) > 0) {
83 progname, ntp_optarg);
271 writetickadj = atoi(ntp_optarg); in main()
276 progname, ntp_optarg); in main()
309 writetick = atoi(ntp_optarg); in main()
314 progname, ntp_optarg); in main()
/netbsd-src/external/bsd/ntp/dist/ntpdate/
H A Dntpdate.c365 c = atoi(ntp_optarg); in ntpdatemain()
381 if (!atolfp(ntp_optarg, &tmp) in ntpdatemain()
385 progname, ntp_optarg); in ntpdatemain()
392 key_file = ntp_optarg; in ntpdatemain()
395 sys_version = atoi(ntp_optarg); in ntpdatemain()
398 c = atoi(ntp_optarg); in ntpdatemain()
415 if (!atolfp(ntp_optarg, &tmp)) { in ntpdatemain()
418 progname, ntp_optarg); in ntpdatemain()
/netbsd-src/external/bsd/ntp/dist/clockstuff/
H A Dpropdelay.c159 height = atof(ntp_optarg); in main()
162 ntp_optarg); in main()