Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-14
FILE_CLOSE_ Procedure
FILE_CLOSE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Messages
Related Programming Manuals
Summary
The FILE_CLOSE_ procedure closes an open file. Closing a file terminates access to
the file. You can use FILE_CLOSE_ to close files that were opened by either
FILE_OPEN_ or OPEN.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
is a file-system error number indicating the outcome of the operation. No error is
retryable; most of the possible error conditions are the result of programming
errors.
filenum input
INT:value
is the number identifying the open file to be closed.
filenum was returned by
FILE_OPEN_ or OPEN when the file was originally opened.
tape-disposition input
INT:value
#include <cextdecs(FILE_CLOSE_)>
short FILE_CLOSE_ ( short filenum
,[ short tape-disposition ] );
error := FILE_CLOSE_ ( filenum ! i
,[ tape-disposition ] ); ! i