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