XT FUNCTIONS XtAppError(3xt)
NAME
XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler,
XtAppWarning - low-level error handlers
SYNTAXcc [ flag... ] file... -lXt [ library... ]
void XtAppError(XtAppContext app_context, String message);
void XtAppSetErrorHandler(XtAppContext app_context, XtEr-
rorHandler handler);void XtAppSetWarningHandler(XtAppContext app_context, XtEr-
rorHandler handler);void XtAppWarning(XtAppContext app_context, String message);
ARGUMENTSapp_context
Specifies the application context. message Specifies the nonfatal error message that is to be reported. handler Specifies the new fatal error procedure, whichshould not return, or the nonfatal error pro-
cedure, which usually returns. message Specifies the message that is to be reported.DESCRIPTION
The XtAppError function calls the installed error procedure and passes the specified message. The XtAppSetErrorHandler function registers the specified procedure, which is called when a fatal error condition occurs.The XtAppSetWarningHandler registers the specified pro-
cedure, which is called when a nonfatal error condition occurs. The XtAppWarning function calls the installed nonfatal error procedure and passes the specified message.SEE ALSO
XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 Last change: libXt 1.0.8 1 XT FUNCTIONS XtAppError(3xt)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2