home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 1 / GoldFishApril1994_CD1.img / d1xx / d169 / src / suplib / checkbreak.c < prev    next >
Text File  |  1988-11-22  |  185b  |  16 lines

  1.  
  2. /*
  3.  * CHECKBREAK()
  4.  *
  5.  *    Return    1 = break pressed,
  6.  *        0 = break not pressed
  7.  */
  8.  
  9. #define SBF  (SIGBREAKF_CTRL_C|SIGBREAKF_CTRL_D)
  10.  
  11. checkbreak()
  12. {
  13.     return(SetSignal(0,0) & SBF);
  14. }
  15.  
  16.