#include <rpc/rpc.h> bool_t svc_sendreply(const SVCXPRT *xprt, const xdrproc_t inproc, const caddr_t in);
The svc_sendreply() function sends the results of a procedure call to a remote client.
No authorization is required.
TRUE (1) | svc_sendreply() was successful. |
FALSE (0) | svc_sendreply() was unsuccessful. |
The svc_sendreply() function returns FALSE when some transport error or some exception has occurred. The errno global variable can be set to the following values:
[EBADF] | Bad file descriptor. |
[EINVAL] | General I/O error. |
[EOPNOTSUPP] | Operation is not supported. |
[EUNKNOWN] | Unknown system state or exception has occurred. |
Message ID | Error Message Text |
---|---|
CPIA1B3 I | TI-RPC encountered a problem in the server. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
Refer to the example for svcerr_systemerr()--Send Information to Client for System Error
Top | Remote Procedure Call (RPC) APIs | APIs by category |