Mail Archives: djgpp/1995/03/30/09:08:52
First of all, I'm using DJGPP 1.12m4.
I have tried to intercept Ctrl-C and Ctrl-Break hits with:
setcbrk(0);
_go32_want_ctrl_break(1);
The above code works for Ctrl-Break hits in dpmi and non-dpmi mode,
but an Ctrl-C hits simply aborts the program.
non-dpmi: Ctrl-C Hit! Stopped at address ....
dpmi: <no message>
What's wrong with the above code ?
_____________________________________________________
| |
| Ulrich Leodolter |
| e-mail: ulrich AT lab1 DOT psy DOT univie DOT ac DOT at |
|_____________________________________________________|
- Raw text -