INTRO(3) BSD Programmer's Manual INTRO(3) NNAAMMEE iinnttrroo - introduction to the C libraries DDEESSCCRRIIPPTTIIOONN This section provides an overview of the C library functions, their error returns and other common definitions and concepts. Most of these func- tions are available from the C library, _l_i_b_c (see libc(3)). 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. A subset of the libc(functions) are available from Fortran; they are de- scribed separately in intro(3f). The various libraries (followed by the loader flag): libc(--ll_c) Standard C library functions. (See libc(3).) When using the C compiler cc(1), it is not necessary to supply the loader flag --ll_c for these functions. There are several `libraries' or groups of functions included inside of libc: the standard I/O routines, database routines, bit operators, string opera- tors, character tests and character operators, des encryption routines, storage allocation, time functions, signal handling and more. libcurses( --ll_c_u_r_s_e_s --ll_t_e_r_m_c_a_p) Terminal independent screen management routines for two di- mensional non-bitmap display terminals. (See curses(3).) libcompat(--ll_c_o_m_p_a_t) Functions which are obsolete but are available for compati- bility with 4.3BSD. In particular, a number of system call interfaces provided in previous releases of BSD have been in- cluded 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. libl(--ll_l) The library for lex(1). libm(--ll_m) The math library, _l_i_b_m. The math library is loaded as needed by the Pascal compiler pc(1), but not by the C compiler which requires the --ll_m flag. (See math(3).) libmp(--ll_m_p) libplot(--ll_p_l_o_t) Device independent plotting functions. (See plot(3).) libplotf77(--ll_p_l_o_t_f_7_7) The device independent plotting functions for fortran. (See plot(3).) libtermcap--ll_t_e_r_m_c_a_p The terminal independent operation library package. (See termcap(3).) liby(--ll_y) The library for yacc(1). FFIILLEESS /usr/lib/libc.a the C library /usr/lib/libm.a the math library /usr/lib/libc_p.a the C library compiled for profiling /usr/lib/libm_p.a the math library compiled for profiling SSEEEE AALLSSOO stdio(3), math(3), intro(2), cc(1), ld(1), nm(1) HHIISSTTOORRYY An iinnttrroo manual appeared in Version 7 AT&T UNIX. 4th Berkeley Distribution June 5, 1993 2