XtGetErrorDatabase() XtGetErrorDatabase()
Name
XtGetErrorDatabase - obtain the error database.
Synopsis
XrmDatabase *XtGetErrorDatabase()
Inputs
none
Returns
The address of an XrmDatabase.
Availability
XtGetErrorDatabase() has been superseded by XtAppGetErrorDatabase().
Description
XtGetErrorDatabase() returns the address of the error database used by high-level error and warning handlers. This database may be empty
until XtGetErrorDatabaseText() is called for the first time.
Usage
XtGetErrorDatabase() has been superseded by XtAppGetErrorDatabase(), which performs the same function on a per-application context basis.
XtGetErrorDatabase() now calls XtAppGetErrorDatabase() passing the default application context created by XtInitialize(). Very few pro-
grams need multiple application contexts, and you can continue to use XtGetErrorDatabase() if you initialize your application with XtIni-
tialize(). We recommend, however, that you use XtAppInitialize(), XtAppGetErrorDatabase(), and the other XtApp*() application context spe-
cific functions.
See XtAppGetErrorDatabase() for more information.
See Also
XtAppGetErrorDatabase(1), XtAppGetErrorDatabaseText(1), XtGetErrorDatabaseText(1),
XtErrorMsgHandler(2).
Xt - Error Handling XtGetErrorDatabase()