niserror — Display NIS+ Error Messages
Synopsis
/usr/bin/niserror error-num
Description
Use the niserror command to print the NIS+ error associated with status value error-num on the standard output. This command is used in shell scripts to translate returned NIS+ error numbers into text messages.
Examples
The following example prints the error associated with the error number 20.
castle% niserror 20
Not Found, no such name
castle%
The following example prints the error associated with the error number 21.
castle% niserror 21
Name/entry isn’t unique
castle%
Attributes
See attributes(5) for descriptions of the following attributes:
Attribute Type | Attribute Value |
---|---|
Availability | SUNWnisu |
See Also
nis+(1), nis_error(3N), attributes(5) ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.