Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intro(3) — GENIX 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stdio(3)

nm(1)

ld(1)

cc(1)

f77(1)

intro(2)



      INTRO(3)                GENIX Programmer's 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 sys-
           tem primitives, 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.  Declarations for some of these functions may be
                 obtained  from  include  files  indicated  on  the appropriate
                 pages.

           (3J)  These functions are part of the job control  facilities,  con-
                 tained  in  the library " .}S 3 1 "" " "-ljobs"" "." " " "" ""
                 "" "" The job control facilities are outlined in jobs(3).

           (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.   Files  in which such libraries are found are named
                 on appropriate pages.

      FILES
           /lib/libc.a
           /lib/libm.a, /usr/lib/libm.a (one or the other)
           /usr/lib/libjobs.a

      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



      Printed 11/16/83                                                        1





      INTRO(3)                GENIX Programmer's Manual                INTRO(3)



           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>.



















































      Printed 11/16/83                                                        2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026