Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual522629-013
13-58
REPLY[X] Procedures
REPLY[X] Procedures
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Considerations for REPLYX Only
Errors for REPLYX Only
Example
Related Programming Manual
Summary
The REPLY[X] procedures are used to send a reply message to a message received
earlier in a corresponding call to READUPDATE[X] on the $RECEIVE file.
The REPLY[X] procedures can be called even if there are incomplete nowait I/O
operations pending on $RECEIVE.
Syntax for C Programmers
The function value returned by REPLY[X], which indicates the condition code, can
be interpreted by
_status_lt(), _status_eq(), or _status_gt() (defined
in the file
tal.h).
#include <cextdecs(REPLY)>
_cc_status REPLY ( [ short _near *buffer ]
,[ short write-count ]
,[ short _near *count-written ]
,[ short message-tag ]
,[ short error-return ] );
#include <cextdecs(REPLYX)>
_cc_status REPLYX ( [ const char *buffer ]
,[ short write-count ]
,[ short *count-written ]
,[ short message-tag ]
,[ short error-return ] );