Name
XtGetErrorDatabaseText — obtain the error database text for an error or a warning.
Synopsis
void XtGetErrorDatabaseText(name, type, class, default, buffer_return, nbytes)
char ∗name, ∗type, ∗class;
char ∗default;
char ∗buffer_return;
int nbytes;
Arguments
name, typeSpecify the name and type that are concatenated to form the resource name of the error message.
classSpecifies the resource class of the error message.
defaultSpecifies the default message to use if an error database entry is not found.
buffer_return
Specifies the buffer into which the error message is to be returned.
nbytesSpecifies the size of the buffer in bytes.
Description
XtGetErrorDatabaseText has been superseded by XtAppGetErrorDatabaseText. XtGetErrorDatabaseText returns the appropriate message from the error database for name and type. If no such entry exists, it returns the specified default message. On based systems, the error database is usually stored in /usr/lib/X11/XtErrorDb. Custom error or warning messages should be appended to this file. The address of the loaded database can be returned by a call to XtGetErrorDatabase.
See Also
XtAppGetErrorDatabase(1), XtAppGetErrorDatabaseText(1),
XtErrorMsgHandler(2).