Lines Matching defs:outfile
116 int outfile;
136 if (me->outfile != -1)
141 ret = (int)write(me->outfile, buf, ret);
187 /* Decompress a compress (LZW) file from indp to outfile. The compress magic
197 int outfile, z_stream *strm)
217 outd.outfile = outfile;
362 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
365 to the output file. If outfile is -1, then the gzip stream(s) integrity is
374 local int gunpipe(z_stream *strm, int infile, int outfile)
406 ret = lunpipe(have, next, indp, outfile, strm);
458 outd.outfile = outfile;
542 int infile, outfile;
557 outfile = -1;
560 outfile = 1; /* stdout */
563 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666);
564 if (outfile == -1) {
573 ret = gunpipe(strm, infile, outfile);
574 if (outfile > 2) close(outfile);
581 if (infile > 2 && outfile > 2) {
590 if (outfile > 2) unlink(outname);
594 if (outfile > 2) unlink(outname);
598 if (outfile > 2) unlink(outname);
613 if (outfile > 2) unlink(outname);