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