SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE 13.X zlib-devel-1.2.9-2.1.i586.rpm

ZLIB

Section: C Library Functions (3)
Updated: 31 Dec 2016
Index 

NAME

zlib - compression/decompression library 

SYNOPSIS

[seezlib.hfor full description] 

DESCRIPTION

Thezliblibrary 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.

Compression 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.

The library also supports reading and writing files ingzip(1)(.gz) formatwith an interface similar to that of stdio.

The 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.

All functions of the compression library are documented in the filezlib.h.The distribution source includes examples of use of the libraryin the filestest/example.candtest/minigzip.c,as well as other examples in theexamples/directory.

Changes to this version are documented in the fileChangeLogthat accompanies the source.

zlibis built in to many languages and operating systems, including but not limited toJava, Python, .NET, PHP, Perl, Ruby, Swift, and Go.

An experimental package to read and write files in the .zip format,written on top ofzlibby Gilles Vollant (infoAATTwinimage.com),is available at:

http://www.winimage.com/zLibDll/minizip.htmland also in thecontrib/minizipdirectory of the mainzlibsource distribution.
 

SEE ALSO

Thezlibweb site can be found at:
http://zlib.net/

The data format used by thezliblibrary is described by RFC(Request for Comments) 1950 to 1952 in the files:

http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
http://tools.ietf.org/html/rfc1951 (for the deflate compressed data format)
http://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format)

Mark Nelson wrote an article aboutzlibfor the Jan. 1997 issue of Dr. Dobb's Journal;a copy of the article is available at:

http://marknelson.us/1997/01/01/zlib-engine/
 

REPORTING PROBLEMS

Before reporting a problem,please check thezlibweb site to verify that you have the latest version ofzlib;otherwise,obtain the latest version and see if the problem still exists.Please read thezlibFAQ at:
http://zlib.net/zlib_faq.html

before asking for help.Send questions and/or comments to zlibAATTgzip.org,or (for the Windows DLL version) to Gilles Vollant (infoAATTwinimage.com). 

AUTHORS AND LICENSE

Version 1.2.9

Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or impliedwarranty. In no event will the authors be held liable for any damagesarising from the use of this software.

Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute itfreely, subject to the following restrictions:

step].
The origin of this software must not be misrepresented; you must notclaim that you wrote the original software. If you use this softwarein a product, an acknowledgment in the product documentation would beappreciated but is not required.
step].
Altered source versions must be plainly marked as such, and must not bemisrepresented as being the original software.
step].
This notice may not be removed or altered from any source distribution.

Jean-loup Gailly Mark Adler
jloup@gzip.org madlerAATTalumni.caltech.edu

The deflate format used byzlibwas defined by Phil Katz.The deflate andzlibspecifications were written by L. Peter Deutsch.Thanks to all the people who reported problems and suggested variousimprovements inzlib;who are too numerous to cite here.

UNIX manual page by R. P. C. Rodgers,U.S. National Library of Medicine (rodgersAATTnlm.nih.gov).


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
REPORTING PROBLEMS
AUTHORS AND LICENSE

This document was created byman2html,using the manual pages.