[previous] MISRA-C:2004  Rule  20.8:  (Required) [next] The signal handling facilities of <signal.h> shall not be used.
Signal handling contains implementation-defined and undefined behaviour.

Example Code:


#include <signal.h>             /* MISRA Violation */
#include "misra.h"
#include "m2cmex.h"

extern S16 test_2008( void )
{
   S16 i = SIGINT;

   return i;
}


QAC messages that encompass this guideline:

5123 The signal handling facilities of <signal.h> shall not be used.



(c) The Motor Industry Research Association, 2004
QA C Source Code Analyser 8.1.2
MISRA-C:2004 Compliance Module 3.2
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index Contents