Introduction to Library Functions libbz2(3)
NAME
libbz2 - library for block-sorting data compression
SYNOPSIS
cc [ flag ...] file -lbz2 [ library ... ]
#include
#include
DESCRIPTION
Interfaces in this library provide the ability to compress
(and decompress) files using the Burrows-Wheeler blocksort-
ing text compression algorithm, and Huffman coding. It is
provided along with the bzip2(1) utility. See bzip2(1) for
more information.
The source distribution of bzip2 contains a description of
how to use this library in HTML form.
For additional information on shared object interfaces, see
intro(3).
INTERFACES
BZ2bzCompressInit
BZ2bzCompress
BZ2bzCompressEnd
BZ2bzDecompressInit
BZ2bzDecompress
BZ2bzDecompressEnd
BZ2bzReadOpen
BZ2bzReadClose
BZ2bzReadGetUnused
BZ2bzRead
BZ2bzWriteOpen
BZ2bzWrite
BZ2bzWriteClose
BZ2bzBuffToBuffCompress
BZ2bzBuffToBuffDecompress
BZ2bzlibVersion
BZ2bzopen
BZ2bzdopen
BZ2bzread
BZ2bzwrite
BZ2bzflush
BZ2bzclose
FILES
/usr/lib/libbz2.so.1
shared object
/usr/lib/sparcv9/libbz2.so.1
64-bit shared object
SunOS 5.10 Last change: 8 Oct 1999 1
Introduction to Library Functions libbz2(3)
SEE ALSO
bzip2(1), intro(3)
AUTHOR
Julian Seward, jseward@acm.org.
http:/sourceware.cygnus.com/bzip2
http:/www.muraroa.demon.co.uk
The ideas embodied in bzip2 are due to (at least) the fol-
lowing people: Michael Burrows and David Wheeler (for the
block sorting transformation), David Wheeler (again, for
the Huffman coder), Peter Fenwick (for the structured cod-
ing model in the original bzip, and many refinements), and
Alistair Moffat, Radford Neal and Ian Witten (for the
arithmetic coder in the original bzip). I am much
indebted for their help, support and advice. See the man-
ual in the source distribution for pointers to sources of
documentation. Christian von Roques encouraged me to look
for faster sorting algorithms, so as to speed up compres-
sion. Bela Lubkin encouraged me to improve the worst-case
compression performance. Many people sent patches, helped
with portability problems, lent machines, gave advice and
were generally helpful.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWbzip
Interface Stability Committed
NOTES
Source for libbz is available on http:/opensolaris.org.
Bare manual page by mikes@Sun.COM.
SunOS 5.10 Last change: 8 Oct 1999 2
|