annotate src/zlib-1.2.7/zlib.3 @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents e13257ea84a4
children
rev   line source
Chris@4 1 .TH ZLIB 3 "2 May 2012"
Chris@4 2 .SH NAME
Chris@4 3 zlib \- compression/decompression library
Chris@4 4 .SH SYNOPSIS
Chris@4 5 [see
Chris@4 6 .I zlib.h
Chris@4 7 for full description]
Chris@4 8 .SH DESCRIPTION
Chris@4 9 The
Chris@4 10 .I zlib
Chris@4 11 library is a general purpose data compression library.
Chris@4 12 The code is thread safe, assuming that the standard library functions
Chris@4 13 used are thread safe, such as memory allocation routines.
Chris@4 14 It provides in-memory compression and decompression functions,
Chris@4 15 including integrity checks of the uncompressed data.
Chris@4 16 This version of the library supports only one compression method (deflation)
Chris@4 17 but other algorithms may be added later
Chris@4 18 with the same stream interface.
Chris@4 19 .LP
Chris@4 20 Compression can be done in a single step if the buffers are large enough
Chris@4 21 or can be done by repeated calls of the compression function.
Chris@4 22 In the latter case,
Chris@4 23 the application must provide more input and/or consume the output
Chris@4 24 (providing more output space) before each call.
Chris@4 25 .LP
Chris@4 26 The library also supports reading and writing files in
Chris@4 27 .IR gzip (1)
Chris@4 28 (.gz) format
Chris@4 29 with an interface similar to that of stdio.
Chris@4 30 .LP
Chris@4 31 The library does not install any signal handler.
Chris@4 32 The decoder checks the consistency of the compressed data,
Chris@4 33 so the library should never crash even in the case of corrupted input.
Chris@4 34 .LP
Chris@4 35 All functions of the compression library are documented in the file
Chris@4 36 .IR zlib.h .
Chris@4 37 The distribution source includes examples of use of the library
Chris@4 38 in the files
Chris@4 39 .I test/example.c
Chris@4 40 and
Chris@4 41 .IR test/minigzip.c,
Chris@4 42 as well as other examples in the
Chris@4 43 .IR examples/
Chris@4 44 directory.
Chris@4 45 .LP
Chris@4 46 Changes to this version are documented in the file
Chris@4 47 .I ChangeLog
Chris@4 48 that accompanies the source.
Chris@4 49 .LP
Chris@4 50 .I zlib
Chris@4 51 is available in Java using the java.util.zip package:
Chris@4 52 .IP
Chris@4 53 http://java.sun.com/developer/technicalArticles/Programming/compression/
Chris@4 54 .LP
Chris@4 55 A Perl interface to
Chris@4 56 .IR zlib ,
Chris@4 57 written by Paul Marquess (pmqs@cpan.org),
Chris@4 58 is available at CPAN (Comprehensive Perl Archive Network) sites,
Chris@4 59 including:
Chris@4 60 .IP
Chris@4 61 http://search.cpan.org/~pmqs/IO-Compress-Zlib/
Chris@4 62 .LP
Chris@4 63 A Python interface to
Chris@4 64 .IR zlib ,
Chris@4 65 written by A.M. Kuchling (amk@magnet.com),
Chris@4 66 is available in Python 1.5 and later versions:
Chris@4 67 .IP
Chris@4 68 http://docs.python.org/library/zlib.html
Chris@4 69 .LP
Chris@4 70 .I zlib
Chris@4 71 is built into
Chris@4 72 .IR tcl:
Chris@4 73 .IP
Chris@4 74 http://wiki.tcl.tk/4610
Chris@4 75 .LP
Chris@4 76 An experimental package to read and write files in .zip format,
Chris@4 77 written on top of
Chris@4 78 .I zlib
Chris@4 79 by Gilles Vollant (info@winimage.com),
Chris@4 80 is available at:
Chris@4 81 .IP
Chris@4 82 http://www.winimage.com/zLibDll/minizip.html
Chris@4 83 and also in the
Chris@4 84 .I contrib/minizip
Chris@4 85 directory of the main
Chris@4 86 .I zlib
Chris@4 87 source distribution.
Chris@4 88 .SH "SEE ALSO"
Chris@4 89 The
Chris@4 90 .I zlib
Chris@4 91 web site can be found at:
Chris@4 92 .IP
Chris@4 93 http://zlib.net/
Chris@4 94 .LP
Chris@4 95 The data format used by the zlib library is described by RFC
Chris@4 96 (Request for Comments) 1950 to 1952 in the files:
Chris@4 97 .IP
Chris@4 98 http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
Chris@4 99 .br
Chris@4 100 http://tools.ietf.org/html/rfc1951 (for the deflate compressed data format)
Chris@4 101 .br
Chris@4 102 http://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format)
Chris@4 103 .LP
Chris@4 104 Mark Nelson wrote an article about
Chris@4 105 .I zlib
Chris@4 106 for the Jan. 1997 issue of Dr. Dobb's Journal;
Chris@4 107 a copy of the article is available at:
Chris@4 108 .IP
Chris@4 109 http://marknelson.us/1997/01/01/zlib-engine/
Chris@4 110 .SH "REPORTING PROBLEMS"
Chris@4 111 Before reporting a problem,
Chris@4 112 please check the
Chris@4 113 .I zlib
Chris@4 114 web site to verify that you have the latest version of
Chris@4 115 .IR zlib ;
Chris@4 116 otherwise,
Chris@4 117 obtain the latest version and see if the problem still exists.
Chris@4 118 Please read the
Chris@4 119 .I zlib
Chris@4 120 FAQ at:
Chris@4 121 .IP
Chris@4 122 http://zlib.net/zlib_faq.html
Chris@4 123 .LP
Chris@4 124 before asking for help.
Chris@4 125 Send questions and/or comments to zlib@gzip.org,
Chris@4 126 or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
Chris@4 127 .SH AUTHORS
Chris@4 128 Version 1.2.7
Chris@4 129 Copyright (C) 1995-2012 Jean-loup Gailly (jloup@gzip.org)
Chris@4 130 and Mark Adler (madler@alumni.caltech.edu).
Chris@4 131 .LP
Chris@4 132 This software is provided "as-is,"
Chris@4 133 without any express or implied warranty.
Chris@4 134 In no event will the authors be held liable for any damages
Chris@4 135 arising from the use of this software.
Chris@4 136 See the distribution directory with respect to requirements
Chris@4 137 governing redistribution.
Chris@4 138 The deflate format used by
Chris@4 139 .I zlib
Chris@4 140 was defined by Phil Katz.
Chris@4 141 The deflate and
Chris@4 142 .I zlib
Chris@4 143 specifications were written by L. Peter Deutsch.
Chris@4 144 Thanks to all the people who reported problems and suggested various
Chris@4 145 improvements in
Chris@4 146 .IR zlib ;
Chris@4 147 who are too numerous to cite here.
Chris@4 148 .LP
Chris@4 149 UNIX manual page by R. P. C. Rodgers,
Chris@4 150 U.S. National Library of Medicine (rodgers@nlm.nih.gov).
Chris@4 151 .\" end of man page