1INTRO(3F)                                                            INTRO(3F)
2
3
4

NAME

6       intro - introduction to FORTRAN library functions
7

DESCRIPTION

9       This section describes those functions that are in the Fortran run time
10       library.  The functions listed here provide an interface from f77  pro‐
11       grams to the system in the same manner as the C library does for C pro‐
12       grams.  They are automatically loaded as needed by the Fortran compiler
13       f77(1),  except  for  the  graphics  interface routines.  Those must be
14       explicitly requested, see plot(3f).
15
16       The math intrinsics required by the 1977 Fortran  standard  are  avail‐
17       able,  although  not  described here.  In addition, the abs, sqrt, exp,
18       log, sin, and cos intrinsics have been extended for double complex val‐
19       ues.   They  may be referenced using the generic names listed above, or
20       they may be referenced using their specific names that consist  of  the
21       generic names preceded by either cd or z.  For example, if zz is double
22       complex, then sqrt(zz), zsqrt(zz), or  cdsqrt(zz)  compute  the  square
23       root of zz.  The dcmplx intrinsic forms a double complex value from two
24       double precision variables or expressions, and the name of the specific
25       function for the conjugate of a double complex value is dconjg.
26
27       Most  of  these  functions  are  in  libU77.a.  Some are in libF77.a or
28       libI77.a.  A few intrinsic functions are described for the sake of com‐
29       pleteness.
30
31       For  efficiency,  the  SCCS ID strings are not normally included in the
32       a.out file. To include them, simply declare
33
34            external f77lid
35
36       in any f77 module.
37

LIST OF FUNCTIONS

39       Name    Appears on Page    Description
40       abort     abort.3f     abnormal termination
41       access    access.3f    determine accessibility of a file
42       alarm     alarm.3f     execute a subroutine after a specified time
43       and       bit.3f       bitwise and
44       arc       plot.3f      f77 interface to plot(3x)
45       bessel    bessel.3f    bessel functions of two kinds for integer orders
46       box       plot.3f      f77 interface to plot(3x)
47       chdir     chdir.3f     change default directory
48       chmod     chmod.3f     change mode of a file
49       circle    plot.3f      f77 interface to plot(3x)
50       clospl    plot.3f      f77 interface to plot(3x)
51       cont      plot.3f      f77 interface to plot(3x)
52       ctime     time.3f      return system time
53       dffrac    flmin.3f     return extreme values
54       dflmax    flmin.3f     return extreme values
55       dflmin    flmin.3f     return extreme values
56       drand     rand.3f      return random values
57       drandm    random.3f    better random number generator
58       dtime     etime.3f     return elapsed execution time
59       erase     plot.3f      f77 interface to plot(3x)
60       etime     etime.3f     return elapsed execution time
61       exit      exit.3f      terminate process with status
62       falloc    malloc.3f    memory allocator
63       fdate     fdate.3f     return date and time in an ASCII string
64       ffrac     flmin.3f     return extreme values
65       fgetc     getc.3f      get a character from a logical unit
66       flmax     flmin.3f     return extreme values
67       flmin     flmin.3f     return extreme values
68       flush     flush.3f     flush output to a logical unit
69       fork      fork.3f      create a copy of this process
70       fpecnt    trpfpe.3f    trap and repair floating point faults
71       fputc     putc.3f      write a character to a fortran logical unit
72       free      malloc.3f    memory allocator
73       fseek     fseek.3f     reposition a file on a logical unit
74       fstat     stat.3f      get file status
75       ftell     fseek.3f     reposition a file on a logical unit
76       gerror    perror.3f    get system error messages
77       getarg    getarg.3f    return command line arguments
78       getc      getc.3f      get a character from a logical unit
79       getcwd    getcwd.3f    get pathname of current working directory
80       getenv    getenv.3f    get value of environment variables
81       getgid    getuid.3f    get user or group ID of the caller
82       getlog    getlog.3f    get user's login name
83       getpid    getpid.3f    get process id
84       getuid    getuid.3f    get user or group ID of the caller
85       gmtime    time.3f      return system time
86       hostnm    hostnm.3f    get name of current host
87       iargc     getarg.3f    return command line arguments
88       idate     idate.3f     return date or time in numerical form
89       ierrno    perror.3f    get system error messages
90       index     index.3f     tell about character objects
91       inmax     flmin.3f     return extreme values
92       ioinit    ioinit.3f    change f77 I/O initialization
93       irand     rand.3f      return random values
94       irandm    random.3f    better random number generator
95       isatty    ttynam.3f    find name of a terminal port
96       itime     idate.3f     return date or time in numerical form
97       kill      kill.3f      send a signal to a process
98       label     plot.3f      f77 interface to plot(3x)
99       len       index.3f     tell about character objects
100       line      plot.3f      f77 interface to plot(3x)
101       linemd    plot.3f      f77 interface to plot(3x)
102       link      link.3f      make a link to an existing file
103       lnblnk    index.3f     tell about character objects
104       loc       loc.3f       return the address of an object
105       long      long.3f      integer object conversion
106       lshift    bit.3f       left shift
107       lstat     stat.3f      get file status
108       ltime     time.3f      return system time
109       malloc    malloc.3f    memory allocator
110       move      plot.3f      f77 interface to plot(3x)
111       not       bit.3f       bitwise complement
112       openpl    plot.3f      f77 interface to plot(3x)
113       or        bit.3f       bitwise or
114       perror    perror.3f    get system error messages
115       point     plot.3f      f77 interface to plot(3x)
116       putc      putc.3f      write a character to a fortran logical unit
117       qsort     qsort.3f     quick sort
118       rand      rand.3f      return random values
119       random    random.3f    better random number generator
120       rename    rename.3f    rename a file
121       rindex    index.3f     tell about character objects
122       rshift    bit.3f       right shift
123       short     long.3f      integer object conversion
124       signal    signal.3f    change the action for a signal
125       sleep     sleep.3f     suspend execution for an interval
126       space     plot.3f      f77 interface to plot(3x)
127       stat      stat.3f      get file status
128       symlnk    symlnk.3f    make a symbolic link
129       system    system.3f    execute a UNIX command
130       tclose    topen.3f     f77 tape I/O
131       time      time.3f      return system time
132       topen     topen.3f     f77 tape I/O
133       traper    traper.3f    trap arithmetic errors
134       trapov    trapov.3f    trap and repair floating point overflow
135       tread     topen.3f     f77 tape I/O
136       trewin    topen.3f     f77 tape I/O
137       trpfpe    trpfpe.3f    trap and repair floating point faults
138       tskipf    topen.3f     f77 tape I/O
139       tstate    topen.3f     f77 tape I/O
140       ttynam    ttynam.3f    find name of a terminal port
141       twrite    topen.3f     f77 tape I/O
142       unlink    unlink.3f    remove a directory entry
143       wait      wait.3f      wait for a process to terminate
144       xor       bit.3f       bitwise exclusive or
145
146
147
1484.2 Berkeley Distribution        May 27, 1986                        INTRO(3F)
Impressum