Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-3
CANCEL Procedure
CANCEL Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Condition Code Settings
Messages
Related Programming Manual
Summary
The CANCEL procedure is used to cancel the oldest incomplete operation on a file
opened nowait. The canceled operation might or might not have had effects. For disk
files, the file position might or might not be changed.
Syntax for C Programmers
The function value returned by CANCEL, which indicates the condition code, can
be interpreted by
_status_lt(), _status_eq(), or _status_gt() (defined
in the file
tal.h).
Syntax for TAL Programmers
Note. You can cancel a specific request, identified with a tag parameter, using a call to
CANCELREQ.
#include <cextdecs(CANCEL)>
_cc_status CANCEL ( short filenum );
CALL CANCEL ( filenum ); ! i