Home | History | Annotate | Download | only in examples

Lines Matching refs:inname

538 /* Decompress the file inname to the file outnname, of if test is true, just
540 inname is NULL or an empty string, read from stdin. If outname is NULL or
542 structure. When appropriate, copy the file attributes from inname to
548 local int gunzip(z_stream *strm, char *inname, char *outname, int test)
554 if (inname == NULL || *inname == 0) {
555 inname = "-";
559 infile = open(inname, O_RDONLY, 0);
561 fprintf(stderr, "gun cannot open %s\n", inname);
591 copymeta(inname, outname); /* copy attributes */
592 unlink(inname);
596 inname);
600 fprintf(stderr, "gun data error on %s: %s\n", inname, strm->msg);
614 inname, strerror(errno));
618 inname);