Lines Matching refs:pathname
53 char *pathname;
59 lafe_line_reader(const char *pathname, int nullSeparator)
65 lafe_errc(1, ENOMEM, "Can't open %s", pathname);
68 lr->pathname = strdup(pathname);
70 if (strcmp(pathname, "-") == 0)
73 lr->f = fopen(pathname, "r");
75 lafe_errc(1, errno, "Couldn't open %s", pathname);
130 "Line too long in %s", lr->pathname);
139 "Line too long in %s", lr->pathname);
153 lafe_errc(1, errno, "Can't read %s", lr->pathname);
166 free(lr->pathname);