error_c_text(3ncs)
Name
error_c_text − return an error message for a status code
Syntax
void error_$c_text(status, message, messagemax)
status_$t status;
char *message;
int messagemax;
Arguments
status A status code in status_$t format.
message A character string. The error message represented by the status code.
messagemax The maximum number of bytes to be returned in message.
Description
The error_$c_text routine returns a null terminated error message for reporting the completion status of a routine. The error message is composed from predefined text strings that describe the subsystem, the module, and the error represented by the status code. See the intro() reference page which lists all of the possible diagnostics that could be returned in status.all.
Files
/usr/lib/stcode.db