summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/setfil.3
blob: 3bcbea9628712d9a460d3520a4b94e5892102db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.th SETFIL III 10/29/73
.sh NAME
setfil \*- specify Fortran file name
.sh SYNOPSIS
.ft B
call setfil ( \fRunit\fB, \fRhollerith-string\fB )
.ft R
.sh DESCRIPTION
.it Setfil
provides a primitive way to associate
an integer I/O
.it unit
number with a file named by the
.it hollerith-string.
The end of the file name is indicated by a blank.
Subsequent I/O on this unit number will refer to
file whose name is specified by
the string.
.s3
.it Setfil
should be called only before any I/O has been done on the
.it unit,
or just after doing a
.bd rewind
or
.bd endfile.
It is ineffective for unit numbers 5 and 6.
.sh "SEE ALSO"
fc (I)
.sh BUGS
There is still no way to receive a file name
or other argument from the command line.
Also, the exclusion of units 5 and 6 is
unwarranted.