XtGetErrorDatabase(3) XT COMPATIBILITY FUNCTIONS XtGetErrorDatabase(3)

# [NAME](#NAME)

XtGetErrorDatabase, XtGetErrorDatabaseText - obtain error database

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

XrmDatabase \*XtGetErrorDatabase(void);

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

# [ARGUMENTS](#ARGUMENTS)

[*buffer\_return*](#buffer_return)

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

[*class*](#class)

Specifies the resource class of the error message.

[*default*](#default)

Specifies the default message to use.

[*name*](#name)

[*type*](#type)

Specifies the name and type that are concatenated to form the resource name of the error message.

[*nbytes*](#nbytes)

Specifies the size of the buffer in bytes.

# [DESCRIPTION](#DESCRIPTION)

The **XtGetErrorDatabase** function has been superseded by **XtAppGetErrorDatabase**.

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

# [SEE ALSO](#SEE_ALSO)

[**XtAppGetErrorDatabase**(3)](/man/os/libxt/XtAppGetErrorDatabase.3) [**XtAppGetErrorDatabaseText**(3)](/man/os/libxt/XtAppGetErrorDatabaseText.3)  
*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtGetErrorDatabase(3) from libxt 1.3.1-r11 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
