Compaq Fortran provides library routines you can use for general purposes on Tru64 UNIX and Linux systems.

Table F-1 summarizes these routines, which are also listed in reference page intro(3f).

For more information on a specific routine, see the appropriate reference page; for example, for more information on alarm, see alarm(3f). If a routine is described on a differently named reference page, it is specified in the tables.

**Table F-1 Summary of General Routines
(U*X only)**

Name | Description |
---|---|

abort | Terminates a program (abnormally). |

access | Determines accessibility of a file. |

alarm | Executes a subroutine after a specified time. |

and | Returns bitwise AND of two operands. See bit(3f). |

besj0 | Returns a REAL*4 bessel function (kind:1, order:0). See bessel(3f). |

besj1 | Returns a REAL*4 bessel function (kind:1, order:1). See bessel(3f). |

besjn | Returns a REAL*4 bessel function (kind:1, order:n). See bessel(3f). |

bessel | Returns bessel functions. |

besy0 | Returns a REAL*4 bessel function (kind:2, order:0). See bessel(3f). |

besy1 | Returns a REAL*4 bessel function (kind:2, order:1). See bessel(3f). |

besyn | Returns a REAL*4 bessel function (kind:2, order:n). See bessel(3f). |

bit | Returns bitwise functions. |

chdir | Changes the default directory. |

chmod | Changes the mode of a file. |

ctime | Returns the system time. See time(3f). |

dbesj0 | Returns a REAL*8 bessel function (kind:1, order:0). See bessel(3f). |

dbesj1 | Returns a REAL*8 bessel function (kind:1, order:1). See bessel(3f). |

dbesjn | Returns a REAL*8 bessel function (kind:1, order:n). See bessel(3f). |

dbesy0 | Returns a REAL*8 bessel function (kind:2, order:0). See bessel(3f). |

dbesy1 | Returns a REAL*8 bessel function (kind:2, order:1). See bessel(3f). |

dbesyn | Returns a REAL*8 bessel function (kind:2, order:n). See bessel(3f). |

derf | Returns a REAL*8 error function. See erf(3f). |

derfc | Returns a complimentary REAL*8 error function. See erf(3f). |

dffrac | Returns fractional accuracy of a REAL*8 floating-point value. See flmin(3f). |

dflmax | Returns the maximum positive REAL*8 floating-point value. See flmin(3f). |

dflmin | Returns the minimum positive REAL*8 floating-point value. See flmin(3f). |

dlgamma | Returns the REAL*8 log of the gamma function. See lgamma(3f). |

drand | Generates a random number (use drandm instead). See rand(3f). |

drandm | Generates a REAL*8 random number. See random(3f). |

dtime | Returns elapsed delta execution time. See etime(3f). |

erf | Returns a REAL*4 error function. |

erfc | Returns a complimentary REAL*4 error function. See erf(3f). |

etime | Returns elapsed execution time. |

falloc | Allocates memory for an array. See malloc(3f). |

fdate | Returns date and time in an ASCII string. |

ffrac | Returns the fractional accuracy of a REAL*4 floating-point value. See flmin(3f). |

fgetc | Returns a character from a logical unit. See getc(3f). |

flmax | Returns the maximum positive REAL*4 floating-point value. See flmin(3f). |

flmin | Returns the minimum positive REAL*4 floating-point value. |

flush | Writes output to a logical unit. |

for_get_fpe | Returns floating-point exception flags. |

for_rtl_finish_ | Initializes the Fortran run-time environment. See for_rtl_init_(3f). |

for_rtl_init_ | Cleans up the Fortran run-time environment. |

for_set_fpe | Sets floating-point exception flags. See for_get_fpe(3f). |

for_set_reentrancy | Sets reentrancy protection for the Fortran RTL. |

fork | Creates a copy of a calling process. |

fputc | Writes a character to a logical unit. See putc(3f). |

free | Frees memory allocated by malloc or falloc. See malloc(3f). |

fseek | Repositions a file on a logical unit. |

fstat | Returns file status. See stat(3f). |

fsync | Writes logical unit changes to permanent storage. |

ftell | Returns the position of a file associated with a logical unit. See fseek(3f). |

gerror | Writes system error messages. See perror(3f). |

getarg | Returns command line arguments. |

getc | Returns a character from a logical unit. |

getcwd | Returns the pathname of the current working directory. |

getenv | Returns the value of environment variables. |

getfd | Returns the file descriptor associated with a Fortran logical unit. |

getgid | Returns the group ID of the caller. See getuid(3f). |

getlog | Returns the user's login name. |

getpid | Returns the process ID. See getuid(3f). |

getuid | Returns the user ID of the caller. |

gmtime | Returns the GMT system time as month, day, and so forth. See time(3f). |

iargc | Returns the index of the last command line argument. See getarg(3f). |

idate | Returns the date in numerical form. |

ierrno | Returns the system error number for the last error. See perror(3f). |

index | Returns the position of a substring within a string. |

inmax | Returns the maximum positive integer value. See flmin(3f). |

irand | Returns random values (use irandm instead). See rand(3f). |

irandm | Generates an integer random number. See random(3f). |

isatty | Finds the name of a terminal port. See ttynam(3f). |

itime | Returns the time in numerical form. See idate(3f). |

kill | Sends a signal to a process. |

len | Returns the length of a string. See index(3f). |

lgamma | Returns the REAL*4 log of the gamma function. |

link | Makes a link to an existing file. |

lnblnk | Returns the position of the last non-blank string character. See index(3f). |

loc | Returns the address of an object. |

long | Converts INTEGER*2 to INTEGER*4. |

lshift | Shifts a word left by n bits. See bit(3f). |

lstat | Returns information about a file or a link. See stat(3f). |

ltime | Returns the local zone system time as month, day, and so forth. See time(3f). |

malloc | Returns the address of a block of memory. |

not | Returns the bitwise NOT (complement) of an operand. See bit(3f). |

or | Returns the bitwise OR of two operands. See bit(3f). |

perror | Writes system error messages. |

putc | Writes a character to a logical unit. |

qsort | Performs a quick sort of array elements. |

rand | Generates random numbers (use random instead). |

random | Generates random numbers. |

rename | Changes the name of a file. |

rshift | Shifts a word right
by n bits. See bit(3f). |

shcom_connect ^{1} |
Lets a shared library's data be shared between call_shared processes. |

short | Converts INTEGER*4 to INTEGER*2. See long(3f). |

signal | Changes the action for a signal. |

sleep | Suspends execution for an interval. |

srand | Initializes the seed for successive invocations of rand, drand, and irand. See rand(3f). |

stat | Returns file status. |

symlnk | Creates a symbolic link to an existing file. See link(3f). |

system | Calls system(3). |

time | Returns the system time. |

ttynam | Finds the name of a terminal port. |

umask | Sets a file mode creation mask. |

unlink | Removes a directory entry. |

wait | Waits for a process to terminate. |

xor | Returns the bitwise exclusive OR of two operands. See bit(3f). |

^{1} TU*X only |

Previous Page Next Page Table of Contents