XtAppGetErrorDatabase(3Xt)XT FUNCTIONS XtAppGetErrorDatabase(3Xt)
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);
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.
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.
XtAppError(3Xt), XtAppErrorMsg(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
XFree86 Version 4.5.0 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.