INTRO(3) BSD Library Functions Manual INTRO(3)
intro -- introduction to the system libraries
This section provides an overview of the system libraries, their functions, error returns and other common definitions and concepts. Most of
these functions are available from the standard C library, libc. Other libraries, such as the math library, libm, must be indicated at com-
pile time with the -l option of the compiler.
The various system libraries supplied in NetBSD (followed by the linker flags) are:
The abstract syntax notation (ASN) library provides routines for the specification of abstract data types.
Block-sorting compressor library providing routines for fast and efficient compression.
libc (-lc) The standard C library. When using the C compiler cc(1), it is not necessary to supply the linker flag -lc for these functions.
There are several subsystems included inside libc:
standard I/O routines
character tests and character operators
encryption and hash routines
see md4(3) and md5(3).
see mpool(3) and malloc(3)
The common error description library. See com_err(3).
Functions which are obsolete but are available for compatibility with 4.3BSD. In particular, a number of system call interfaces
provided in previous releases of BSD have been included for source code compatibility. Use of these routines should, for the
most part, be avoided. The manual page entry for each compatibility routine indicates the proper interface to use.
The crypt library. See crypt(3).
The OpenSSL cryptographic library. See crypto(3).
The OpenSSL cryptographic library routines for the IDEA algorithm. This algorithm is separated from libcrypto since the IDEA
algorithm is protected by patents and its use is restricted.
The OpenSSL cryptographic library routines for the RC5 algorithm. This algorithm is separated from libcrypto since the RC5 algo-
rithm is protected by patents and its use is restricted.
libcurses (-lcurses -ltermcap)
Terminal independent screen management routines for two dimensional non-bitmap display terminals. See curses(3).
The OpenSSL cryptographic library for the DES algorithms. See des(3).
The device-mapper driver access library used for communication with kernel driver dm(4) and for lvm(8) subsystem.
The command-line editor or editline library. The editline library provides generic editing and history functions. See
The curses form library provides a terminal-independent form system using the curses library. The form library provides facili-
ties for defining forms on terminals. See forms(3).
The Generic Security Services (GSS) API library. This library provides verification services to applications and usually sits
above the cryptographic libraries.
The Hesiod library. This library provides routines for performing lookups of Hesiod information, which is stored as text records
in the Domain Name Service. See hesiod(3).
The Heimdal Kerberos 5 authentication/authorisation database access library.
The internationalized message handling library. See gettext(3).
The IPsec policy control library. See ipsec_set_policy(3) and ipsec_strerror(3).
The Kerberos IV administration server and client library.
The Kerberos 5 administration client library.
The Kerberos 5 administration server library.
The Kerberos IV AFS library. See kafs(3).
The Kerberos IV authentication/authorisation database access library.
The Kerberos IV library.
The Kerberos 5 library. See krb5(3).
Kerberos IV encrypted stream library.
Kernel data access library. See kvm(3).
libl (-ll) The library for lex(1).
libm (-lm) The math library. See math(3).
The curses menu library. See menus(3).
The packet capture library. See pcap(3).
The PCI bus access library. See pci(3).
The POSIX compatibility library provides a compatibility interface for POSIX functions which differ from the standard BSD inter-
faces. See chown(2) and rename(2).
The DNS resolver library.
Remote magnetic tape library. See rmtops(3).
A library containing compatibility functions used by Kerberos. It implements functionality required by the Kerberos implementa-
tion not implemented in the standard NetBSD libraries.
The Remote Procedure Call (RPC) services library. See rpc(3).
The S/Key one-time password library. See skey(3).
The secure sockets layer (SSL) library. See ssl(3).
The telnet library.
The terminal-independent operation library. See termcap(3).
The Universal Serial Bus (USB) access library.
The system utilities library. See util(3).
The TCP wrappers library. See hosts_access(3).
liby (-ly) The library for yacc(1).
libz (-lz) General-purpose compression library.
cc(1), ld(1), nm(1), rtld(1), intro(2)
An intro manual appeared in Version 7 AT&T UNIX.
February 8, 2011 BSD