next up previous 204
Next: RIO_ERASE - Delete a file
Up: Routine Descriptions
Previous: RIO_CANCL - Close a file and cancel the parameter


RIO_CLOSE - Close a direct access file

Description:
Close the file with the specified file descriptor.

Invocation:
CALL RIO_CLOSE( FD, STATUS )

Arguments:

FD = INTEGER (Given)
A variable containing the file descriptor.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
If the STATUS variable is not SAI__OK on input, then the routine will still attempt to execute, but will return with STATUS set to the import value.


next up previous 204
Next: RIO_ERASE - Delete a file
Up: Routine Descriptions
Previous: RIO_CANCL - Close a file and cancel the parameter

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