error_$c_text(3)
NAME
error_$c_text − return an error message for a status code
SYNOPSIS
char *error_$c_text(
status_$t status,
char *message,
int messagemax)
Remarks
To view this manual entry via the man(1) command, use the function name shown above without the “$” character.
DESCRIPTION
error_$c_text() returns a null-terminated error message for reporting the completion status of a call. The error message is composed from predefined text strings that describe the subsystem, the module, and the error represented by the status code.
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.
EXAMPLE
The following statement returns an error message for reporting the status code st:
error_$c_text (st, message, MAX);
SEE ALSO
error_$intro(3), error_$c_get_text(3).
Hewlett-Packard Company — HP-UX Release 10.20: July 1996