| Main index | Section 3 | Options |
#include <rpc/rpc.h>
These routines can be called by the server side dispatch function if there is any error in the transaction with the client.
| svcerr_auth() | |
| Called by a service dispatch routine that refuses to perform a remote procedure call due to an authentication error. | |
| svcerr_decode() | |
| Called by a service dispatch routine that cannot successfully decode the remote arguments (see svc_getargs() in rpc_svc_reg(3)). | |
| svcerr_noproc() | |
| Called by a service dispatch routine that does not implement the procedure number that the caller requests. | |
| svcerr_noprog() | |
| Called when the desired program is not registered with the RPC package. Service implementors usually do not need this routine. | |
| svcerr_progvers() | |
| Called when the desired version of a program is not registered with the RPC package. The low_vers argument is the lowest version number, and high_vers is the highest version number. Service implementors usually do not need this routine. | |
| svcerr_systemerr() | |
| Called by a service dispatch routine when it detects a system error not covered by any particular protocol. For example, if a service can no longer allocate storage, it may call this routine. | |
| svcerr_weakauth() | |
| Called by a service dispatch routine that refuses to perform a remote procedure call due to insufficient (but correct) authentication arguments. The routine calls svcerr_auth(xprt, AUTH_TOOWEAK). | |
| RPC_SVC_ERR (3) | May 3, 1993 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
| — The Unix Haters' handbook | ||