01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INTR0 ( 3 ) INTR0 ( 3 )<br />

NAME intro - introduction to subroutines and libraries<br />

SYNOPSIS<br />

#include <br />

#include < ma.th.h ><br />

DESCRIPTION<br />

This section describes functions found in various libraries, other<br />

than those functions that directly invoke UNIX system primitives,<br />

which are described in Section 2 of this volume. Certain major<br />

collections are identified by a letter after the section number:<br />

(3C) These functions, together with those of Section 2 and<br />

those marked (3S), constitute the Standard C Library<br />

libc, which is automatically loaded by the C compiler,<br />

cc( l). The link editor ld( l) searches this library under<br />

the -lc option. Declarations for some of these functions<br />

may be obtained from #include files indicated on the<br />

appropriate pages.<br />

(3M) These functions constitute the Math Library, libm. They<br />

are automatically loaded as needed by the FORTRAN compiler.<br />

They are not automatically loaded by the C compiler,<br />

cc(l); however, the link editor searches this library<br />

under the -lm option. Declarations for these functions<br />

may be obtained from the #include file .<br />

(3T) These functions constitute the UNIX PC "terminal access<br />

method" (tam) library.<br />

(3S) These functions constitute the "standard 1/0 package"<br />

(see stdio (3S)). These functions are in the library libc,<br />

already mentioned. Declarations for these functions may<br />

be obtained from the #include file .<br />

(3X) Various specialized libraries. The files in which these<br />

libraries are found are given on the appropriate pages.<br />

DEFINITIONS<br />

A character is any bit pattern able to fit into a byte on the<br />

machine. The null character is a character with value 0,<br />

represented in the C language as '\0'. A character array is a<br />

sequence of characters. A null-terminated character array is a<br />

sequence of characters, the last of which is the null character. A<br />

string is a designation for a null-terminated character array . The<br />

null string is a character array containing only the null character.<br />

A NULL pointer is the value that is obtained by casting 0 into a<br />

pointer. The C language guarantees that this value will not<br />

match that of any legitimate pointer, so many functions that<br />

return pointers return it to indicate an error. NULL is defined as<br />

0 in ; the user can include his own definition if he is<br />

not using .<br />

FILES<br />

/lib/libc.a<br />

/lib/libm.a<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!