Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-86
COMPLETEIOEDIT Procedure
COMPLETEIOEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
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 should 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
•
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
Parameters
status returned value
INT
returns -1 if
filenum designates a file being managed by IOEdit; returns 0
otherwise.
filenum input
INT:value
#include <cextdecs(COMPLETEIOEDIT)>
short COMPLETEIOEDIT ( short filenum
,short count-transferred
,__int32_t tag);
status := COMPLETEIOEDIT ( filenum ! i
,count-transferred ! i
,tag ); ! i