outname 539 lib/zlib/examples/gun.c local int gunzip(z_stream *strm, char *inname, char *outname, int test) outname 558 lib/zlib/examples/gun.c else if (outname == NULL || *outname == 0) { outname 559 lib/zlib/examples/gun.c outname = "-"; outname 563 lib/zlib/examples/gun.c outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); outname 566 lib/zlib/examples/gun.c fprintf(stderr, "gun cannot create %s\n", outname); outname 582 lib/zlib/examples/gun.c copymeta(inname, outname); /* copy attributes */ outname 590 lib/zlib/examples/gun.c if (outfile > 2) unlink(outname); outname 594 lib/zlib/examples/gun.c if (outfile > 2) unlink(outname); outname 598 lib/zlib/examples/gun.c if (outfile > 2) unlink(outname); outname 601 lib/zlib/examples/gun.c outname, strerror(errno)); outname 613 lib/zlib/examples/gun.c if (outfile > 2) unlink(outname); outname 625 lib/zlib/examples/gun.c char *outname; outname 658 lib/zlib/examples/gun.c outname = NULL; outname 674 lib/zlib/examples/gun.c outname = malloc(len + 1); outname 675 lib/zlib/examples/gun.c if (outname == NULL) { outname 680 lib/zlib/examples/gun.c memcpy(outname, *argv, len); outname 681 lib/zlib/examples/gun.c outname[len] = 0; outname 683 lib/zlib/examples/gun.c ret = gunzip(&strm, *argv, outname, test); outname 684 lib/zlib/examples/gun.c if (outname != NULL) free(outname);