XtWarning() XtWarning()
Name
XtWarning - call the low-level warning handler.
Synopsis
void XtWarning(message)
String message;
Inputs
message Specifies the nonfatal error message to be reported.
Availability
XtWarning() has been superseded by XtAppWarning().
Description
XtWarning() passes its argument 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
XtWarning() has been superseded by XtAppWarning(), which performs the same function on a per-application context basis. XtWarning() now
calls XtAppWarning() passing the default application context created by XtInitialize(). Very few programs need multiple application con-
texts, and you can continue to use XtWarning() if you initialize your application with XtInitialize(). We recommend, however, that you use
XtAppInitialize(), XtAppWarning(), and the other XtApp*() application context specific functions.
See XtAppWarning() for more information.
XtWarning() 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 database and so allows for customization and internationalization of
error messages.
See Also
XtAppWarning(1), XtAppWarningMsg(1).
Xt - Error Handling XtWarning()