AutosarC++17_03-M18.7.1¶
The signal handling facilities of <csignal> shall not be used
Required inputs: IR
| Level | required |
|---|---|
| Target | implementation |
| Enforcement | automated |
Rationale
Signal handling contains implementation-defined and undefined behaviour.
Example
#include <csignal>
void my_handler ( int32_t );
void f1 ( )
{
signal ( 1, my_handler ); // Non-compliant
}
Note
For legal reasons, this rule’s description is not part of the public documentation.