GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XtAppGetErrorDatabase(3) XT FUNCTIONS XtAppGetErrorDatabase(3)

XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain error database

#include <X11/Intrinsic.h>

XrmDatabase *XtAppGetErrorDatabase(XtAppContext app_context);

void XtAppGetErrorDatabaseText(XtAppContext app_context, const char *name, const char *type, const char *class, const char *defaultMsg, char *buffer_return, int nbytes, XrmDatabase database);

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.
defaultMsg
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.

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.

XtAppError(3), XtAppErrorMsg(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
libXt 1.2.1 X Version 11

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.