INTRO(3F7768) — NEWS-OS 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(3F7768).
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 libU7768.a. Some are in libF7768.a or libI7768.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.3f7768abnormal termination
accessaccess.3f7768determine accessibility of a file
alarmalarm.3f7768execute a subroutine after a specified time
andbit.3f7768bitwise and
arcplot.3f7768f77 interface to plot(3x)
besselbessel.3f7768bessel functions of two kinds for integer orders
boxplot.3f7768f77 interface to plot(3x)
chdirchdir.3f7768change default directory
chmodchmod.3f7768change mode of a file
circleplot.3f7768f77 interface to plot(3x)
closplplot.3f7768f77 interface to plot(3x)
contplot.3f7768f77 interface to plot(3x)
ctimetime.3f7768return system time
dffracflmin.3f7768return extreme values
dflmaxflmin.3f7768return extreme values
dflminflmin.3f7768return extreme values
drandrand.3f7768return random values
drandmrandom.3f7768better random number generator
dtimeetime.3f7768return elapsed execution time
eraseplot.3f7768f77 interface to plot(3x)
etimeetime.3f7768return elapsed execution time
exitexit.3f7768terminate process with status
fallocmalloc.3f7768memory allocator
fdatefdate.3f7768return date and time in an ASCII string
ffracflmin.3f7768return extreme values
fgetcgetc.3f7768get a character from a logical unit
flmaxflmin.3f7768return extreme values
flminflmin.3f7768return extreme values
flushflush.3f7768flush output to a logical unit
forkfork.3f7768create a copy of this process
fpecnttrpfpe.3f7768trap and repair floating point faults
fputcputc.3f7768write a character to a fortran logical unit
freemalloc.3f7768memory allocator
fseekfseek.3f7768reposition a file on a logical unit
fstatstat.3f7768get file status
ftellfseek.3f7768reposition a file on a logical unit
gerrorperror.3f7768get system error messages
getarggetarg.3f7768return command line arguments
getcgetc.3f7768get a character from a logical unit
getcwdgetcwd.3f7768get pathname of current working directory
getenvgetenv.3f7768get value of environment variables
getgidgetuid.3f7768get user or group ID of the caller
getloggetlog.3f7768get user’s login name
getpidgetpid.3f7768get process id
getuidgetuid.3f7768get user or group ID of the caller
gmtimetime.3f7768return system time
hostnmhostnm.3f7768get name of current host
iargcgetarg.3f7768return command line arguments
idateidate.3f7768return date or time in numerical form
ierrnoperror.3f7768get system error messages
indexindex.3f7768tell about character objects
inmaxflmin.3f7768return extreme values
ioinitioinit.3f7768change f77 I/O initialization
irandrand.3f7768return random values
irandmrandom.3f7768better random number generator
isattyttynam.3f7768find name of a terminal port
itimeidate.3f7768return date or time in numerical form
killkill.3f7768send a signal to a process
labelplot.3f7768f77 interface to plot(3x)
lenindex.3f7768tell about character objects
lineplot.3f7768f77 interface to plot(3x)
linemdplot.3f7768f77 interface to plot(3x)
linklink.3f7768make a link to an existing file
lnblnkindex.3f7768tell about character objects
locloc.3f7768return the address of an object
longlong.3f7768integer object conversion
lshiftbit.3f7768left shift
lstatstat.3f7768get file status
ltimetime.3f7768return system time
mallocmalloc.3f7768memory allocator
moveplot.3f7768f77 interface to plot(3x)
notbit.3f7768bitwise complement
openplplot.3f7768f77 interface to plot(3x)
orbit.3f7768bitwise or
perrorperror.3f7768get system error messages
pointplot.3f7768f77 interface to plot(3x)
putcputc.3f7768write a character to a fortran logical unit
qsortqsort.3f7768quick sort
randrand.3f7768return random values
randomrandom.3f7768better random number generator
renamerename.3f7768rename a file
rindexindex.3f7768tell about character objects
rshiftbit.3f7768right shift
shortlong.3f7768integer object conversion
signalsignal.3f7768change the action for a signal
sleepsleep.3f7768suspend execution for an interval
spaceplot.3f7768f77 interface to plot(3x)
statstat.3f7768get file status
symlnksymlnk.3f7768make a symbolic link
systemsystem.3f7768execute a NEWS−OS command
tclosetopen.3f7768f77 tape I/O
timetime.3f7768return system time
topentopen.3f7768f77 tape I/O
trapertraper.3f7768trap arithmetic errors
treadtopen.3f7768f77 tape I/O
trewintopen.3f7768f77 tape I/O
trpfpetrpfpe.3f7768trap and repair floating point faults
tskipftopen.3f7768f77 tape I/O
tstatetopen.3f7768f77 tape I/O
ttynamttynam.3f7768find name of a terminal port
twritetopen.3f7768f77 tape I/O
unlinkunlink.3f7768remove a directory entry
waitwait.3f7768wait for a process to terminate
xorbit.3f7768bitwise exclusive or
NEWS-OSRelease 4.2.1R