clnt_perror()

The clnt_perror() call writes an error message indicating why RPC failed.

Syntax

#include <rpc\rpc.h>

void
clnt_perror(clnt, s)
CLIENT *clnt;
char *s;

Parameters

clnt

s

Description

The clnt_perror() call writes a message to the standard error device, indicating why an RPC failed. Use this procedure after clnt_call() if there is an error.

For an example of the clnt_perror() call, see clnt_geterr().

Related Calls


[Back: clnt_perrno()]
[Next: clntraw_create()]