DOKK / manpages / debian 10 / libxt-dev / XtAppGetErrorDatabaseText.3.en
XtAppGetErrorDatabase(3) XT FUNCTIONS XtAppGetErrorDatabase(3)

XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error database

XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context);

void XtAppGetErrorDatabaseText(XtAppContext app_context, char *name, char *type, char *class, char *default, char *buffer_return, int nbytes, XrmDatabase database);

Specifies the application context.
Specifies the buffer into which the error message is to be returned.
Specifies the resource class of the error message.
Specifies the name of the alternative database that is to be used or NULL if the application's database is to be used.
Specifies the default message to use.

Specifies the name and type that are concatenated to form the resource name of the error message.
Specifies the size of the buffer in bytes.

The XtAppGetErrorDatabase function returns the address of the error database. The Intrinsics do a lazy binding of the error database and do not merge in the database file until the first call to XtAppGetErrorDatbaseText.

The XtAppGetErrorDatabaseText returns the appropriate message from the error database or returns the specified default message if one is not found in the error database.

XtAppError(3), XtAppErrorMsg(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

libXt 1.1.5 X Version 11