xsetioerrorhandler(3) hpux man page | unix.com

Man Page: xsetioerrorhandler

Operating Environment: hpux

Section: 3

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
xdisplayname(3x11) - ultrix
xgeterrortext(3x11) - ultrix
xseterrorhandler(3x) - hpux
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
How to extract every repeated string between two specific string?
Sequence extraction
Wrong Array...
Shopt -s histappend