Lines Matching refs:argv
633 static void set(char *argv[], struct termios *sp)
639 while(cp = *argv++)
654 if(!*argv)
656 c = gettchar(*argv++);
701 if(!(cp= *argv))
706 argv++;
709 error(ERROR_system(1),"%d: invalid number of %s",argv[-1],tp->name);
720 cp = *argv;
731 argv++;
899 b_stty(int argc, char** argv, void* context)
908 cmdinit(argc, argv, context, ERROR_CATALOG, ERROR_INTERACTIVE);
915 switch (n = optget(argv, usage))
923 if (!opt_info.offset || !argv[opt_info.index][opt_info.offset])
943 else if (!(tp = lookup(argv[opt_info.index]+1)) || (tp->type != BIT && tp->type != TABS))
944 error(ERROR_exit(1), "%s: unknown mode", argv[opt_info.index]);
952 argv += opt_info.index;
953 if (error_info.errors || (flags && *argv) || (flags&(flags-1)))
959 else if (*argv)
961 if (!argv[1] && **argv == ':')
962 gin(*argv, &tty);
964 set(argv, &tty);