IV. Utility Libraries

Table of Contents
15. Utility Libraries
15.1. Introduction
15.2. Interfaces for libz
15.2.1. Compression Library
15.3. Data Definitions for libz
15.3.1. zconf.h
15.3.2. zlib.h
15.4. Interface Definitions for libz
adler32 -- compute Adler 32 Checksum
compress -- compress data
compress2 -- compress data at a specified level
compressBound -- compute compressed data size
crc32 -- compute CRC-32 Checksum
deflate -- compress data
deflateBound -- compute compressed data size
deflateCopy -- copy compression stream
deflateEnd -- free compression stream state
deflateInit2_ -- initialize compression system
deflateInit_ -- initialize compression system
deflateParams -- set compression parameters
deflateReset -- reset compression stream state
deflateSetDictionary -- initialize compression dictionary
get_crc_table -- generate a table for crc calculations
gzclose -- close a compressed file stream
gzdopen -- open a compressed file
gzeof -- check for end-of-file on a compressed file stream
gzerror -- decode an error on a compressed file stream
gzflush -- flush a compressed file stream
gzgetc -- read a character from a compressed file
gzgets -- read a string from a compressed file
gzopen -- open a compressed file
gzprintf -- format data and compress
gzputc -- write character to a compressed file
gzputs -- string write to a compressed file
gzread -- read from a compressed file
gzrewind -- reset the file-position indicator on a compressed file stream
gzseek -- reposition a file-position indicator in a compressed file stream
gzsetparams -- dynamically set compression parameters
gztell -- find position on a compressed file stream
gzwrite -- write to a compressed file
inflate -- decompress data
inflateEnd -- free decompression stream state
inflateInit2_ -- initialize decompression system
inflateInit_ -- initialize decompression system
inflateReset -- reset decompression stream state
inflateSetDictionary -- initialize decompression dictionary
inflateSync -- advance compression stream to next sync point
inflateSyncPoint -- test for synchronization point
uncompress -- uncompress data
zError -- translate error number to string
zlibVersion -- discover library version at run time
15.5. Interfaces for libncurses
15.5.1. Curses
15.6. Data Definitions for libncurses
15.6.1. curses.h
15.6.2. term.h
15.7. Interface Definitions for libncurses
inchnstr -- obtain a string of characters and their attributes from a curses window
inchstr -- obtain a string of characters and their attributes from a curses window
instr -- obtain a string of characters from a curses window
mvcur -- send cursor movement commands to terminal
mvinchnstr -- obtain a string of characters and their attributes from a curses window
mvinchstr -- obtain a string of characters and their attributes from a curses window
mvinstr -- obtain a string of characters from a curses window
mvscanw -- convert formatted input from a curses window
mvwinchnstr -- obtain a string of characters and their attributes from a curses window
mvwinchstr -- obtain a string of characters and their attributes from a curses window
mvwinstr -- obtain a string of characters from a curses window
mvwscanw -- convert formatted input from a curses window
ripoffline -- obtain a string of characters and their attributes from a curses window
scanw -- convert formatted input from a curses window
vw_scanw -- convert formatted input from a curses window
vwscanw -- convert formatted input from a curses window
winchnstr -- obtain a string of characters and their attributes from a curses window
winchstr -- obtain a string of characters and their attributes from a curses window
winstr -- obtain a string of characters from a curses window
wscanw -- convert formatted input from a curses window
15.8. Interfaces for libncursesw
15.8.1. Curses Wide
15.9. Data Definitions for libncursesw
15.9.1. ncursesw/curses.h
15.9.2. ncursesw/ncurses_dll.h
15.9.3. ncursesw/term.h
15.9.4. ncursesw/unctrl.h
15.10. Interface Definitions for libncursesw
15.11. Interfaces for libutil
15.11.1. Utility Functions
15.12. Data Definitions for libutil
15.12.1. pty.h
15.13. Interface Definitions for libutil
forkpty -- Create a new process attached to an available pseudo-terminal
login -- login utility function
login_tty -- Prepare a terminal for login
logout -- logout utility function
logwtmp -- append an entry to the wtmp file
openpty -- find and open an available pseudo-terminal