|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)intro.3f 6.6 (Berkeley) 5/27/86
6: .\"
7: .TH INTRO 3F "May 27, 1986"
8: .UC 5
9: .SH NAME
10: intro \- introduction to FORTRAN library functions
11: .SH DESCRIPTION
12: .PP
13: This section describes those functions that are in the Fortran run time
14: library. The functions listed here provide an interface from \fIf77\fP
15: programs to the system in the same manner as the C library does for C
16: programs. They are automatically loaded as needed by the Fortran compiler
17: .IR f77 (1),
18: except for the graphics interface routines.
19: Those must be explicitly requested, see
20: .IR plot (3f).
21: .PP
22: The math intrinsics required by the 1977 Fortran standard are
23: available, although not described here. In addition, the
24: \fIabs\fP, \fIsqrt\fP, \fIexp\fP, \fIlog\fP, \fIsin\fP, and \fIcos\fP
25: intrinsics have been extended for double complex values.
26: They may be referenced using the generic names listed above,
27: or they may be referenced using their specific names that
28: consist of the generic names preceded by either \fIcd\fP or
29: \fIz\fP. For example, if \fIzz\fP is double complex, then
30: \fIsqrt(zz)\fP, \fIzsqrt(zz)\fP, or \fIcdsqrt(zz)\fP compute
31: the square root of \fIzz\fP. The \fIdcmplx\fP intrinsic
32: forms a double complex value from two double precision variables
33: or expressions, and the name of the specific function for the conjugate
34: of a double complex value is \fIdconjg\fP.
35: .PP
36: Most of these functions are in libU77.a.
37: Some are in libF77.a or libI77.a.
38: A few intrinsic functions are described for the sake of completeness.
39: .PP
40: For efficiency, the SCCS ID strings are not normally included in the
41: .I a.out
42: file. To include them, simply declare
43: .nf
44:
45: external f77lid
46:
47: .fi
48: in any
49: .I f77
50: module.
51: .SH "LIST OF FUNCTIONS"
52: .sp 2
53: .nf
54: .ta \w'system'u+2n +\w'access.3f'u+10n
55: \fIName\fP \fIAppears on Page\fP \fIDescription\fP
56: .ta \w'system'u+4n +\w'access.3f'u+4n
57: .sp 5p
58: abort abort.3f abnormal termination
59: access access.3f determine accessibility of a file
60: alarm alarm.3f execute a subroutine after a specified time
61: and bit.3f bitwise and
62: arc plot.3f f77 interface to plot(3x)
63: bessel bessel.3f bessel functions of two kinds for integer orders
64: box plot.3f f77 interface to plot(3x)
65: chdir chdir.3f change default directory
66: chmod chmod.3f change mode of a file
67: circle plot.3f f77 interface to plot(3x)
68: clospl plot.3f f77 interface to plot(3x)
69: cont plot.3f f77 interface to plot(3x)
70: ctime time.3f return system time
71: dffrac flmin.3f return extreme values
72: dflmax flmin.3f return extreme values
73: dflmin flmin.3f return extreme values
74: drand rand.3f return random values
75: drandm random.3f better random number generator
76: dtime etime.3f return elapsed execution time
77: erase plot.3f f77 interface to plot(3x)
78: etime etime.3f return elapsed execution time
79: exit exit.3f terminate process with status
80: falloc malloc.3f memory allocator
81: fdate fdate.3f return date and time in an ASCII string
82: ffrac flmin.3f return extreme values
83: fgetc getc.3f get a character from a logical unit
84: flmax flmin.3f return extreme values
85: flmin flmin.3f return extreme values
86: flush flush.3f flush output to a logical unit
87: fork fork.3f create a copy of this process
88: fpecnt trpfpe.3f trap and repair floating point faults
89: fputc putc.3f write a character to a fortran logical unit
90: free malloc.3f memory allocator
91: fseek fseek.3f reposition a file on a logical unit
92: fstat stat.3f get file status
93: ftell fseek.3f reposition a file on a logical unit
94: gerror perror.3f get system error messages
95: getarg getarg.3f return command line arguments
96: getc getc.3f get a character from a logical unit
97: getcwd getcwd.3f get pathname of current working directory
98: getenv getenv.3f get value of environment variables
99: getgid getuid.3f get user or group ID of the caller
100: getlog getlog.3f get user's login name
101: getpid getpid.3f get process id
102: getuid getuid.3f get user or group ID of the caller
103: gmtime time.3f return system time
104: hostnm hostnm.3f get name of current host
105: iargc getarg.3f return command line arguments
106: idate idate.3f return date or time in numerical form
107: ierrno perror.3f get system error messages
108: index index.3f tell about character objects
109: inmax flmin.3f return extreme values
110: ioinit ioinit.3f change f77 I/O initialization
111: irand rand.3f return random values
112: irandm random.3f better random number generator
113: isatty ttynam.3f find name of a terminal port
114: itime idate.3f return date or time in numerical form
115: kill kill.3f send a signal to a process
116: label plot.3f f77 interface to plot(3x)
117: len index.3f tell about character objects
118: line plot.3f f77 interface to plot(3x)
119: linemd plot.3f f77 interface to plot(3x)
120: link link.3f make a link to an existing file
121: lnblnk index.3f tell about character objects
122: loc loc.3f return the address of an object
123: long long.3f integer object conversion
124: lshift bit.3f left shift
125: lstat stat.3f get file status
126: ltime time.3f return system time
127: malloc malloc.3f memory allocator
128: move plot.3f f77 interface to plot(3x)
129: not bit.3f bitwise complement
130: openpl plot.3f f77 interface to plot(3x)
131: or bit.3f bitwise or
132: perror perror.3f get system error messages
133: point plot.3f f77 interface to plot(3x)
134: putc putc.3f write a character to a fortran logical unit
135: qsort qsort.3f quick sort
136: rand rand.3f return random values
137: random random.3f better random number generator
138: rename rename.3f rename a file
139: rindex index.3f tell about character objects
140: rshift bit.3f right shift
141: short long.3f integer object conversion
142: signal signal.3f change the action for a signal
143: sleep sleep.3f suspend execution for an interval
144: space plot.3f f77 interface to plot(3x)
145: stat stat.3f get file status
146: symlnk symlnk.3f make a symbolic link
147: system system.3f execute a \s-2UNIX\s0 command
148: tclose topen.3f f77 tape I/O
149: time time.3f return system time
150: topen topen.3f f77 tape I/O
151: traper traper.3f trap arithmetic errors
152: trapov trapov.3f trap and repair floating point overflow
153: tread topen.3f f77 tape I/O
154: trewin topen.3f f77 tape I/O
155: trpfpe trpfpe.3f trap and repair floating point faults
156: tskipf topen.3f f77 tape I/O
157: tstate topen.3f f77 tape I/O
158: ttynam ttynam.3f find name of a terminal port
159: twrite topen.3f f77 tape I/O
160: unlink unlink.3f remove a directory entry
161: wait wait.3f wait for a process to terminate
162: xor bit.3f bitwise exclusive or
163: .fi
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.