| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 | .TH ZLIB 3 "28 Apr 2013".SH NAMEzlib \- compression/decompression library.SH SYNOPSIS[see.I zlib.hfor full description].SH DESCRIPTIONThe.I zliblibrary is a general purpose data compression library.The code is thread safe, assuming that the standard library functionsused are thread safe, such as memory allocation routines.It provides in-memory compression and decompression functions,including integrity checks of the uncompressed data.This version of the library supports only one compression method (deflation)but other algorithms may be added laterwith the same stream interface..LPCompression can be done in a single step if the buffers are large enoughor can be done by repeated calls of the compression function.In the latter case,the application must provide more input and/or consume the output(providing more output space) before each call..LPThe library also supports reading and writing files in.IR gzip (1)(.gz) formatwith an interface similar to that of stdio..LPThe library does not install any signal handler.The decoder checks the consistency of the compressed data,so the library should never crash even in the case of corrupted input..LPAll functions of the compression library are documented in the file.IR zlib.h .The distribution source includes examples of use of the libraryin the files.I test/example.cand.IR test/minigzip.c,as well as other examples in the.IR examples/directory..LPChanges to this version are documented in the file.I ChangeLogthat accompanies the source..LP.I zlibis available in Java using the java.util.zip package:.IPhttp://java.sun.com/developer/technicalArticles/Programming/compression/.LPA Perl interface to.IR zlib ,written by Paul Marquess (pmqs@cpan.org),is available at CPAN (Comprehensive Perl Archive Network) sites,including:.IPhttp://search.cpan.org/~pmqs/IO-Compress-Zlib/.LPA Python interface to.IR zlib ,written by A.M. Kuchling (amk@magnet.com),is available in Python 1.5 and later versions:.IPhttp://docs.python.org/library/zlib.html.LP.I zlibis built into.IR tcl:.IPhttp://wiki.tcl.tk/4610.LPAn experimental package to read and write files in .zip format,written on top of.I zlibby Gilles Vollant (info@winimage.com),is available at:.IPhttp://www.winimage.com/zLibDll/minizip.htmland also in the.I contrib/minizipdirectory of the main.I zlibsource distribution..SH "SEE ALSO"The.I zlibweb site can be found at:.IPhttp://zlib.net/.LPThe data format used by the zlib library is described by RFC(Request for Comments) 1950 to 1952 in the files:.IPhttp://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format).brhttp://tools.ietf.org/html/rfc1951 (for the deflate compressed data format).brhttp://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format).LPMark Nelson wrote an article about.I zlibfor the Jan. 1997 issue of  Dr. Dobb's Journal;a copy of the article is available at:.IPhttp://marknelson.us/1997/01/01/zlib-engine/.SH "REPORTING PROBLEMS"Before reporting a problem,please check the.I zlibweb site to verify that you have the latest version of.IR zlib ;otherwise,obtain the latest version and see if the problem still exists.Please read the.I zlibFAQ at:.IPhttp://zlib.net/zlib_faq.html.LPbefore asking for help.Send questions and/or comments to zlib@gzip.org,or (for the Windows DLL version) to Gilles Vollant (info@winimage.com)..SH AUTHORSVersion 1.2.8Copyright (C) 1995-2013 Jean-loup Gailly (jloup@gzip.org)and Mark Adler (madler@alumni.caltech.edu)..LPThis software is provided "as-is,"without any express or implied warranty.In no event will the authors be held liable for any damagesarising from the use of this software.See the distribution directory with respect to requirementsgoverning redistribution.The deflate format used by.I zlibwas defined by Phil Katz.The deflate and.I zlibspecifications were written by L. Peter Deutsch.Thanks to all the people who reported problems and suggested variousimprovements in.IR zlib ;who are too numerous to cite here..LPUNIX manual page by R. P. C. Rodgers,U.S. National Library of Medicine (rodgers@nlm.nih.gov)..\" end of man page
 |