XtError()XtError()NameXtError - call the low-level fatal error handler.
Synopsis
void XtError(message)
String message;
Inputs
message Specifies the message to be reported.
ReturnsXtError() terminates the application and does not return.
AvailabilityXtError() has been superseded by XtAppError().
DescriptionXtError() passes its arguments to the installed low-level error han‐
dler. On POSIX systems, the default handler is _XtDefaultError(). It
prints the message to the stderr stream and calls exit().
UsageXtError() has been superseded by XtAppError(), which performs the same
function on a per-application context basis. XtError() now calls XtAp‐
pError() passing the default application context created by XtInitial‐
ize(). Very few programs need multiple application contexts, and you
can continue to use XtError() if you initialize your application with
XtInitialize(). We recommend, however, that you use XtAppInitialize(),
XtAppError(), and the other XtApp*() application context specific func‐
tions.
See XtAppError() for more information.
XtError() calls the "low-level" error handler. It is better to use
XtAppErrorMsg() which calls the "high-level" error handler. The high-
level handler looks up the error message in a resource database and so
allows for customization and internationalization of error messages.
See AlsoXtErrorMsg(1), XtSetErrorHandler(1), XtSetWarningMsg(1), XtWarning(1),
XtWarningMsg(1).
Xt - Error Handling XtError()