Versions Compared

Key

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

...

Code Block
void handler(int signum) {
   signal(signum, handler);

   /* rest of handling code */
}

Rules

SIG30-C. Do not Only call nonasynchronous-reentrant safe functions within signal handlers

...