Mail Archives: djgpp/1994/12/09/21:37:55
Hi, I'm new to this list so please excuse me if this has already been
answered before.
I would like to catch "ctrl-c" interrupts so that the program does
not terminate abruptly. I can catch "ctrl-break" but can't figure out
how to do it for "ctrl-c".
Also, is there a way for "ctrl-c" interrupts (or "ctrl-break") to
abort the current call to "fread"? I would like a behavior similar
to the one gotten with UNIX's "sigaction" routine, when specifying
SA_INTERRUPT in the sa_flags field.
Marc
- Raw text -