#include <sys/exceptn.h> void __djgpp_exception_toggle(void);
This function is automatically called when the program exits, to restore handling of all the exceptions to their normal state. You may also call it from your program, around the code fragments where you need to temporarily restore all the exceptions to their default handling. One example of such case might be a call to a library functions that spawn child programs, when you don't want to handle signals generated while the child runs (by default, those signals are also passed to the parent).
not ANSI, not POSIX
__djgpp_exception_toggle(); system("myprog"); __djgpp_exception_toggle();
Go to the first, previous, next, last section, table of contents.