Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/ntp/dist/libntp/
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/
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()
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/
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/
Dpropdelay.c159 height = atof(ntp_optarg); in main()
162 ntp_optarg); in main()
/netbsd/src/external/bsd/ntp/dist/include/
Dntp_stdlib.h237 extern char * ntp_optarg; /* global argument pointer */
/netbsd/src/external/bsd/ntp/dist/
DCommitLog223300 Also, disambiguate local "ntp_optarg" from a global