Specifies the condition of the stat parameter by returning a pointer to a string containing a status message.
C Library (libc.a)
#include <rpc/rpc.h>
char *clnt_sperrno ( stat)
enum clnt_stat stat;
The clnt_sperrno subroutine specifies the condition of the stat parameter by returning a pointer to a string containing a status message. The string ends with a new-line character.
Whenever one of the following conditions exists, the clnt_sperrno subroutine is used instead of the clnt_perrno subroutine when a callrpc routine fails:
stat | Specifies the client error status of the remote procedure call. |
The clnt_sperrno subroutine translates and displays the following enum clnt_stat error status messages:
The clnt_perrno subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.