hpux man page for xtseterrorhandler

Query: xtseterrorhandler

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 programs
  need multiple application contexts, and you can continue to use XtSetErrorHandler() if you initialize your application with XtInitialize().
  We  recommend,  however,  that you use XtAppInitialize(), XtAppSetErrorHandler(), and the other XtApp*() application context specific func-
  tions.

  See XtAppSetErrorHandler() for more information.

See Also
  XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningHandler(1),
  XtErrorHandler(2).

Xt - Error Handling													       XtSetErrorHandler()
Related Man Pages
xtappseterrorhandler(3) - debian
xtappseterrorhandler(3) - centos
xtappwarning(3) - centos
xtappsetera(3) - hpux
xtapperror(1) - hpux
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
PHP Man Pages Now Available (Over 10,000)
Is UNIX an open source OS ?
Thank you members and admins
Seeking Alternative for diff in hp