Lines Matching defs:string
2 // The three words on each input lnie are command name, option string with
3 // current config, option string from allyesconfig. The three are space
12 #include <string.h>
80 // Break down a command string into linked list of "struct flag".
82 struct flag *digest(char *string)
85 char *err = string, c;
87 while (*string) {
89 if (*string == '[') break;
92 if (*string == '(') {
95 new->command = ++string;
109 while (*++string != ')') if (*string == '-') *string = '_';
110 *(string++) = 0;
114 c = chrtype(*string);
115 if (c == 1) string++;
117 if (string[1]=='-') string++;
118 if (!isdigit(string[1])) {
119 fprintf(stderr, "%c without number in '%s'", *string, err);
122 while (isdigit(*++string)) {
124 string++;
131 new->command = string++;