Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INTRO(3F)                            BSD                             INTRO(3F)



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
     can be referenced by using the generic names listed above, or they can be
     referenced by 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
  Name        Appears on Page                     Description

abort         abort(3F)           abnormal termination
access        access(3F)          determine accessibility of a file
alarm         alarm(3F)           execute a subroutine after a specified
                                  time
bessel        bessel(3F)          of two kinds for integer orders
bit           bit(3F)             and, or, xor, not, rshift, lshift bitwise
                                  functions
chdir         chdir(3F)           change default directory
chmod         chmod(3F)           change mode of a file
ctime         time(3F)            return system time
dffrac        flmin(3F)           return extreme values
dflmax        flmin(3F)           return extreme values
dflmin        flmin(3F)           return extreme values
drand         rand(3F)            return random values
drandm        random(3F)          better random number generator
dtime         etime(3F)           return elapsed execution time
etime         etime(3F)           return elapsed execution time
exit          exit(3F)            terminate process with status
falloc        malloc(3F)          memory allocator
fdate         fdate(3F)           return date and time in an ASCII string
ffrac         flmin(3F)           return extreme values
fgetc         getc(3F)            get a character from a logical unit
flmax         flmin(3F)           return extreme values
flmin         flmin(3F)           return extreme values
flush         flush(3F)           flush output to a logical unit
fork          fork(3F)            create a copy of this process
fpecnt        trpfpe(3F)          trap and repair floating point faults
fputc         putc(3F)            write a character to a FORTRAN logical
                                  unit
free          malloc(3F)          memory allocator
fseek         fseek(3F)           reposition a file on a logical unit
fstat         stat(3F)            get file status
ftell         fseek(3F)           reposition a file on a logical unit
functions     bessel(3F)          of two kinds for integer orders
gerror        perror(3F)          get system error messages
getarg        getarg(3F)          return command line arguments
getc          getc(3F)            get a character from a logical unit
getcwd        getcwd(3F)          get pathname of current working directory
getenv        getenv(3F)          get value of environment variables
getgid        getuid(3F)          get user or group ID of the caller
getlog        getlog(3F)          get user's login name
getpid        getpid(3F)          get process id
getuid        getuid(3F)          get user or group ID of the caller
gmtime        time(3F)            return system time
hostnm        hostnm(3F)          get name of current host
iargc         getarg(3F)          return command line arguments
idate         idate(3F)           return date or time in numerical form
ierrno        perror(3F)          get system error messages
index         index(3F)           tell about character objects
inmax         flmin(3F)           return extreme values
ioinit        ioinit(3F)          change f77 I/O initialization
irand         rand(3F)            return random values
irandm        random(3F)          better random number generator
isatty        ttynam(3F)          find name of a terminal port
itime         idate(3F)           return date or time in numerical form
kill          kill(3F)            send a signal to a process
len           index(3F)           tell about character objects
link          link(3F)            make a link to an existing file
lnblnk        index(3F)           tell about character objects
loc           loc(3F)             return the address of an object
long          long(3F)            integer object conversion
lstat         stat(3F)            get file status
ltime         time(3F)            return system time
malloc        malloc(3F)          memory allocator
openpl        plot(3F)            f77 library interface to plot (3X)
                                  libraries
perror        perror(3F)          get system error messages
plot          plot(3F)            f77 library interface to plot (3X) libraries
putc          putc(3F)            write a character to a FORTRAN logical
                                  unit
qsort         qsort(3F)           quick sort
rand          rand(3F)            return random values
random        random(3F)          better random number generator
rename        rename(3F)          rename a file
rindex        index(3F)           tell about character objects
short         long(3F)            integer object conversion
signal        signal(3F)          change the action for a signal
sleep         sleep(3F)           suspend execution for an interval
stat          stat(3F)            get file status
system        system(3F)          execute a UNIX command
tclose        topen(3F)           f77 tape I/O
time          time(3F)            return system time
topen         topen(3F)           f77 tape I/O
traper        traper(3F)          trap arithmetic errors
trapov        trapov(3F)          trap and repair floating point overflow
tread         topen(3F)           f77 tape I/O
trewin        topen(3F)           f77 tape I/O
trpfpe        trpfpe(3F)          trap and repair floating point faults
tskipf        topen(3F)           f77 tape I/O
tstate        topen(3F)           f77 tape I/O
ttynam        ttynam(3F)          find name of a terminal port
twrite        topen(3F)           f77 tape I/O
unlink        unlink(3F)          remove a directory entry
wait          wait(3F)            wait for a process to terminate

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