Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated intro based on text from Martin

According to the C Standard, subclause 7.14.1.1 [ISO/IEC 9899:2011], returning from a if a signal handler entered as a result of a computational exception (that is, with the value of its argument of SIGFPE , SIGILL, or SIGSEGV or any other implementation-defined value corresponding to a computational exception signal handler not  generated by a call to raise() is undefined such an exception) returns, the behavior is undefined.  See undefined behavior 130. 

The POSIX standard [IEEE Std 1003.1:2013] adds SIGBUS to the list of computational exception signal handlers,

...