Category : C Source Code
Archive   : IRITS.ZIP
Filename : CTRL-BRK.H

 
Output of file : CTRL-BRK.H contained in archive : IRITS.ZIP
/*****************************************************************************
* Module to trap ctrl-brk/hardware error and handle them gracefully. *
* Note the usage of GraphGen.c module is assumed. *
* *
* Written by: Gershon Elber Ver 1.1, Mar. 1990 *
*****************************************************************************/

#ifndef CTRL_BRK_H
#define CTRL_BRK_H

#ifndef LINE_LEN
#define LINE_LEN 128
#endif /* LINE_LEN */

#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif /* TRUE */

#define BIOS_CTRL_BRK 0x1b

#define IGNORE 0 /* Actions to take in hardware error. */
#define RETRY 1
#define ABORT 2

/* And finally the prototypes of the external routines: */

extern int WasCtrlBrk;

void SetUpCtrlBrk(void);
void RestoreCtrlBrk(void);
void SetUpHardErr(void);

#endif /* CTRL_BRK_H */


  3 Responses to “Category : C Source Code
Archive   : IRITS.ZIP
Filename : CTRL-BRK.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/