Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

intro(3c) [hpux man page]

intro(3C)																 intro(3C)

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, which is automatically loaded by the C compiler, cc(1). Declarations for some of these functions can be obtained from files indicated in the appropriate entries.(3E) These functions constitute the ELF access library which lets a program manipulate ELF (Executable and Linking Format) object files, archive files, and archive members. The link editor searches this library if the option is specified. The header file provides type and function declarations for all library services (described in elf(3E). (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, The link editor searches this library if the option is specified. Declara- tions for these functions are available in the header files and Several generally useful mathematical constants are also defined in (see math(5)). (3N) These functions are applicable to the Internet network and are part of the standard C library, (3S) These functions constitute the ``standard I/O package'' (see stdio(3S)). These functions are in the library already men- tioned. Declarations for these functions can be obtained from the file(3T) These functions constitute the Pthreads Library. The link editor (see ld(1)) searches this library if the option is spec- ified. 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 or when the function is undefined for the given arguments or when the value is not representable. is defined as in the header file. Functions in the Math Library may also return or a In these cases, the external variable (see errno(2)) may also be set to the value [EDOM] or [ERANGE]. FILES
(For PA-RISC systems.) Standard I/O, operating system calls, and general purpose routines archive library. (For PA-RISC systems.) Standard I/O, operating system calls, and general purpose routines shared library. (For Itanium(R)-based systems.) Standard I/O, operating system calls, and general purpose routines 32-bit and 64-bit shared libraries. (For PA-RISC systems.) CRT screen handling shared library. (For Itanium-based systems.) CRT screen handling 32-bit and 64-bit shared libraries. (For PA-RISC systems.) ELF archive library. (For PA-RISC systems.) ELF shared library. (For Itanium-based systems.) ELF 32-bit and 64-bit shared libraries. (For PA-RISC systems.) SVID3, XPG4.2, and ANSI C compliant math archive library. (For PA-RISC systems.) SVID3, XPG4.2, and ANSI C compliant math archive library. (For Itanium-based systems.) SVID3, XPG4.2, and ANSI C compliant 32-bit and 64-bit math shared libraries. SEE ALSO
ar(1), elf(3E), ld(1), nm(1), intro(2), stdio(3S), hier(5), math(5), thread_safety(5), introduction(9). Web access to HP-UX documentation at intro(3C)

Check Out this Related Man Page

INTRO(3)						     Library Functions Manual							  INTRO(3)

NAME
intro - introduction to library functions SYNOPSIS
#include <stdio.h> #include <math.h> DESCRIPTION
This section describes functions that may be found in various libraries, other than those functions that directly invoke UNIX system primi- tives, which are described in section 2. Functions are divided into various libraries distinguished by the section number at the top of the page: (3) These functions, together with those of section 2 and those marked (3S), 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. Declara- tions for some of these functions may be obtained from include files indicated on the appropriate pages. (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>. (3S) These functions constitute the `standard I/O package', see stdio(3). These functions are in the library libc already mentioned. Declarations for these functions may be obtained from the include file <stdio.h>. (3X) Various specialized libraries have not been given distinctive captions. The files in which these libraries are found are named on the appropriate pages. FILES
/lib/libc.a /lib/libm.a, /usr/lib/libm.a (one or the other) SEE ALSO
stdio(3), nm(1), ld(1), cc(1), f77(1), intro(2) 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 or ERANGE. The values of EDOM and ERANGE are defined in the include file <math.h>. ASSEMBLER
In assembly language these functions may be accessed by simulating the C calling sequence. For example, ecvt(3) might be called this way: setd mov $sign,-(sp) mov $decpt,-(sp) mov ndigit,-(sp) movf value,-(sp) jsr pc,_ecvt add $14.,sp INTRO(3)
Man Page