Lines Matching defs:optionstr
152 char *optionstr;
177 optionstr = malloc(optstrlen);
178 if (!optionstr)
180 "parse_opts: ERROR - Could not allocate memory for optionstr";
182 optionstr[0] = '\0';
185 strcat(optionstr, std_options[i].optstr);
189 if (strchr(optionstr, user_optarr[i].option[0]) == NULL)
190 strcat(optionstr, user_optarr[i].option);
195 while ((opt = getopt(ac, av, optionstr)) > 0) {
259 free(optionstr);