INTRO(3)                  OpenBSD Programmer's Manual                 INTRO(3)

NNAAMMEE
     iinnttrroo - introduction to the C libraries

DDEESSCCRRIIPPTTIIOONN
     The manual pages in section 3 provide an overview of the C library func-
     tions, their error returns, and other common definitions and concepts.
     Most of these functions are available from the C library, _l_i_b_c. Other li-
     braries, such as the math library, _l_i_b_m, must be indicated at compile
     time with the --ll option of the compiler.

     The various libraries (followed by the loader flag):

     libc (--ll_c)
             Standard C library functions.  When using the C compiler cc(1),
             it is not necessary to supply the loader flag --ll_c for these func-
             tions.  There are several ``libraries'' or groups of functions
             included inside of libc: the standard I/O routines, database rou-
             tines, bit operators, string operators, character tests and char-
             acter operators, DES encryption routines, storage allocation,
             time functions, signal handling, and more.

     libc_r (--ll_c___r)
             Reentrant C library.  Contains POSIX 1003.1c pthreads(3) API and
             thread scheduler, as well as all of the functions found in libc.

     libcurses (--ll_c_u_r_s_e_s)
             Terminal independent screen management routines for two-dimen-
             sional non-bitmap display terminals.  See curses(3).

     libcompat (--ll_c_o_m_p_a_t)
             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 compati-
             bility routine indicates the proper interface to use.

     libkvm (--ll_k_v_m)
             Kernel virtual interface library.  See kvm(3).

     libl (--ll_l)
             The library for lex(1).

     libm (--ll_m)
             The math library, _l_i_b_m. See math(3).

     libtermcap (--ll_t_e_r_m_c_a_p)
             The terminal independent operation library package.  (See
             termcap(3).)

FFIILLEESS
     /usr/lib/libacl.a
     /usr/lib/libbfd.a
     /usr/lib/libc.a          C library
     /usr/lib/libc_r.a        reentrant C library (see pthreads(3))
     /usr/lib/libcom_err.a
     /usr/lib/libcompat.a     4.3 compatibility library
     /usr/lib/libcrypto.a     ssl(8) support library
     /usr/lib/libcurses++.a   C++ curses(3) library
     /usr/lib/libcurses.a     curses(3) library
     /usr/lib/libdes.a


     /usr/lib/libedit.a
     /usr/lib/libfl.a
     /usr/lib/libform.a
     /usr/lib/libg2c.a
     /usr/lib/libgmp.a
     /usr/lib/libiberty.a
     /usr/lib/libkadm.a       kerberos(1) support library
     /usr/lib/libkafs.a       afsd(8) support library
     /usr/lib/libkdb.a
     /usr/lib/libkeycap.a
     /usr/lib/libkeynote.a
     /usr/lib/libkrb.a
     /usr/lib/libkvm.a        kvm(3) kernel virtual memory access library
     /usr/lib/libl.a
     /usr/lib/libm.a          math(3) library.
     /usr/lib/libmenu.a
     /usr/lib/libmmalloc.a
     /usr/lib/libobjc.a
     /usr/lib/libocurses.a    The ocurses(3) library is compatible with the
                              _c_u_r_s_e_s library provided in 4.3.
     /usr/lib/libopcodes.a
     /usr/lib/libossaudio.a
     /usr/lib/libotermcap.a   4.3-compatible termcap library.  For use with
                              libocurses (i.e., --ll_o_c_u_r_s_e_s --ll_o_t_e_r_m_c_a_p)
     /usr/lib/libpanel.a      panel(3) library for use with libcurses (i.e.,
                              --ll_p_a_n_e_l --ll_c_u_r_s_e_s)
     /usr/lib/libpcap.a       pcap(3) library.
     /usr/lib/libreadline.a
     /usr/lib/libresolv.a     The resolver(3) routines are included in _l_i_b_c.
                              For legacy applications, this library contains
                              only those functions.
     /usr/lib/librpcsvc.a     generated by rpcgen(1), containing stub func-
                              tions for many common rpc(3) protocols
     /usr/lib/libskey.a       support library for the skey(1) authentication
                              toolkit
     /usr/lib/libssl.a        ssl(8) support library
     /usr/lib/libstdc++.a
     /usr/lib/libtelnet.a
     /usr/lib/libtermcap.a
     /usr/lib/libtermlib.a
     /usr/lib/libutil.a
     /usr/lib/libwrap.a
     /usr/lib/liby.a
     /usr/lib/libz.a

     /usr/lib/libm_i387.a
     /usr/lib/libi386.a

SSEEEE AALLSSOO
     cc(1), ld(1), ld.so(1), nm(1), intro(2), math(3), pthreads(3), stdio(3)

HHIISSTTOORRYY
     An iinnttrroo manual appeared in Version 7 AT&T UNIX.

OpenBSD 3.0                      June 5, 1993                                2
