Next: FIO_WRITE - Write a sequential record
Up: Routine Descriptions
Previous: FIO_TEST - Test if an FIO status value belongs to a certain class of errors
FIO_UNIT
- Get a unit number given a file descriptor
- Description:
- The Fortran unit number associated with the given file descriptor
is returned.
- Invocation:
- CALL FIO_UNIT( FD, UNIT, STATUS )
- Arguments:
-
-
FD = INTEGER (Given)
-
The file descriptor.
-
UNIT = INTEGER (Returned)
-
Variable to receive the unit number.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
Next: FIO_WRITE - Write a sequential record
Up: Routine Descriptions
Previous: FIO_TEST - Test if an FIO status value belongs to a certain class of errors
FIO/RIO FORTRAN file I/O routines
Starlink User Note 143
P M Allan
A J Chipperfield
20 July 2001
E-mail:starlink@jiscmail.ac.uk
Copyright © 2000 Council for the Central Laboratory of the Research Councils