XtAppSetWarningHandler3
Low-level error handlers
Part of XtAppError(3).
Usage
_X_NORETURN void
XtAppError(XtAppContext
app_context,
const
char
*message);
XtErrorHandler XtAppSetErrorHandler(XtAppContext
app_context,
_X_NORETURN
XtErrorHandler
handler);
XtErrorHandler XtAppSetWarningHandler(XtAppContext
app_context,
XtErrorHandler
handler);
void XtAppWarning(XtAppContext
app_context,
const
char
*message);
Arguments
- app_context
-
Specifies the application context.
- message
-
Specifies the nonfatal error message that is to be reported.
- handler
-
Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.
- message
-
Specifies the message that is to be reported.
Overview
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 procedure, which is called when a nonfatal error condition occurs.
The XtAppWarning function calls the installed nonfatal error procedure and passes the specified message.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie) to Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster) to Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)