Searched defs:optchr (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/sapi/isapi/stresstest/
H A Dgetopt.c20 int optchr, int err)
24 fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr+1);
31 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
34 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
41 ap_optopt = argv[oint][optchr];
47 static int optchr = 0; local
74 optchr = 1;
79 if (argv[ap_optind][optchr] == ':')
83 return(ap_optiserr(argc, argv, ap_optind-1, optstr, optchr, OPTERRCOLON));
85 if (!(cp = strchr(optstr, argv[ap_optind][optchr])))
19 ap_optiserr(int argc, char * const *argv, int oint, const char *optstr, int optchr, int err) argument
[all...]
/PHP_TRUNK/sapi/milter/
H A Dgetopt.c19 int optchr, int err)
23 fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr+1);
30 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
33 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
45 static int optchr = 0; local
72 optchr = 1;
77 if (argv[ap_php_optind][optchr] == ':')
81 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRCOLON));
83 if (!(cp = strchr(optstr, argv[ap_php_optind][optchr])))
86 int errchr = optchr;
18 ap_php_optiserr(int argc, char * const *argv, int oint, const char *optstr, int optchr, int err) argument
[all...]
/PHP_TRUNK/main/
H A Dgetopt.c31 static int php_opt_error(int argc, char * const *argv, int oint, int optchr, int err, int show_err) /* {{{ */ argument
35 fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr+1);
42 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
45 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
60 static int optchr = 0; local
68 optchr = 0;
114 return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err));
120 optchr = 0;
126 optchr = 1;
129 if (argv[*optind][optchr]
[all...]

Completed in 3 milliseconds