nis_perror (NIS+ API)

Purpose

Prints the error message corresponding to status as "label: error message" on standard error.

Syntax

cc
 [ 
flag
 ... ] 
file
 ... 
-lnsl
 [ 
library
 ... ]
#include <rpcsvc/nis.h>
char *  nis_sperrno(nis_error status);
void nis_perror(nis_error status, char * label);
void nis_lerror(nis_error status, char * label);
char * nis_sperror_r(nis_error status, char * label, char * buf, int length);
char * nis_sperror(nis_error status, char * label);

Description

One of a group of NIS+ APIs that convert NIS+ status values into strings, nis_perror prints the error messages corresponding to status as "label: error messages" on standard error.