XtSetErrorHandler man page on HP-UX
[printable version]
XtSetErrorHandler() XtSetErrorHandler()
Name
XtSetErrorHandler - set the low-level error handler procedure.
Synopsis
void XtSetErrorHandler(handler)
XtErrorHandler handler;
Inputs
handler Specifies the new low-level fatal error procedure, which
should not return.
Availability
XtSetErrorHandler() has been superseded by XtAppSetErrorHandler().
Description
XtSetErrorHandler() registers the procedure handler as the procedure to
be invoked by XtError(). It should display the string it is passed and
then must terminate the application; if it returns the subsequent
behavior of the Intrinsics is undefined.
Usage
XtSetErrorHandler() has been superseded by XtAppSetErrorHandler(),
which performs the same function on a per-application context basis.
XtSetErrorHandler() now calls XtAppSetErrorHandler() passing the
default application context created by XtInitialize(). Very few pro‐
grams need multiple application contexts, and you can continue to use
XtSetErrorHandler() if you initialize your application with XtInitial‐
ize(). We recommend, however, that you use XtAppInitialize(),
XtAppSetErrorHandler(), and the other XtApp*() application context spe‐
cific functions.
See XtAppSetErrorHandler() for more information.
See Also
XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarning‐
Handler(1),
XtErrorHandler(2).
Xt - Error Handling XtSetErrorHandler()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|