XtAppGetErrorDatabase(3Xt) XtAppGetErrorDatabase(3Xt)NAME XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - get the address of the error database SYNOPSIS XrmDatabase *XtAppGetErrorDatabase(app-context) XtAppContext app-context; void XtAppGetErrorDatabaseText(app-context, name, type, class, default, buffer-return, nbytes, database) XtAppContext app-context; char *name, *type, *class; char *default; char *buffer-return; int nbytes; XrmDatabase database; 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 de- fault message if one is not found in the error database. Arguments These functions accept the following arguments: app-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. November, 1990 1
XtAppGetErrorDatabase(3Xt) XtAppGetErrorDatabase(3Xt)SEE ALSO XtAppError(3Xt), XtAppErrorMsg(3Xt)X Toolkit Intrinsics - C Language InterfaceXlib - C Language Interface 2 November, 1990