...
Code Block | ||
---|---|---|
| ||
void handler(int signum) { #ifdef WINDOWS signal(signum, handler); #endif /* handling code */ } |
Non-
...
Persistent Handlers
By default, Windows systems reset the signal handler to its default action after a signal is generated, whereas *nix system do not.
...