0
|
1 |
'\" t
|
|
2 |
.\" ident "@(#)libbz2.3.sunman 1.4 07/04/27 SMI"
|
|
3 |
.TH libbz2 3 "8 Oct 1999"
|
|
4 |
.SH NAME
|
|
5 |
libbz2 \- library for block-sorting data compression
|
|
6 |
.SH SYNOPSIS
|
|
7 |
.LP
|
|
8 |
.B cc
|
|
9 |
.RI "[ " "flag " \|.\|.\|. ] " "file \|.\|.\|."
|
|
10 |
.B \-lbz2
|
|
11 |
.RI "[ " "library" " \|.\|.\|. ]"
|
|
12 |
.sp 1n
|
|
13 |
.nf
|
|
14 |
.ft 3
|
|
15 |
#include <stdio.h>
|
|
16 |
#include <bzlib.h>
|
|
17 |
.ft
|
|
18 |
.fi
|
|
19 |
.SH DESCRIPTION
|
|
20 |
Interfaces in this library provide the ability to compress (and
|
|
21 |
decompress) files using the Burrows-Wheeler blocksorting text compression
|
|
22 |
algorithm, and Huffman coding. It is provided along with the
|
|
23 |
.BR bzip2(1)
|
|
24 |
utility.
|
|
25 |
See
|
|
26 |
.BR bzip2(1)
|
|
27 |
for more information.
|
|
28 |
.LP
|
|
29 |
The source distribution of bzip2 contains a description of how to
|
|
30 |
use this library in HTML form.
|
|
31 |
.LP
|
|
32 |
For additional information on shared object interfaces, see
|
|
33 |
.BR intro(3).
|
|
34 |
.SH INTERFACES
|
|
35 |
.nf
|
|
36 |
BZ2_bzCompressInit
|
|
37 |
BZ2_bzCompress
|
|
38 |
BZ2_bzCompressEnd
|
|
39 |
BZ2_bzDecompressInit
|
|
40 |
BZ2_bzDecompress
|
|
41 |
BZ2_bzDecompressEnd
|
|
42 |
BZ2_bzReadOpen
|
|
43 |
BZ2_bzReadClose
|
|
44 |
BZ2_bzReadGetUnused
|
|
45 |
BZ2_bzRead
|
|
46 |
BZ2_bzWriteOpen
|
|
47 |
BZ2_bzWrite
|
|
48 |
BZ2_bzWriteClose
|
|
49 |
BZ2_bzBuffToBuffCompress
|
|
50 |
BZ2_bzBuffToBuffDecompress
|
|
51 |
BZ2_bzlibVersion
|
|
52 |
BZ2_bzopen
|
|
53 |
BZ2_bzdopen
|
|
54 |
BZ2_bzread
|
|
55 |
BZ2_bzwrite
|
|
56 |
BZ2_bzflush
|
|
57 |
BZ2_bzclose
|
|
58 |
.fi
|
|
59 |
.SH FILES
|
|
60 |
.PD 0
|
|
61 |
.TP 20
|
|
62 |
/usr/lib/libbz2.so.1
|
|
63 |
shared object
|
|
64 |
.TP
|
|
65 |
/usr/lib/sparcv9/libbz2.so.1
|
|
66 |
64-bit shared object
|
|
67 |
.PD
|
|
68 |
.SH "SEE ALSO"
|
|
69 |
bzip2(1), intro(3)
|
|
70 |
.SH AUTHOR
|
|
71 |
Julian Seward, [email protected].
|
|
72 |
|
|
73 |
http://sourceware.cygnus.com/bzip2
|
|
74 |
http://www.muraroa.demon.co.uk
|
|
75 |
|
|
76 |
The ideas embodied in bzip2 are due to (at least) the fol-
|
|
77 |
lowing people: Michael Burrows and David Wheeler (for the
|
|
78 |
block sorting transformation), David Wheeler (again, for
|
|
79 |
the Huffman coder), Peter Fenwick (for the structured cod-
|
|
80 |
ing model in the original bzip, and many refinements), and
|
|
81 |
Alistair Moffat, Radford Neal and Ian Witten (for the
|
|
82 |
arithmetic coder in the original bzip). I am much
|
|
83 |
indebted for their help, support and advice. See the man-
|
|
84 |
ual in the source distribution for pointers to sources of
|
|
85 |
documentation. Christian von Roques encouraged me to look
|
|
86 |
for faster sorting algorithms, so as to speed up compres-
|
|
87 |
sion. Bela Lubkin encouraged me to improve the worst-case
|
|
88 |
compression performance. Many people sent patches, helped
|
|
89 |
with portability problems, lent machines, gave advice and
|
|
90 |
were generally helpful.
|
|
91 |
.SH ATTRIBUTES
|
|
92 |
See
|
|
93 |
.BR attributes (5)
|
|
94 |
for descriptions of the following attributes:
|
|
95 |
.sp
|
|
96 |
.TS
|
|
97 |
box;
|
|
98 |
cbp-1 | cbp-1
|
|
99 |
l | l .
|
|
100 |
ATTRIBUTE TYPE ATTRIBUTE VALUE
|
|
101 |
=
|
|
102 |
Availability SUNWbzip
|
|
103 |
=
|
|
104 |
Interface Stability Committed
|
|
105 |
.TE
|
|
106 |
.PP
|
|
107 |
.SH NOTES
|
|
108 |
Source for libbz is available on http://opensolaris.org.
|
|
109 |
.LP
|
|
110 |
Bare manual page by [email protected].
|