Annotation of 43BSDTahoe/new/X/Xlib/XIOErrHndlr.c, revision 1.1.1.1

1.1       root        1: #include <X/mit-copyright.h>
                      2: 
                      3: /* $Header: XIOErrHndlr.c,v 10.5 86/11/24 15:05:59 jg Rel $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1985  */
                      5: 
                      6: #include "XlibInternal.h"
                      7: #undef _XIOError
                      8: extern int _XIOError();
                      9: 
                     10: /* 
                     11:  * XIOErrorHandler - This proceedure sets the X fatal I/O error handler
                     12:  * (_XIOErrorFunction) to be the specified routine.  If NULL is passed in 
                     13:  * the original error handler is restored.
                     14:  */
                     15:  
                     16: XIOErrorHandler(handler)
                     17:     register int (*handler)();
                     18: {
                     19:     if (handler != NULL) {
                     20:        _XIOErrorFunction = handler;
                     21:     }
                     22:     else {
                     23:        _XIOErrorFunction = _XIOError;
                     24:     }
                     25: }

unix.superglobalmegacorp.com

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