error_c_get_text(3ncs)
Name
error_c_get_text − return subsystem, module, and error texts for a status code
Syntax
void error_$c_get_text(status, subsys, subsysmax, module, modulemax, error, errormax)
status_$t status;
char *subsys;
long subsysmax;
char *module;
long modulemax;
char *error;
long errormax;
Arguments
status A status code in status_$t format.
subsys A character string. The subsystem represented by the status code.
subsysmax The maximum number of bytes to be returned in subsys.
module A character string. The module represented by the status code.
modulemax The maximum number of bytes to be returned in module.
error A character string. The error represented by the status code.
errormax The maximum number of bytes to be returned in error.
Description
The error_$c_get_text routine returns predefined text strings that describe the subsystem, the module, and the error represented by a status code. The strings are null terminated. See the intro() reference page which lists all of the possible diagnostics that could be returned in status.all.
Files
/usr/lib/stcode.db