Lines Matching refs:optchr
19 int optchr, int err) in ap_php_optiserr() argument
23 fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr+1); in ap_php_optiserr()
30 fprintf(stderr, "option not found %c\n", argv[oint][optchr]); in ap_php_optiserr()
33 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]); in ap_php_optiserr()
45 static int optchr = 0; in ap_php_getopt() local
72 optchr = 1; in ap_php_getopt()
77 if (argv[ap_php_optind][optchr] == ':') in ap_php_getopt()
81 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRCOLON)); in ap_php_getopt()
83 if (!(cp = strchr(optstr, argv[ap_php_optind][optchr]))) in ap_php_getopt()
86 int errchr = optchr; in ap_php_getopt()
88 if (!argv[ap_php_optind][optchr+1]) in ap_php_getopt()
94 optchr++; in ap_php_getopt()
105 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRARG)); in ap_php_getopt()
117 if (!argv[ap_php_optind][optchr+1]) in ap_php_getopt()
123 optchr++; in ap_php_getopt()