Home | History | Annotate | Download | only in gencat

Lines Matching defs:catfile

143 	fprintf(stderr, "usage: %s catfile [msgfile|- ...]\n", getprogname());
151 char *catfile = NULL;
170 catfile = *argv++;
172 if ((catfile[0] == '-') && (catfile[1] == '\0')) {
175 ofd = open(catfile, O_WRONLY | O_CREAT | O_EXCL, 0666);
178 if ((ofd = open(catfile, O_RDWR)) < 0) {
179 err(1, "Unable to open %s", catfile);
183 err(1, "Unable to create new %s", catfile);
186 curfile = catfile;
190 err(1, "Unable to seek on %s", catfile);
214 err(1, "Unable to truncate %s", catfile);