Lines Matching defs:cat
56 static int cat(FILE *, struct stat *, struct stat *, char *);
90 * discard arguments until we find cat.
93 argc = getargv("cat", &argv, 0);
97 * Process the options for cat.
193 gettext("usage: cat [ -usvtebn ] [-|file] ...\n"));
204 gettext("cat: Cannot stat stdout\n"));
243 "cat: cannot open %s: %s\n"),
257 gettext("cat: cannot stat %s: %s\n"),
276 gettext("cat: input/output files '%s' identical\n"),
280 gettext("cat: close error: %s\n"),
289 * otherwise, use cat.
295 estatus = cat(fi, &source, &target,
309 gettext("cat: close error: %s\n"),
320 perror(gettext("cat: close error"));
329 cat(FILE *fi, struct stat *statp, struct stat *outp, char *filenm)
367 * cat do this:
368 * cat file > /dev/null
392 "cat: cannot read "
397 "cat: write "
420 perror(gettext("cat: mmap error"));
429 * rely on cat to do this, so that successive commands in
453 perror(gettext("cat: no memory"));
478 "cat: output error (%d/%d characters written)\n"), nwritten, nitems);
492 gettext("cat: input error on %s: "), filenm);