1XtAppGetErrorDatabase(3) XT FUNCTIONS XtAppGetErrorDatabase(3)
2
3
4
6 XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error data‐
7 base
8
10 #include <X11/Intrinsic.h>
11
12 XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context);
13
14 void XtAppGetErrorDatabaseText(XtAppContext app_context, const char
15 *name, const char *type, const char *class, const char *default‐
16 Msg, char *buffer_return, int nbytes, XrmDatabase database);
17
19 app_context
20 Specifies the application context.
21
22 buffer_return
23 Specifies the buffer into which the error message is to be
24 returned.
25
26 class Specifies the resource class of the error message.
27
28 database Specifies the name of the alternative database that is to be
29 used or NULL if the application's database is to be used.
30
31 defaultMsg
32 Specifies the default message to use.
33
34 name
35 type Specifies the name and type that are concatenated to form the
36 resource name of the error message.
37
38 nbytes Specifies the size of the buffer in bytes.
39
41 The XtAppGetErrorDatabase function returns the address of the error
42 database. The Intrinsics do a lazy binding of the error database and
43 do not merge in the database file until the first call to XtAppGetEr‐
44 rorDatbaseText.
45
46 The XtAppGetErrorDatabaseText returns the appropriate message from the
47 error database or returns the specified default message if one is not
48 found in the error database.
49
51 XtAppError(3), XtAppErrorMsg(3)
52 X Toolkit Intrinsics - C Language Interface
53 Xlib - C Language X Interface
54
55
56
57X Version 11 libXt 1.1.5.1 XtAppGetErrorDatabase(3)