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