C signal handling: Difference between revisions

Content deleted Content added
Change catch_function() to be reentrant. Signal handlers are required to be reetrant functions and cannot call non-reetrant functions such as puts().
FrescoBot (talk | contribs)
m Bot: link syntax and minor changes
 
Line 11:
 
*<code>SIGABRT</code> – "abort", abnormal termination.
*<code>SIGFPE</code> – [[Floating point exception|floating point exception]].
*<code>SIGILL</code> – "illegal", invalid instruction.
*<code>SIGINT</code> – "interrupt", interactive attention request sent to the program.
*<code>SIGSEGV</code> – "[[segmentation violation|segmentation violation]]", invalid memory access.
*<code>SIGTERM</code> – "terminate", termination request sent to the program.