Chapter 8. utility Libraries

Table of Contents
Interfaces for libz
Data Definitions for libz
Interfaces for libncurses
Data Definitions for libncurses
Interfaces for libutil
Interface Definitions for libutil

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.

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:

zlib Manual

Compression Library

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]deflateInit_ [1]gzerror [1]gzread [1]inflateInit2_ [1]
compress [1]deflateParams [1]gzflush [1]gzrewind [1]inflateInit_ [1]
compress2 [1]deflateReset [1]gzgetc [1]gzseek [1]inflateReset [1]
crc32 [1]deflateSetDictionary [1]gzgets [1]gzsetparams [1]inflateSetDictionary [1]
deflate [1]get_crc_table [1]gzopen [1]gztell [1]inflateSync [1]
deflateCopy [1]gzclose [1]gzprintf [1]gzwrite [1]inflateSyncPoint [1]
deflateEnd [1]gzdopen [1]gzputc [1]inflate [1]uncompress [1]
deflateInit2_ [1]gzeof [1]gzputs [1]inflateEnd [1]zError [1]

Referenced Specification(s)