Lines Matching refs:ofn
36 tarsum(FILE *in, const char *ifn, FILE *out, const char *ofn)
73 err(1, "%s", ofn);
75 errx(1, "%s: Short write", ofn);
91 const char *ifn, *ofn = NULL;
98 ofn = optarg;
119 if (ofn == NULL || strcmp(ofn, "-") == 0) {
120 ofn = "stdout";
123 if ((out = fopen(ofn, "wb")) == NULL)
124 err(1, "%s", ofn);
126 tarsum(in, ifn, out, ofn);