1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XErrHndlr.c,v 10.4 86/02/01 15:33:01 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: 
   8: /*
   9:  * XErrorHandler - This proceedure sets the X non-fatal error handler
  10:  * (_XErrorFunction) to be the specified routine.  If NULL is passed in
  11:  * the original error handler is restored.
  12:  */
  13: 
  14: XErrorHandler(handler)
  15:     register int (*handler)();
  16: {
  17:     if (handler != NULL) {
  18:     _XErrorFunction = handler;
  19:     }
  20:     else {
  21:     _XErrorFunction = _XError;
  22:     }
  23: }

Defined functions

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 835
Valid CSS Valid XHTML 1.0 Strict