---
name: "XtGetErrorDatabase"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtGetErrorDatabase"
---

# XtGetErrorDatabase(3)

obtain error database

## NAME

XtGetErrorDatabase, XtGetErrorDatabaseText - obtain error database

## SYNTAX

\#include \<X11/Intrinsic.h\>

XrmDatabase \*XtGetErrorDatabase(void);

void XtGetErrorDatabaseText(const char \**name*, const char \**type*, const char \**class*, const char \**defaultMsg*, char \**buffer\_return*, int *nbytes*);

## ARGUMENTS

- *buffer\_return*

  Specifies the buffer into which the error message is to be returned.

- *class*

  Specifies the resource class of the error message.

- *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 superseded by **XtAppGetErrorDatabase**.

The **XtGetErrorDatabaseText** function has been superseded by **XtAppGetErrorDatabaseText**.

## SEE ALSO

[**XtAppGetErrorDatabase**(3)](/XtAppGetErrorDatabase/3.md) [**XtAppGetErrorDatabaseText**(3)](/XtAppGetErrorDatabaseText/3.md)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
