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
/
RESETBREAK.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-16
|
200 b
|
16 lines
#include <local/typedefs.h>
/*
* reset the break signal and return the break status
*/
#define SBF (SIGBREAKF_CTRL_C|SIGBREAKF_CTRL_D)
long
resetbreak()
{
return(SetSignal(0,SBF) & SBF);
}