Lines Matching defs:path
84 np->path = NULL; \
103 char *path;
121 char path[PATH_MAX];
163 /* is it absolute path ? if yes, load immediately */
193 pathP = path;
217 if (pathP - path >=
218 sizeof(path) - 1)
225 spcleft = sizeof(path) -
226 (pathP - path) - 1;
237 if (pathP - path >= sizeof(path) - 1)
243 if (stat(path, &sbuf) == 0) {
246 return (load_msgcat(path, name, lang));
338 free(np->path);
373 load_msgcat(const char *path, const char *name, const char *lang)
381 /* path/name will never be NULL here */
385 * it might still be found by absolute path.
389 if ((np->path != NULL) && (strcmp(np->path, path) == 0)) {
397 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) {
448 np->path = strdup(path);