[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

ypprot_err Subroutine

Purpose

Takes an Network Information Service 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

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.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The yperr_string subroutine.

Network Information Service (NIS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.

List of NIS Programming References and Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]