Lines Matching defs:path
94 #include "path.h" /* for temporary directory */
263 char *path;
283 if ( (path = malloc(strlen(hostfontdir) + strlen(mapname) +
286 sprintf(path, "%s/%s%s", hostfontdir, mapname, suffix);
287 } else path = mapname;
289 if ( (fd = open(path, 0)) != -1 ) {
291 error(FATAL, "can't fstat %s", path);
295 error(FATAL, "can't read %s", path);
314 error(FATAL, "map table format error - check %s", path);
326 char *path;
344 path = buf;
345 } else path = residentfonts;
347 if ( (fp = fopen(path, "r")) != NULL ) {
466 char *path;
487 if ( (path = malloc(strlen(hostfontdir)+strlen(map[n].file)+2)) == NULL )
489 sprintf(path, "%s/%s", hostfontdir, map[n].file);
490 cat(path);
491 free(path);