NAME
XtWarning − call the low-level warning handler.
SYNOPSIS
void XtWarning(message)
String message;
Inputs
messageSpecifies 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 contexts, 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
XtAppWarningUNIX SYSTEM V/68, XtAppWarningMsgUNIX SYSTEM V/68.