Lines Matching refs:ofilename
186 static const char *ofilename; /* output file name */
295 ofilename = optarg;
326 if (ofilename == NULL) {
327 ofilename = "[stdout]";
331 if (stat(ofilename, &ost) == 0 &&
339 dirsep = strrchr(ofilename, '/');
343 (int)(dirsep - ofilename), ofilename);
354 output = fopen(ofilename, "wb");
356 err(2, "can't open %s", ofilename);
607 warn("couldn't write to %s", ofilename);
626 if (overwriting && rename(tempname, ofilename) == -1) {
629 errx(2, "%s unchanged", ofilename);