Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INTRO(3F)  —  UNIX Programmer’s Manual

NAME

intro − introduction to FORTRAN library functions

DESCRIPTION

This section describes those functions that are in the Fortran run time library.  The functions listed here provide an interface from f77 programs to the system in the same manner as the C library does for C programs.  They are automatically loaded as needed by the Fortran compiler f77(1), except for the graphics interface routines. Those must be explicitly requested, see plot(3f).

The math intrinsics required by the 1977 Fortran standard are available, although not described here.  In addition, the abs, sqrt, exp, log, sin, and cos intrinsics have been extended for double complex values.  They may be referenced using the generic names listed above, or they may be referenced using their specific names that consist of the generic names preceded by either cd or z.  For example, if zz is double complex, then sqrt(zz), zsqrt(zz), or cdsqrt(zz) compute the square root of zz.  The dcmplx intrinsic forms a double complex value from two double precision variables or expressions, and the name of the specific function for the conjugate of a double complex value is dconjg. 

Most of these functions are in libU77.a.  Some are in libF77.a or libI77.a.  A few intrinsic functions are described for the sake of completeness. 

For efficiency, the SCCS ID strings are not normally included in the a.out file. To include them, simply declare

 external f77lid
 

in any f77 module. 

LIST OF FUNCTIONS

NameAppears on PageDescription
abortabort.3fabnormal termination
accessaccess.3fdetermine accessibility of a file
alarmalarm.3fexecute a subroutine after a specified time
andbit.3fbitwise and
arcplot.3ff77 interface to plot(3x)
besselbessel.3fbessel functions of two kinds for integer orders
boxplot.3ff77 interface to plot(3x)
chdirchdir.3fchange default directory
chmodchmod.3fchange mode of a file
circleplot.3ff77 interface to plot(3x)
closplplot.3ff77 interface to plot(3x)
contplot.3ff77 interface to plot(3x)
ctimetime.3freturn system time
dffracflmin.3freturn extreme values
dflmaxflmin.3freturn extreme values
dflminflmin.3freturn extreme values
drandrand.3freturn random values
drandmrandom.3fbetter random number generator
dtimeetime.3freturn elapsed execution time
eraseplot.3ff77 interface to plot(3x)
etimeetime.3freturn elapsed execution time
exitexit.3fterminate process with status
fallocmalloc.3fmemory allocator
fdatefdate.3freturn date and time in an ASCII string
ffracflmin.3freturn extreme values
fgetcgetc.3fget a character from a logical unit
flmaxflmin.3freturn extreme values
flminflmin.3freturn extreme values
flushflush.3fflush output to a logical unit
forkfork.3fcreate a copy of this process
fpecnttrpfpe.3ftrap and repair floating point faults
fputcputc.3fwrite a character to a fortran logical unit
freemalloc.3fmemory allocator
fseekfseek.3freposition a file on a logical unit
fstatstat.3fget file status
ftellfseek.3freposition a file on a logical unit
gerrorperror.3fget system error messages
getarggetarg.3freturn command line arguments
getcgetc.3fget a character from a logical unit
getcwdgetcwd.3fget pathname of current working directory
getenvgetenv.3fget value of environment variables
getgidgetuid.3fget user or group ID of the caller
getloggetlog.3fget user’s login name
getpidgetpid.3fget process id
getuidgetuid.3fget user or group ID of the caller
gmtimetime.3freturn system time
hostnmhostnm.3fget name of current host
iargcgetarg.3freturn command line arguments
idateidate.3freturn date or time in numerical form
ierrnoperror.3fget system error messages
indexindex.3ftell about character objects
inmaxflmin.3freturn extreme values
ioinitioinit.3fchange f77 I/O initialization
irandrand.3freturn random values
irandmrandom.3fbetter random number generator
isattyttynam.3ffind name of a terminal port
itimeidate.3freturn date or time in numerical form
killkill.3fsend a signal to a process
labelplot.3ff77 interface to plot(3x)
lenindex.3ftell about character objects
lineplot.3ff77 interface to plot(3x)
linemdplot.3ff77 interface to plot(3x)
linklink.3fmake a link to an existing file
lnblnkindex.3ftell about character objects
locloc.3freturn the address of an object
longlong.3finteger object conversion
lshiftbit.3fleft shift
lstatstat.3fget file status
ltimetime.3freturn system time
mallocmalloc.3fmemory allocator
moveplot.3ff77 interface to plot(3x)
notbit.3fbitwise complement
openplplot.3ff77 interface to plot(3x)
orbit.3fbitwise or
perrorperror.3fget system error messages
pointplot.3ff77 interface to plot(3x)
putcputc.3fwrite a character to a fortran logical unit
qsortqsort.3fquick sort
randrand.3freturn random values
randomrandom.3fbetter random number generator
renamerename.3frename a file
rindexindex.3ftell about character objects
rshiftbit.3fright shift
shortlong.3finteger object conversion
signalsignal.3fchange the action for a signal
sleepsleep.3fsuspend execution for an interval
spaceplot.3ff77 interface to plot(3x)
statstat.3fget file status
symlnksymlnk.3fmake a symbolic link
systemsystem.3fexecute a UNIX command
tclosetopen.3ff77 tape I/O
timetime.3freturn system time
topentopen.3ff77 tape I/O
trapertraper.3ftrap arithmetic errors
trapovtrapov.3ftrap and repair floating point overflow
treadtopen.3ff77 tape I/O
trewintopen.3ff77 tape I/O
trpfpetrpfpe.3ftrap and repair floating point faults
tskipftopen.3ff77 tape I/O
tstatetopen.3ff77 tape I/O
ttynamttynam.3ffind name of a terminal port
twritetopen.3ff77 tape I/O
unlinkunlink.3fremove a directory entry
waitwait.3fwait for a process to terminate
xorbit.3fbitwise exclusive or

4.2 Berkeley Distribution  —  Revision 1.2 of 19/10/88

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