Versions Compared

Key

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

...

Unix (and Unix-like) systems automatically reinstall signal handlers upon handler execution, meaning that the signal handler defined by the user is left in place until it is explicitly removed. For example, when this code is compiled with gcc 3.4.4 and executed under Red Hat Linux, the SIGINT is captured both times by handler.

...

Different actions must be taken depending on whether or not you desire the application requires signal handlers to be persistent.

...