Chapter 14. Libraries

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

An LSB-conforming implementation may 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 14-1. libz Definition

Library:libz
SONAME:libz.so.1

[1]

The behavior of the interfaces in this library is specified by the following standards.

zlib 1.1.3 Manual[2]

Compression Library

Table 14-2. libz - Compression Library Function Interfaces

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

Notes

[1]

The reference to the zlib 1.1.3 manual, of course, is to the specification found in the manual, not to the implementation. The zlib 1.1.4 manual, for example, is identical (except for the version number, which we do not specify). The only reason not to just say "zlib 1.1.x" is that it is hard to know whether a hypothetical future release would be compatible.

[2]

zlib 1.1.3 Manual