---
name: "XtGetErrorDatabase"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtGetErrorDatabase/3x"
---

# XtGetErrorDatabase(3x)

obtain error database

## 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

*X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
