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 programs need multiple application contexts, and you can continue to use XtGetErrorDatabase() if you initialize your application with XtInitialize(). We recommend, however, that you use XtAppInitialize(), XtAppGetErrorDatabase(), and the other XtApp*() application context specific functions. See XtAppGetErrorDatabase() for more information.
See Also
XtAppGetErrorDatabase(1), XtAppGetErrorDatabaseText(1), XtGetErrorDatabaseText(1),
XtErrorMsgHandler(2).
Copyright O’Reilly & Assoc. — X Toolkit Intrinsics Reference Manual © O’Reilly & Associates