QMRespond() |
![]() ![]() ![]() |
The QMRespond() function responds to a request for input from a command executed on the server.
Format
where
This function may only be used when an immediately preceding QMExecute() or QMRespond() function has returned a status of SV_PROMPT.
The QMRespond() function returns the given Response to the input request from the server command. Further output from this command is returned as a text string.
If the command completes without requesting input, the Errno variable is set to SV_OK.
If the command requests further input, any output up to that point is returned and the Errno variable is set to SV_PROMPT. The client may respond to this using the QMRespond() function or abort the command using the QMEndCommand() function. |