Guardian Procedure Calls Reference Manual
Parameters
filenum
input
INT:value
is the number of an open file. It identifies the file on which FILE_CONTROLBUF64_ performs
an I/O operation.
operation
input
INT:value
defines the operation to be performed. (See Table 10: CONTROL Operation 1 (page 207) and
Table 11: CONTROL Operations 2 Through 27 (page 209) for the list of available operations.)
buffer
input
INT:EXT64:ref:*
is an array that contains the information to be used for the FILE_CONTROLBUF64_ operation
(see Table 10: CONTROL Operation 1 (page 207) and Table 11: CONTROL Operations 2
Through 27 (page 209) for more information).
count
input
INT:value
is the number of bytes contained in buffer.
count-transferred
output
INT:EXT64:ref:1
returns a count of the number of bytes transferred from buffer (for wait I/O only).
tag
input
INT(64):value
is for nowait I/O only. The tag parameter is a value you define that uniquely identifies the
operation associated with this FILE_CONTROLBUF64_ procedure call.
NOTE: The system stores the tag value until the I/O operation completes. It then returns the
tag information to the program in either the tag parameter of the call to FILE_AWAITIO64_
or the tag field of the completion-info parameter of the call to FILE_COMPLETEL_, thus
indicating that the operation finished.
Returned Value
INT
A file-system error code that indicates the outcome of the call.
FILE_CONTROLBUF64_ Procedure 383