Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: signal() is only bad for handlers - it's fine for SIG_DFL and SIG_IGN

...

POSIX recommends sigaction() and deprecates the use of signal() to register signal handlers. Unfortunately, sigaction() is not defined in the C Standard and is consequently not as portable a solution.

...