HPlogo HP-UX Reference Volume 4 of 5 > Introduction

intro(3)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

intro — introduction to subroutines and libraries

DESCRIPTION

This section describes functions found in various libraries, other than those functions that directly invoke HP-UX system primitives, which are described in Section (2) of this volume. Certain major collections are identified by a letter after the section identifier (3):

(3C)

These functions, together with the Operating System Calls and those marked (3S), constitute the Standard C Library, libc, which is automatically loaded by the C compiler, cc(1). Declarations for some of these functions can be obtained from #include files indicated in the appropriate entries.

(3G)

These functions constitute the graphics library and are documented in separate manuals.

(3I)

These functions constitute the instrument support (Device I/O) library.

(3M)

These functions constitute the Math Library, libm. The link editor searches this library if the -lm option is specified. Declarations for these functions are available in the header files <math.h> and <fenv.h>. Several generally useful mathematical constants are also defined in <math.h> (see math(5)).

(3N)

These functions are applicable to the Internet network and are part of the standard C library, libc.

(3S)

These functions constitute the ``standard I/O package'' (see stdio(3S)). These functions are in the library libc, already mentioned. Declarations for these functions can be obtained from the #include file <stdio.h>.

(3T)

These functions constitute the Pthreads Library. The link editor ld (see ld(1)) searches this library if the -lpthread option is specified. See pthread(3T) for more detailed information on threads.

(3X)

Various specialized libraries. The files in which these libraries are found are specified in the appropriate entries.

DIAGNOSTICS

Functions in the C and Math Libraries, (3C) and (3M), may return the conventional values 0 or ±HUGE_VAL when the function is undefined for the given arguments or when the value is not representable. HUGE_VAL is defined as +INFINITY in the <math.h> header file. Functions in the Math Library may also return ±INFINITY or a NaN. In these cases, the external variable errno (see errno(2)) may also be set to the value [EDOM] or [ERANGE].

FILES

/usr/lib/libc.a

Standard I/O, operating system calls, and general purpose routines archive library.

/usr/lib/libc.sl

Standard I/O, operating system calls, and general purpose routines shared library.

/usr/lib/libcurses.sl

CRT screen handling shared library.

/usr/lib/libm.a

SVID3, XPG4.2, and ANSI C compliant math archive library.

/usr/lib/libm.sl

SVID3, XPG4.2, and ANSI C compliant math shared library.

SEE ALSO

intro(2), stdio(3S), math(5), hier(5), ar(1), ld(1), nm(1).

The introduction to this manual.

© Hewlett-Packard Development Company, L.P.