Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intro(3F) — Sun FORTRAN 1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INTRO(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

intro − introduction to FORTRAN library functions

DESCRIPTION

This section describes those functions that are in the FORTRAN runtime 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). 

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
 abort abort(3F) terminate abruptly with memory image
access access(3F) determine accessibility of a file
alarm alarm(3F) execute a subroutine after a specified time
bit bit(3F) and, or, xor, not, rshift, lshift, bic, bis, bit, setbit functions
chdir chdir(3F) change default directory
chmod chmod(3F) change mode of a file
ctime time(3F) return system time
drand rand(3F) return random values
dtime etime(3F) return elapsed execution time
etime etime(3F) return elapsed execution time
exit exit(3F) terminate process with status
f77_ieee_environment f77_ieee_environment(3F)
  IEEE floating-point mode, status, and signals
f77_floatingpoint f77_floatingpoint(3F)
  IEEE floating-point definitions
fdate fdate(3F) return date and time in an ASCII string
fgetc getc(3F) get a character from a logical unit
flmax range(3F) return extreme values
flmin range(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 free(3F) memory deallocator
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
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
getfd getfd(3F) get the file descriptor of an external unit number
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) return index of the first occurrence of character string a2 in character string a1
inmax range(3F) return the maximum positive integer value
ioinit ioinit(3F) change f77 I/O initialization
irand rand(3F) return random values
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) return declared length of character string
libm_single libm_single(3F)
   single-precision Fortran entry points for all libm functions
libm_double libm_double(3F)
  double-precision Fortran entry points for all libm functions
link link(3F) make a link to an existing file
lnblnk index(3F) return position of last non blank in character string
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
perror perror(3F) get system error messages
putc putc(3F) write a character to a FORTRAN logical unit
qsort qsort(3F) quick sort
rand rand(3F) return random values
rename rename(3F) rename a file
rindex index(3F) return index of the last occurrence of character string a2 in character string a1
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
symlnk link(3F) make a link to an existing file
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
tread topen(3F) f77 tape I/O
trewin topen(3F) f77 tape I/O
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

Sun Release 4.0  —  Last change: 21 April 1988

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