home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
suplib.lzh
/
SUPLIB
/
SRC
/
CHECKBREAK.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-16
|
219b
|
20 lines
/*
* CHECKBREAK()
*
* Return 1 = break pressed,
* 0 = break not pressed
*/
#include <local/typedefs.h>
#define SBF (SIGBREAKF_CTRL_C|SIGBREAKF_CTRL_D)
int
checkbreak()
{
return(SetSignal(0,0) & SBF);
}