z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


clnt_perror()

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Format

#include <rpc.h>
void
clnt_perror(clnt, s)
CLIENT *clnt;
char *s;

Parameters

clnt
Specifies the pointer to a client handle that was previously obtained using clnt_create(), clntudp_create(), clnttcp_create(), or clntraw_create().
s
Indicates a null or null-terminated character string. If s is nonnull, clnt_perrorerror() prints the string s followed by a colon, followed by a space, followed by the error message, and terminated with a new line. If s is null or points to a null string, just the error message and the new line are output.

Usage

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

Context

  • clnt_call()
  • clnt_create()
  • clnt_geterr()
  • clnt_pcreateerror()
  • clnt_perrno()
  • clnt_spcreateerror()
  • clnt_sperrno()
  • clnt_sperror()
  • clntraw_create()
  • clnttcp_create()
  • clntudp_create()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014