Annotation of 43BSD/contrib/X/Xlib/XIOErrHndlr.c, revision 1.1

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

unix.superglobalmegacorp.com

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