gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / zlib / zlib.3
CommitLineData
9c7e3b0e 1.TH ZLIB 3 "15 Jan 2017"
5ca28f79
L
2.SH NAME
3zlib \- compression/decompression library
4.SH SYNOPSIS
5[see
6.I zlib.h
7for full description]
8.SH DESCRIPTION
9The
10.I zlib
11library is a general purpose data compression library.
12The code is thread safe, assuming that the standard library functions
13used are thread safe, such as memory allocation routines.
14It provides in-memory compression and decompression functions,
15including integrity checks of the uncompressed data.
16This version of the library supports only one compression method (deflation)
17but other algorithms may be added later
18with the same stream interface.
19.LP
20Compression can be done in a single step if the buffers are large enough
21or can be done by repeated calls of the compression function.
22In the latter case,
23the application must provide more input and/or consume the output
24(providing more output space) before each call.
25.LP
26The library also supports reading and writing files in
27.IR gzip (1)
28(.gz) format
29with an interface similar to that of stdio.
30.LP
31The library does not install any signal handler.
32The decoder checks the consistency of the compressed data,
33so the library should never crash even in the case of corrupted input.
34.LP
35All functions of the compression library are documented in the file
36.IR zlib.h .
37The distribution source includes examples of use of the library
38in the files
39.I test/example.c
40and
41.IR test/minigzip.c,
42as well as other examples in the
43.IR examples/
44directory.
45.LP
46Changes to this version are documented in the file
47.I ChangeLog
48that accompanies the source.
49.LP
50.I zlib
de1ab01e
NC
51is built in to many languages and operating systems, including but not limited to
52Java, Python, .NET, PHP, Perl, Ruby, Swift, and Go.
5ca28f79 53.LP
de1ab01e 54An experimental package to read and write files in the .zip format,
5ca28f79
L
55written on top of
56.I zlib
57by Gilles Vollant (info@winimage.com),
58is available at:
59.IP
60http://www.winimage.com/zLibDll/minizip.html
61and also in the
62.I contrib/minizip
63directory of the main
64.I zlib
65source distribution.
66.SH "SEE ALSO"
67The
68.I zlib
69web site can be found at:
70.IP
71http://zlib.net/
72.LP
de1ab01e
NC
73The data format used by the
74.I zlib
75library is described by RFC
5ca28f79
L
76(Request for Comments) 1950 to 1952 in the files:
77.IP
78http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
79.br
80http://tools.ietf.org/html/rfc1951 (for the deflate compressed data format)
81.br
82http://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format)
83.LP
84Mark Nelson wrote an article about
85.I zlib
86for the Jan. 1997 issue of Dr. Dobb's Journal;
87a copy of the article is available at:
88.IP
89http://marknelson.us/1997/01/01/zlib-engine/
90.SH "REPORTING PROBLEMS"
91Before reporting a problem,
92please check the
93.I zlib
94web site to verify that you have the latest version of
95.IR zlib ;
96otherwise,
97obtain the latest version and see if the problem still exists.
98Please read the
99.I zlib
100FAQ at:
101.IP
102http://zlib.net/zlib_faq.html
103.LP
104before asking for help.
105Send questions and/or comments to zlib@gzip.org,
106or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
de1ab01e 107.SH AUTHORS AND LICENSE
9c7e3b0e 108Version 1.2.11
de1ab01e
NC
109.LP
110Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
111.LP
112This software is provided 'as-is', without any express or implied
113warranty. In no event will the authors be held liable for any damages
5ca28f79 114arising from the use of this software.
de1ab01e
NC
115.LP
116Permission is granted to anyone to use this software for any purpose,
117including commercial applications, and to alter it and redistribute it
118freely, subject to the following restrictions:
119.LP
120.nr step 1 1
121.IP \n[step]. 3
122The origin of this software must not be misrepresented; you must not
123claim that you wrote the original software. If you use this software
124in a product, an acknowledgment in the product documentation would be
125appreciated but is not required.
126.IP \n+[step].
127Altered source versions must be plainly marked as such, and must not be
128misrepresented as being the original software.
129.IP \n+[step].
130This notice may not be removed or altered from any source distribution.
131.LP
132Jean-loup Gailly Mark Adler
133.br
134jloup@gzip.org madler@alumni.caltech.edu
135.LP
5ca28f79
L
136The deflate format used by
137.I zlib
138was defined by Phil Katz.
139The deflate and
140.I zlib
141specifications were written by L. Peter Deutsch.
142Thanks to all the people who reported problems and suggested various
143improvements in
144.IR zlib ;
145who are too numerous to cite here.
146.LP
147UNIX manual page by R. P. C. Rodgers,
148U.S. National Library of Medicine (rodgers@nlm.nih.gov).
149.\" end of man page
This page took 0.260722 seconds and 4 git commands to generate.