Lines Matching defs:argptr
181 char *argptr;
184 argptr = prom_getcmdline();
185 if ((argptr = strstr(argptr, "kgdb=ttyS")) != NULL) {
186 argptr += strlen("kgdb=ttyS");
187 if (*argptr != '0' && *argptr != '1')
189 "falling back to /dev/ttyS1\n", *argptr);
190 line = *argptr == '0' ? 0 : 1;
194 if (*++argptr == ',')
197 while ((c = *++argptr) && ('0' <= c && c <= '9'))