Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ StIoErrHand(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSetIOErrorHandler — set a nonfatal error event handler. 

SYNOPSIS

int (∗XSetIOErrorHandler(handler))() int (∗ handler)(Display ∗, XErrorEvent ∗)

ARGUMENTS

handlerSpecifies 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 Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026