XtAppWarning()XtAppWarning()NameXtAppWarning - call the low-level warning handler.
Synopsis
void XtAppWarning(app_context, message)
XtAppContext app_context;
String message;
Inputs
app_context
Specifies the application context.
message Specifies the warning message that is to be reported.
DescriptionXtAppWarning() passes its arguments to the installed low-level warning
handler. On POSIX systems, the default handler is _XtDefaultWarning().
It prints the message to the stderr stream and returns.
Usage
To report fatal error messages and exit, use XtAppError() or XtAppEr‐
rorMsg(). To change the low-level warning handler, use XtAppSetWarn‐
ingHandler().
XtAppWarning() calls the "low-level" warning handler. It is better to
use XtAppWarningMsg() which calls the "high-level" warning handler.
The high-level handler looks up the warning message in a resource data‐
base and so allows for customization and internationalization of warn‐
ing messages.
Although the Intrinsics interface allows separate error and warning
handlers for each application context, most implementations will sup‐
port only a single set of handlers. When a new handler is installed,
it will be used in all application contexts.
See AlsoXtAppError(1), XtAppErrorMsg(1), XtAppSetErrorHandler(1), XtAppSetEr‐
rorMsgHandler(1), XtAppSetWarningHandler(1), XtAppSetWarningMsgHan‐
dler(1), XtAppWarningMsg(1),
XtErrorHandler(2), XtErrorMsgHandler(2).
Xt - Error Handling XtAppWarning()