hpux man page for xsetioerrorhandler

Query: xsetioerrorhandler

OS: hpux

Section: 3

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

XSetIOErrorHandler()													      XSetIOErrorHandler()

Name
  XSetIOErrorHandler - set a fatal error handler.

Synopsis
  int (*XSetIOErrorHandler(handler))()
	int (* handler)(Display *)

Arguments
  handler   Specifies user-defined fatal error handling routine.  If NULL, reinvoke the default fatal error handler.

Description
  XSetIOErrorHandler()	specifies  a  user-defined error handling routine for fatal errors.  This error handler will be called by Xlib if any
  sort of system call error occurs, such as the connection to the server being lost.  The called routine should not return.  If the I/O error
  handler does return, the client process will exit.

  If handler is a NULL pointer, the default error handler is reinstated.  The default I/O error handler prints an error message and exits.

  In Release 4 and later, XSetIOErrorHandler() returns a pointer to the previous error handler.

  For more information, see Volume One, Chapter 3, Basic Window Program.

See Also
  XDisplayName(), XGetErrorDatabaseText(), XGetErrorText(), XSetAfterFunction(), XSetErrorHandler(), XSynchronize().

Xlib - Error Handling													      XSetIOErrorHandler()
Related Man Pages
xdisplayname(3x11) - redhat
xgeterrordatabasetext(3x11) - redhat
xsetioerrorhandler(3x11) - redhat
xseterrorhandler(3x11) - ultrix
xdisplayname(3x11) - osf1
Similar Topics in the Unix Linux Community
Unix File Permissions
PHP Man Pages Now Available (Over 10,000)
Hpux 11iV3 administration document
awk - Multi-line data to be stored in variable
Wrong Array...