Name
XtGetErrorDatabase — obtain the error database.
Synopsis
XrmDatabase ∗XtGetErrorDatabase()
Description
XtGetErrorDatabase has been superseded by XtAppGetErrorDatabase. Xt’s high-level error and warning message handlers use a resource-like database for storing error messages. On POSIX-based systems, the database is usually stored in the file usr/lib/X11/XtErrorDb. The XtGetErrorDatabase function returns the address of the error database. The Intrinsics do a lazy binding of the error database and do not read in the database file until the first call to XtGetErrorDatabaseText.
For a complete listing of all errors and warnings that can be generated by the Intrinsics, see Appendix D.
Structures
The type XrmDatabase is opaque and should not be manipulated directly. The return value can be manipulated with the Xlib functions XrmPutResource, XrmQPutResource, XrmGetResource, XrmQGetResource.
See Also
XtAppGetErrorDatabase(1), XtAppGetErrorDatabaseText(1), XtDatabase(1), XtGetErrorDatabaseText(1),
XtErrorMsgHandler(2).