Guardian Procedure Calls Reference Manual

COMPLETEIOEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Related Programming Manual
Summary
The COMPLETEIOEDIT procedure informs IOEdit that an outstanding I/O request has finished.
Whenever AWAITIO[X] reports the completion of an I/O request on a file that is (or could be) an
IOEdit file, you must call COMPLETEIOEDIT. You must supply the output values returned by
AWAITIO[X] as the input to COMPLETEIOEDIT.
COMPLETEIOEDIT is an IOEdit procedure and can be used only with files that have been opened
by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
#include <cextdecs(COMPLETEIOEDIT)>
short COMPLETEIOEDIT ( short filenum
,short count-transferred
,__int32_t tag );
CEXTDECS (through the included file TNSINTH) defines 32-bit values as the typedef
__int32_t, which for TNS and TNS/R compiles is defined as long and for TNS/E compiles
is defined as int.
Syntax for TAL Programmers
status := COMPLETEIOEDIT ( filenum ! i
,count-transferred ! i
,tag ); ! i
Parameters
filenum
input
INT:value
is the number that identifies the open file of interest.
count-transferred
input
INT:value
supplies the value of count-transferred returned by AWAITIO[X], which gives the count
of the number of bytes transferred in the I/O operation.
COMPLETEIOEDIT Procedure 177