ypprot_err Subroutine

Purpose

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.

Library

C Library (libc.a)

Syntax

#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>

ypprot_err ( incode)
u_int incode;

Description

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.

Parameters

Item Description
incode Specifies the NIS protocol error code used as input to the subroutine.

Return Values

This subroutine returns a corresponding error code to be passed to the yperr_string subroutine.