Lines Matching refs:pathname
53 char *pathname;
60 lafe_line_reader(const char *pathname, int nullSeparator)
66 lafe_errc(1, ENOMEM, "Can't open %s", pathname);
69 lr->pathname = strdup(pathname);
71 if (strcmp(pathname, "-") == 0)
74 lr->f = fopen(pathname, "r");
76 lafe_errc(1, errno, "Couldn't open %s", pathname);
131 "Line too long in %s", lr->pathname);
140 "Line too long in %s", lr->pathname);
154 lafe_errc(1, errno, "Can't read %s", lr->pathname);
167 free(lr->pathname);