Guardian Procedure Calls Reference Manual

FILE_CONTROL64_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Related Programming Manuals
Summary
The FILE_CONTROL64_ procedure is used to perform device-dependent I/O operations.
FILE_CONTROL64_ extends the capabilities of the CONTROL procedure in the following ways:
It is callable from both 32-bit and 64-bit processes.
It allows a 64-bit nowait I/O tag to be passed.
Rather than returning a condition code status, the procedure returns a file management error.
A return value of zero indicates success.
NOTE: The FILE_CONTROL64_ procedure is supported on systems running H06.24 and later
H-series RVUs and J06.13 and later J-series RVUs. Its use is recommended for new code.
Syntax for C Programmers
#include <cextdecs(FILE_CONTROL64_)>
short FILE_CONTROL64_ ( short filenum
,short operation
,[ short param ]
,[ long long tag ] );
Syntax for TAL Programmers
?SETTOG _64BIT_CALLS
?SOURCE EXTDECS(FILE_CONTROL64_)
error := FILE_CONTROL64_ ( filenum ! i
,operation ! i
,[ param ] ! i
,[ tag ] ); ! i
Parameters
filenum
input
INT:value
is the number of an open file. It identifies the file on which the FILE_CONTROL64_ procedure
performs the I/O operation.
FILE_CONTROL64_ Procedure 379