Takes an Network Information Services NIS protocol error code as input and returns an error code to be used as input to a yperr_string subroutine.
C Library (libc.a)
#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>
ypprot_err ( incode)
u_int incode;
The ypprot_err subroutine takes a NIS protocol error code as input and returns an error code to be used as input to a yperr_string subroutine.
Item | Description |
---|---|
incode | Specifies the NIS protocol error code used as input to the subroutine. |
This subroutine returns a corresponding error code to be passed to the yperr_string subroutine.