Chapter 8. Utility Libraries

An LSB-conforming implementation shall also support some utility libraries which are built on top of the interfaces provided by the base libraries. These libraries implement common functionality, and hide additional system dependent information such as file formats and device names.

8.1. Interfaces for libz

Table 8-1 defines the library name and shared object name for the libz library

Table 8-1. libz Definition

Library:libz
SONAME:libz.so.1

The behavior of the interfaces in this library is specified by the following specifications:

this specification

8.1.1. Compression Library

8.1.1.1. Interfaces for Compression Library

An LSB conforming implementation shall provide the generic functions for Compression Library specified in Table 8-2, with the full functionality as described in the referenced underlying specification.

Table 8-2. libz - Compression Library Function Interfaces

adler32 [1]deflateInit2_ [1]gzerror [1]gzrewind [1]inflateReset [1]
compress [1]deflateInit_ [1]gzflush [1]gzseek [1]inflateSetDictionary [1]
compress2 [1]deflateParams [1]gzgetc [1]gzsetparams [1]inflateSync [1]
compressBound [1]deflateReset [1]gzgets [1]gztell [1]inflateSyncPoint [1]
crc32 [1]deflateSetDictionary [1]gzopen [1]gzwrite [1]uncompress [1]
deflate [1]get_crc_table [1]gzprintf [1]inflate [1]zError [1]
deflateBound [1]gzclose [1]gzputc [1]inflateEnd [1]zlibVersion [1]
deflateCopy [1]gzdopen [1]gzputs [1]inflateInit2_ [1] 
deflateEnd [1]gzeof [1]gzread [1]inflateInit_ [1] 

Referenced Specification(s)