Specifies the condition of the stat parameter by returning a pointer to a string containing a status message.
#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:
Note: The clnt_sperrno subroutine does not return the pointer to static data, so the result is not overwritten on each call.
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:
This subroutine is part of Base Operating System (BOS) Runtime.
The clnt_perrno subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.