home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d2xx / d258 / suplib.lha / Suplib / src / resetbreak.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-18  |  200 b   |  16 lines

  1.  
  2. #include <local/typedefs.h>
  3.  
  4. /*
  5.  * reset the break signal and return the break status
  6.  */
  7.  
  8. #define SBF (SIGBREAKF_CTRL_C|SIGBREAKF_CTRL_D)
  9.  
  10. long
  11. resetbreak()
  12. {
  13.     return(SetSignal(0,SBF) & SBF);
  14. }
  15.  
  16.