Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fortran(3f) — Ultrix FORTRAN 1.0 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

intro(3f)  —  RISC

NAME

intro − introduction to FORTRAN library functions

DESCRIPTION

This section describes functions that are in the FORTRAN runtime library. 

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 using the generic names listed above, or they can 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. 

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
chdirchdir.3fchange default directory
chmodchmod.3fchange mode of a file
ctimetime.3freturn system time
dtimeetime.3freturn elapsed execution time
etimeetime.3freturn elapsed execution time
fdatefdate.3freturn date and time in an ASCII string
fgetcgetc.3fget a character from a logical unit
flushflush.3fflush output to a logical unit
forkfork.3fcreate a copy of this process
fputcputc.3fwrite a character to a fortran logical unit
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
iargcgetarg.3freturn command line arguments
idateidate.3freturn date or time in numerical form
ierrnoperror.3fget system error messages
irandrand.3freturn random values
isattyttynam.3ffind name of a terminal port
itimeidate.3freturn date or time in numerical form
killkill.3fsend a signal to a process
lenlen.3ftell about character objects
linklink.3fmake a link to an existing file
locloc.3freturn the address of an object
ltimetime.3freturn system time
perrorperror.3fget system error messages
putcputc.3fwrite a character to a fortran logical unit
qsortqsort.3fquick sort
randrand.3freturn random values
signalsignal.3fchange the action for a signal
sleepsleep.3fsuspend execution for an interval
statstat.3fget file status
systemsystem.3fexecute a UNIX command
timetime.3freturn system time
ttynamttynam.3ffind name of a terminal port
unlinkunlink.3fremove a directory entry
waitwait.3fwait for a process to terminate

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