https://invisible-island.net/xterm/xtoolkit/
XtGetErrorDatabase, XtGetErrorDatabaseText - obtain error database
#include <X11/Intrinsic.h> XrmDatabase *XtGetErrorDatabase(void); void XtGetErrorDatabaseText(const char *name, const char *type, const char *class, const char *defaultMsg, char *buffer_return, int nbytes);
buffer_return Specifies the buffer into which the error message is to be returned. class Specifies the resource class of the error message. default Specifies the default message to use. name type Specifies the name and type that are concatenated to form the resource name of the error message. nbytes Specifies the size of the buffer in bytes.
The XtGetErrorDatabase function has been superceded by XtAppGetError- Database. The XtGetErrorDatabaseText function has been superceded by XtAppGetEr- rorDatabaseText.
XtAppGetErrorDatabase(3) XtAppGetErrorDatabaseText(3) X Toolkit Intrinsics – C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.5.2 XtGetErrorDatabase(3)