Searched refs:ntp_optind (Results 1 – 10 of 10) sorted by relevance
27 int ntp_optind = 0; /* Global argv index. */ variable65 if (ntp_optind == 0) { in ntp_getopt()67 ntp_optind++; in ntp_getopt()71 if (ntp_optind >= argc in ntp_getopt()72 || argv[ntp_optind][0] != '-' in ntp_getopt()73 || argv[ntp_optind][1] == '\0') { in ntp_getopt()76 if (argv[ntp_optind][1] == '-' in ntp_getopt()77 && argv[ntp_optind][2] == '\0') { in ntp_getopt()78 ntp_optind++; in ntp_getopt()82 scan = argv[ntp_optind++]+1; in ntp_getopt()[all …]
177 if (errflg || (!(Cflag || Wflag || Gflag) && ntp_optind+4 != argc) || in main()178 ((Cflag || Wflag || Gflag) && ntp_optind+2 != argc)) { in main()191 lat1 = latlong(argv[ntp_optind], 1); in main()192 long1 = latlong(argv[ntp_optind + 1], 0); in main()193 lat2 = latlong(argv[ntp_optind + 2], 1); in main()194 long2 = latlong(argv[ntp_optind + 3], 0); in main()207 lat1 = latlong(argv[ntp_optind], 1); in main()208 long1 = latlong(argv[ntp_optind + 1], 0); in main()234 lat1 = latlong(argv[ntp_optind], 1); in main()235 long1 = latlong(argv[ntp_optind + 1], 0); in main()[all …]
94 extern int ntp_optind; in main()131 if (errflg || ntp_optind+1 != argc) { in main()150 c = openterm(argv[ntp_optind]); in main()
90 extern int ntp_optind; in main()177 if (errflg || (ntp_optind != argc)) { in main()
43 extern int ntp_optind;321 if (errflg || ntp_optind != argc) in main()
352 if (ntp_optind == argc) { in ntpdcmain()355 for (; ntp_optind < argc; ntp_optind++) in ntpdcmain()356 ADDHOST(argv[ntp_optind]); in ntpdcmain()
241 ntp_optind = 0; in clear_globals()492 for ( ; ntp_optind < argc; ntp_optind++) in ntpdatemain()493 addserver(argv[ntp_optind]); in ntpdatemain()
232 extern int ntp_optind; /* global argv index */
474 extern int ntp_optind;476 ntp_optind = 0; in clear_globals()
[all...]