.TH INTRO 3F .UC .SH NAME intro \- introduction to FORTRAN library functions .SH DESCRIPTION .LP This section describes those functions that are in the FORTRAN run time library. The functions listed here provide an interface from \fIf77\fP 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 .IR f77 (1). .LP 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. .LP For efficiency, the SCCS ID strings are not normally included in the .I a.out file. To include them, simply declare .nf external f77lid .fi in any .I f77 module. .sp 2 .ce \fIFunctions Available in the FORTRAN Library\fP .sp .nf .ta 0.4i 2.5i abort terminate abruptly with memory image access determine accessability of a file alarm execute a subroutine after a specified time bessel functions of two kinds for integer orders bit bitwise functions and bitwise and (see bit.3f) or bitwise or (see bit.3f) xor bitwise xor (see bit.3f) not bitwise not (see bit.3f) rshift right shift (see bit.3f) lshift left shift (see bit.3f) chdir change default directory chmod change file modes etime return elapsed execution time dtime return elapsed execution time (see etime.3f) exit terminate process with status fdate return date and time in an ASCII string flmin return smallest real value flmax return largest real value (see flmin.3f) ffrac return smallest fractional value (see flmin.3f) dflmin return smallest double value (see flmin.3f) dflmax return largest double value (see flmin.3f) dffrac return smallest fractional double (see flmin.3f) inmax return largest integer value (see flmin.3f) flush flush output to a logical unit fork create a copy of this process fseek reposition a file on a logical unit ftell tell file position on logical unit (see fseek.3f) getarg command arguments to fortran iargc command arguments to fortran (see getarg.3f) getc get a character from a logical unit fgetc get a character from a logical unit (see getc.3f) getcwd get pathname of current working directory getenv get value of environment variables getlog get user's login name getpid get process id getuid get user ID of the caller getgid get group ID of the caller (see getuid.3f) hostnm get name of host system idate return date in numerical form itime return time in numerical form (see idate.3f) index find substring in character object rindex find substring in character object (see index.3f) lnblnk find end of character object (see index.3f) len tell length of character object (see index.3f) ioinit initialize I/O system kill send a signal to a process link make a link to an existing file symlnk create a symbolic link to a file (see link.3f) loc return the address of an object long convert to long integer short convert to short integer (see long.3f) perror get system error messages gerror get system error messages (see perror.3f) ierrno get system error number (see perror.3f) putc write a character to a logical unit fputc write a character to a logical unit (see putc.3f) qsort quick sort rand return random values drand return random values (see rand.3f) irand return random values (see rand.3f) signal change the action for a signal sleep sleep for awhile stat get file status fstat get file status (see stat.3f) lstat get file status (see stat.3f) system execute a unix command time return system time ctime return system time (see time.3f) ltime return system time (see time.3f) gmtime return system time (see time.3f) topen open channel to magnetic tape device tclose close tape channel (see topen.3f) tread read tape device (see topen.3f) twrite write tape device (see topen.3f) trewin rewind tape device (see topen.3f) tskipf skip forward on tape device (see topen.3f) tstate get tape device status (see topen.3f) traper trap arithmetic errors trapov trap and repair floating point errors (obsolete) trpfpe trap and repair floating point errors fpecnt how many faults have there been (see trpfpe.3f) ttynam find name of a terminal port isatty is logical unit open to a tty port (see ttynam.3f) unlink remove a directory entry wait wait for a process to terminate .fi