XT FUNCTIONS XtAppGetErrorDatabase(3xt)
NAME
XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain
error database SYNTAXcc [ flag... ] file... -lXt [ library... ]
XrmDatabase *XtAppGetErrorDatabase(XtAppContextapp_context);
void XtAppGetErrorDatabaseText(XtAppContext app_context,
char *name, char *type, char *class, char *default,char *buffer_return, int nbytes, XrmDatabase database);
ARGUMENTSapp_context
Specifies the application context.buffer_return
Specifies the buffer into which the error message is to be returned. class Specifies the resource class of the error message. database Specifies the name of the alternative database that is to be used or NULL if the application's database is to be used. 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.DESCRIPTION
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 mes-
sage from the error database or returns the specified default message if one is not found in the error database.SEE ALSO
XtAppError(3Xt), XtAppErrorMsg(3Xt)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 Last change: libXt 1.0.8 1 XT FUNCTIONS XtAppGetErrorDatabase(3xt)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2