Lines Matching defs:path
120 -I directory add directory to include path\n\
237 char *path;
255 path_new(const char *path)
260 sizeof(path[0]) * stdpaths);
261 paths[npaths - stdpaths] = savestr(path);
266 input_new(FILE *fp, const char *path, const char *fname)
274 ip->path = savestr(path);
288 free(input->path);
296 tryopen(const char *path, const char *fname)
301 if (path == NULL)
304 fn = xalloc(strlen(path) + strlen(fname) + 2);
305 sprintf(fn, "%s/%s", path, fname);
316 char *path;
328 path = NULL;
330 path = input->path;
332 if ((fp = tryopen(path, fname)) != NULL) {