yperr_string Subroutine

Purpose

Returns a pointer to an error message string.

Library

C Library (libc.a)

Syntax

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

char *yperr_string ( incode)
int incode;

Description

The yperr_string routine returns a pointer to an error message string. The error message string is null-terminated but contains no period or new-line escape characters.

Parameters

Item Description
incode Contains Network Information Services (NIS) error codes as described in the rpcsvc/yp_prot.h file.

Return Values

This subroutine returns a pointer to an error message string corresponding to the incode parameter.