Name
XtWarning — call the installed low-level warning handler.
Synopsis
void XtWarning(message)
String message;
Arguments
messageSpecifies the nonfatal error message to be reported.
Description
XtWarning has been superseded by XtAppWarning. XtWarning calls the existing low-level warning handler. Warnings are nonfatal. The default low-level warning handler provided by the Intrinsics is _XtWarning. On POSIX-based systems, it prints the message to standard error and returns to the caller.
Most programs should use the more elaborate XtWarningMsg, to print customized error messages from an error database. XtWarningMsg allows an application to be more easily customized by site, and allows for international considerations in reporting errors.
A custom warning handler can be installed by calling XtSetWarningHandler.
See Also
XtSetWarningHandler(1), XtSetWarningMsgHandler(1), XtWarningMsg(1).