Lines Matching refs:pathname
51 char *pathname;
57 lafe_line_reader(const char *pathname, int nullSeparator)
63 lafe_errc(1, ENOMEM, "Can't open %s", pathname);
66 lr->pathname = strdup(pathname);
68 if (strcmp(pathname, "-") == 0)
71 lr->f = fopen(pathname, "r");
73 lafe_errc(1, errno, "Couldn't open %s", pathname);
128 "Line too long in %s", lr->pathname);
137 "Line too long in %s", lr->pathname);
151 lafe_errc(1, errno, "Can't read %s", lr->pathname);
164 free(lr->pathname);