XtGetErrorDatabase(3) XT COMPATIBILITY FUNCTIONS XtGetErrorDatabase(3)NAME
XtGetErrorDatabase, XtGetErrorDatabaseText - obtain error database
SYNTAX
XrmDatabase *XtGetErrorDatabase(void);
void XtGetErrorDatabaseText(char *name, char *type, char *class, char *default, char *buffer_return, int nbytes, XrmDatabase database);
ARGUMENTS
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 XtGetErrorDatabase function has been superceded by XtAppGetErrorDatabase.
The XtGetErrorDatabaseText function has been superceded by XtAppGetErrorDatabaseText.
SEE ALSO XtAppGetErrorDatabase(3Xt)XtAppGetErrorDatabaseText(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.0.5 XtGetErrorDatabase(3)
Check Out this Related Man Page
XtAppGetErrorDatabase(3Xt) XT FUNCTIONS XtAppGetErrorDatabase(3Xt)NAME
XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error database
SYNTAX
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;
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.
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 message 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 Release 6.6 XtAppGetErrorDatabase(3Xt)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)