[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


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.

Related Information

nis_add_entry, nis_first_entry, nis_list, nis_local_directory, nis_lookup, nis_modify_entry, nis_next_entry, nis_remove_entry, and nis_sperror.

Network Information Services+ and NIS+ Namespace and Structure in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide.

TCP/IP Protocols in AIX 5L Version 5.1 System Management Guide: Communications and Networks.

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


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]