Searched refs:optchar (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/Libc-1044.1.2/stdlib/FreeBSD/
H A Dgetopt_long.c368 int optchar, short_too; local
503 optchar = parse_long_options(nargv, options, long_options,
505 if (optchar != -1) {
507 return (optchar);
511 if ((optchar = (int)*place++) == (int)':' ||
512 (optchar == (int)'-' && *place != '\0') ||
513 (oli = strchr(options, optchar)) == NULL) {
519 if (optchar == (int)'-' && *place == '\0')
526 optchar);
529 warnx(illoptchar, optchar);
[all...]
/macosx-10.10/file-46/file/src/
H A Dgetopt_long.c183 int optchar; local
260 if ((optchar = (int)*place++) == (int)':' ||
261 (oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) {
266 warnx(illoptchar, optchar);
267 optopt = optchar;
270 if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
278 warnx(recargchar, optchar);
279 optopt = optchar;
301 warnx(recargchar, optchar);
302 optopt = optchar;
[all...]
/macosx-10.10/less-25/less/
H A Dcommand.c74 static char optchar; variable
218 toggle_option(optchar, cbuf, optflag);
219 optchar = '\0';
336 if (optchar == '\0' && len_cmdbuf() == 0)
397 if (optchar == '\0')
405 c = optchar;
408 if (optchar != '\0')
436 optchar = o->oletter;
437 if (!lc && ASCII_IS_LOWER(optchar))
438 optchar
[all...]
/macosx-10.10/apr-32/apr/apr/test/
H A Dtestlockperf.c230 char optchar; local
247 while ((rv = apr_getopt(opt, "v", &optchar, &optarg)) == APR_SUCCESS) {
248 if (optchar == 'v') {
/macosx-10.10/kext_tools-384.1.4/
H A Dkextload_main.c145 int optchar; local
169 while ((optchar = getopt_long_only(argc, (char * const *)argv,
175 switch (optchar) {
203 CFArrayAppendValue((optchar == kOptDependency) ?
259 } /* switch (optchar) */
260 } /* while (optchar = getopt_long_only(...) */
H A Dkclist_main.c224 int optchar = 0; local
242 while ((optchar = getopt_long_only(*argc, *argv,
245 switch (optchar) {
H A Dkctool_main.c179 int optchar = 0; local
187 while ((optchar = getopt_long_only(*argc, *argv,
190 switch (optchar) {
H A Dkextunload_main.c133 int optchar = 0; local
166 while ((optchar = getopt_long_only(argc, (char * const *)argv,
173 switch (optchar) {
212 } /* switch (optchar) */
213 } /* while (optchar = getopt_long_only(...) */
H A Dkcgen_main.c223 int optchar = 0; local
246 while ((optchar = getopt_long_only(*argc, *argv,
259 if (optchar == ':') {
262 optchar = optopt;
273 switch (optchar) {
H A Dkextd_main.c298 int optchar; local
322 while ((optchar = getopt_long_only(argc, (char * const *)argv,
329 switch (optchar) {
370 } /* switch (optchar) */
371 } /* while (optchar = getopt_long_only(...) */
H A Dkextcache_main.c407 int optchar = 0; local
430 while ((optchar = getopt_long_only(*argc, *argv,
443 if (optchar == ':') {
446 optchar = optopt;
460 if (optchar == kOptMkext) {
461 optchar = 0;
467 if (optchar == kOptSystemMkext) {
468 optchar = 0;
472 switch (optchar) {
643 if (optchar
[all...]
H A Dmkextunpack_main.c125 char optchar; local
144 while ((optchar = getopt(argc, (char * const *)argv, "a:d:hv")) != -1) {
145 switch (optchar) {
H A Dkextutil_main.c184 int optchar; local
220 while ((optchar = getopt_long_only(argc, (char * const *)argv,
230 switch (optchar) {
494 } /* switch (optchar) */
495 } /* while (optchar = getopt_long_only(...) */
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/bltins/
H A Dgetopts.c108 opt_info.offset = shp->st.optchar;
178 shp->st.optchar = opt_info.offset;
/macosx-10.10/misc_cmds-33/units/
H A Dunits.c678 int optchar; local
682 while ((optchar = getopt(argc, argv, "vqf:")) != -1) {
683 switch (optchar) {
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/include/
H A Ddefs.h88 short optchar; member in struct:sh_scoped
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dinit.c311 shp->st.opterror = shp->st.optchar = 0;
H A Dxec.c3349 shp->st.opterror = shp->st.optchar = 0;

Completed in 604 milliseconds