Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
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.

...