1XtAppGetErrorDatabase(3)         XT FUNCTIONS         XtAppGetErrorDatabase(3)
2
3
4

NAME

6       XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error data‐
7       base
8

SYNTAX

10       XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context);
11
12       void XtAppGetErrorDatabaseText(XtAppContext app_context, char *name,
13              char *type, char *class, char *default, char *buffer_return, int
14              nbytes, XrmDatabase database);
15

ARGUMENTS

17       app_context
18                 Specifies the application context.
19
20       buffer_return
21                 Specifies the buffer into which the error message is to be
22                 returned.
23
24       class     Specifies the resource class of the error message.
25
26       database  Specifies the name of the alternative database that is to be
27                 used or NULL if the application's database is to be used.
28
29       default   Specifies the default message to use.
30
31       name
32       type      Specifies the name and type that are concatenated to form the
33                 resource name of the error message.
34
35       nbytes    Specifies the size of the buffer in bytes.
36

DESCRIPTION

38       The XtAppGetErrorDatabase function returns the address of the error
39       database.  The Intrinsics do a lazy binding of the error database and
40       do not merge in the database file until the first call to XtAppGetEr‐
41       rorDatbaseText.
42
43       The XtAppGetErrorDatabaseText returns the appropriate message from the
44       error database or returns the specified default message if one is not
45       found in the error database.
46

SEE ALSO

48       XtAppError(3Xt), XtAppErrorMsg(3Xt)
49       X Toolkit Intrinsics - C Language Interface
50       Xlib - C Language X Interface
51
52
53
54X Version 11                      libXt 1.0.7         XtAppGetErrorDatabase(3)
Impressum