Guardian Procedure Calls Reference Manual

REPLY[X|XL] Procedures
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Returned Value
Considerations
Considerations for REPLYX and REPLYXL
Errors for REPLYX and REPLYXL
Example
Related Programming Manual
Summary
The REPLY[X|XL] procedures are used to send a reply message to a message received earlier in
a corresponding call to READUPDATE[X|XL] on the $RECEIVE file.
The REPLY[X|XL] procedures can be called even if there are incomplete nowait I/O operations
pending on $RECEIVE.
NOTE: The REPLYXL procedure is supported on systems running H06.18 and later H-series RVUs
and J06.07 and later J-series RVUs.
REPLY[X|XL] performs the same operation as the FILE_REPLY64_ Procedure (page 499), which is
recommended for new code.
Key differences in FILE_REPLY64_ are:
The pointer parameters are 64 bits wide.
The write-count parameter is 32 bits wide.
The procedure returns an error code value rather than a condition code, simplifying
error-handling code.
Syntax for C Programmers
#include <cextdecs(REPLY)>
_cc_status REPLY ( [ short _near *buffer ]
,[ unsigned short write-count ]
,[ unsigned short _near *count-written ]
,[ short message-tag ]
,[ short error-return ] );
#include <cextdecs(REPLYX)>
_cc_status REPLYX ( [ const char _far *buffer ]
,[ unsigned short write-count ]
,[ unsigned short _far *count-written ]
,[ short message-tag ]
,[ short error-return ] );
1242 Guardian Procedure Calls (R)