1 .\" $NetBSD: intro.3,v 1.21 2004/11/10 16:38:29 wiz Exp $
3 .\" Copyright (c) 1980, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" @(#)intro.3 8.1 (Berkeley) 6/5/93
37 .Nd introduction to the system libraries
39 This section provides an overview of the system libraries, their
40 functions, error returns and other common definitions and concepts.
41 Most of these functions are available from the standard C library,
43 Other libraries, such as the math library,
45 must be indicated at compile time with the
47 option of the compiler.
50 .\" .Xr libc functions
51 .\" are available from Fortran;
52 .\" they are described separately in
55 The various system libraries supplied in
57 (followed by the linker flags) are:
58 .Bl -tag -width "libc (-lc)"
59 .It Em libasn1 Pq Fl l Ns Ar asn1
60 The abstract syntax notation (ASN) library provides routines for the
61 specification of abstract data types.
62 .It Em libbz2 Pq Fl l Ns Ar bz2
63 Block-sorting compressor library providing routines for fast and
64 efficient compression.
65 .It Em libc Pq Fl l Ns Ar c
66 The standard C library. When using the C compiler
68 it is not necessary to supply the linker flag
70 for these functions. There are several subsystems included inside
73 .Bl -tag -width "XXXXXX"
74 .It standard I/O routines
86 .It character tests and character operators
87 .It Tn encryption and hash routines
92 .It storage allocation
104 .It Em libcdk Pq Fl l Ns Ar cdk
105 Curses development kit (CDK) library. See
107 .It Em libcom_err Pq Fl l Ns Ar com_err
108 The common error description library. See
110 .It Em libcompat Pq Fl l Ns Ar compat
111 Functions which are obsolete but are available for compatibility with
113 In particular, a number of system call interfaces provided in previous
116 have been included for source code compatibility. Use of these
117 routines should, for the most part, be avoided. The manual page entry
118 for each compatibility routine indicates the proper interface to use.
119 .It Em libcrypt Pq Fl l Ns Ar crypt
120 The crypt library. See
122 .It Em libcrypto Pq Fl l Ns Ar crypto
123 The OpenSSL cryptographic library. See
125 .It Em libcrypto_idea Pq Fl l Ns Ar crypto_idea
126 The OpenSSL cryptographic library routines for the IDEA algorithm.
127 This algorithm is separated from libcrypto since the IDEA algorithm is
128 protected by patents and its use is restricted.
129 .It Em libcrypto_rc5 Pq Fl l Ns Ar crypto_rc5
130 The OpenSSL cryptographic library routines for the RC5 algorithm.
131 This algorithm is separated from libcrypto since the RC5 algorithm is
132 protected by patents and its use is restricted.
133 .It Em libcurses Pq Fl l Ns Ar curses Fl l Ns Ar termcap
134 Terminal independent screen management routines
135 for two dimensional non-bitmap display terminals. See
137 .It Em libdes Pq Fl l Ns Ar des
138 The OpenSSL cryptographic library for the DES algorithms. See
140 .It Em libedit Pq Fl l Ns Ar edit
141 The command-line editor or editline library. The editline library
142 provides generic editing and history functions. See
144 .It Em libform Pq Fl l Ns Ar form
145 The curses form library provides a terminal-independent form system
146 using the curses library. The form library provides facilities for
147 defining forms on terminals. See
149 .It Em libgssapi Pq Fl l Ns Ar gssapi
150 The Generic Security Services (GSS) API library. This library provides
151 verification services to applications and usually sits above the
152 cryptographic libraries.
153 .It Em libhesiod Pq Fl l Ns Ar hesiod
154 The Hesiod library. This library provides routines for performing
155 lookups of Hesiod information, which is stored as text records in the
156 Domain Name Service. See
158 .It Em libhdb Pq Fl l Ns Ar hdb
159 The Heimdal Kerberos 5 authentication/authorisation database access
161 .It Em libintl Pq Fl l Ns Ar intl
162 The internationalized message handling library. See
164 .It Em libipsec Pq Fl l Ns Ar ipsec
165 The IPsec policy control library. See
166 .Xr ipsec_set_policy 3
168 .Xr ipsec_strerror 3 .
169 .It Em libkadm Pq Fl l Ns Ar kadm
170 The Kerberos IV administration server and client library.
171 .It Em libkadm5clnt Pq Fl l Ns Ar kadm5clnt
172 The Kerberos 5 administration client library.
173 .It Em libkadm5srv Pq Fl l Ns Ar kadm5srv
174 The Kerberos 5 administration server library.
175 .It Em libkafs Pq Fl l Ns Ar kafs
176 The Kerberos IV AFS library. See
178 .It Em libkdb Pq Fl l Ns Ar kdb
179 The Kerberos IV authentication/authorisation database access library.
180 .It Em libkrb Pq Fl l Ns Ar krb
181 The Kerberos IV library.
182 .It Em libkrb5 Pq Fl l Ns Ar krb5
183 The Kerberos 5 library. See
185 .It Em libkstream Pq Fl l Ns Ar kstream
186 Kerberos IV encrypted stream library.
187 .It Em libkvm Pq Fl l Ns Ar kvm
188 Kernel data access library. See
190 .It Em libl Pq Fl l Ns Ar l
193 .It Em libm Pq Fl l Ns Ar m
194 The math library. See
196 .\" The math library is loaded as needed by the Pascal compiler
198 .\" but not by the C compiler which requires the
202 .\" .It Em libmp Pq Fl l Ns Ar mp
204 .\" Old math library.
205 .\" .It Em libplot Pq Fl l Ns Ar plot
206 .\" Device independent plotting functions (see
208 .\" .It Em libplotf77 Pq Fl l Ns Ar plotf77
209 .\" The device independent plotting functions for fortran. (see
211 .\" .It Em libresolv Pq Fl l Ns Ar resolv
212 .\" Routines for network address resolution.
213 .It Em libmenu Pq Fl l Ns Ar menu
214 The curses menu library. See
216 .It Em libpcap Pq Fl l Ns Ar pcap
217 The packet capture library. See
219 .It Em libpci Pq Fl l Ns Ar pci
220 The PCI bus access library. See
222 .It Em libposix Pq Fl l Ns Ar posix
223 The POSIX compatibility library provides a compatibility interface for
224 POSIX functions which differ from the standard BSD interfaces. See
228 .It Em libresolv Pq Fl l Ns Ar resolv
229 The DNS resolver library.
230 .It Em librmt Pq Fl l Ns Ar rmt
231 Remote magnetic tape library. See
233 .It Em libroken Pq Fl l Ns Ar roken
234 A library containing compatibility functions used by Kerberos. It
235 implements functionality required by the Kerberos implementation not
236 implemented in the standard
239 .It Em librpcsvc Pq Fl l Ns Ar rpcsvc
240 The Remote Procedure Call (RPC) services library. See
242 .It Em libskey Pq Fl l Ns Ar skey
243 The S/Key one-time password library. See
245 .It Em libsl Pq Fl l Ns Ar sl
246 .It Em libss Pq Fl l Ns Ar ss
247 .It Em libssl Pq Fl l Ns Ar ssl
248 The secure sockets layer (SSL) library. See
250 .It Em libtelnet Pq Fl l Ns Ar telnet
252 .It Em libtermcap Pq Fl l Ns Ar termcap
253 The terminal-independent operation library. See
255 .It Em libusb Pq Fl l Ns Ar usb
256 The Universal Serial Bus (USB) access library.
259 .It Em libutil Pq Fl l Ns Ar util
260 The system utilities library. See
262 .It Em libwrap Pq Fl l Ns Ar wrap
263 The TCP wrappers library. See
265 .It Em liby Pq Fl l Ns Ar y
268 .It Em libz Pq Fl l Ns Ar z
269 General-purpose compression library.