Lines Matching defs:spec
237 const char *spec, *ep;
249 if ((spec = getenv("bootfile")) == NULL)
250 spec = default_bootfiles;
252 while ((try > 0) && (spec != NULL)) {
253 spec = strchr(spec, ';');
254 if (spec)
255 spec++; /* skip over the leading ';' */
258 if (spec != NULL) {
259 if ((ep = strchr(spec, ';')) != NULL) {
260 len = ep - spec;
262 len = strlen(spec);
265 strncpy(name, spec, len);