Annotation of 43BSD/contrib/X/Xlib/XErrHndlr.c, revision 1.1.1.1

1.1       root        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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.