INTRO(3) COMMAND REFERENCE INTRO(3)
NAME
intro - introduction to library functions
DESCRIPTION
This section describes functions that may be found in
various libraries. The library functions are those other
than the functions which directly invoke UTek system
primitives, described in section two. This section has the
libraries physically grouped together. This is a departure
from older versions of the UNIX Programmer's Reference
Manual, which did not group functions by library. The
functions described in this section are grouped into various
libraries:
(3c)
The 3c functions are the standard C library functions.
(3f)
The 3f functions are all functions callable from
FORTRAN. These functions perform the same jobs as do the
3c functions.
(3m)
These functions constitute the math library, libm. They
are automatically loaded as needed by the FORTRAN
compiler f77(1). The link editor searches this library
under the -lm option. Declarations for these functions
may be obtained from the include file <math.h>.
(3n)
These functions constitute the internet network library.
(3s)
These functions constitute the standard I/O package; see
stdio(3s). These functions are in the C library.
Declarations for these functions may be obtained from
the include file <stdio.h>.
(3t)
These functions constitute the curses and termcap
libraries, and contain routines for screen management.
These functions are loaded by using the arguments
-lcurses and -ltermlib (or -ltermcap) with cc(1).
(3d)
These functions constitute the database management
library.
(3mp)
These functions constitute the multiple precision math
library.
Printed 10/17/86 1
INTRO(3) COMMAND REFERENCE INTRO(3)
The functions in the (3c), (3n), and (3s) routines ,
constitute library libc, which is automatically loaded by
the C compiler cc(1) and the FORTRAN compiler f77(1). The
link editor ld(1) searches this library under the -lc
option. Declarations for some of these functions may be
obtained from include files indicated on the appropriate
pages.
FILES
/lib/libc.a Standard C library
/usr/lib/libc_p.a Standard C library for profiling
/usr/lib/libm.a Math library
/usr/lib/libF77.a f77 intrinsic functions
/usr/lib/libF77_p.a f77 intrinsic functions for
profiling
/usr/lib/libI77.a f77 input/output functions
/usr/lib/libI77_p.a f77 input/output functions for
profiling
/usr/lib/libU77.a f77 system call interface functions
/usr/lib/libU77_p.a f77 system call interface functions
for profiling
/usr/lib/libcurses.a Curses library
/usr/lib/libtermcap.a Terminal capability library
/usr/lib/libtermcap_p.a Terminal capability library for
profiling
/usr/lib/libtermlib.a Terminal capability library
/usr/lib/libtermlib_p.a Terminal capability library for
profiling
/usr/lib/libdbm.a Database management library
/usr/lib/libmp.a Multiple precision math library
DIAGNOSTICS
Functions in the math library (3m) may return conventional
values when the function is undefined for the given
arguments or when the value is not representable. In these
cases, the external variable errno (see intro(2)) is set to
the value EDOM (domain error) or ERANGE (range error). The
Printed 10/17/86 2
INTRO(3) COMMAND REFERENCE INTRO(3)
values of EDOM and ERANGE are defined in the include file
<math.h>.
SEE ALSO
cc(1), f77(1), ld(1), nm(1), intro(2), curses(3t), dbm(3d),
intro(3f), intro(3m), intro(3n), intro(3s), madd(3mp),
stdio(3s), termcap(3t).
Printed 10/17/86 3
%%index%%
na:72,77;
de:149,2212;2505,440;
fi:2945,1624;
di:4569,436;5149,103;
se:5252,416;
%%index%%000000000114