Main Content

AUTOSAR C++14 Rule M18-7-1

The signal handling facilities of <csignal> shall not be used

Description

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

Rationale

Signal handling functions such as signal contains undefined and implementation-specific behavior.

You have to be very careful when using signal to avoid these behaviors.

Troubleshooting

If you expect a rule violation but Polyspace® does not report it, see Diagnose Why Coding Standard Violations Do Not Appear as Expected.

Check Information

Group: Language Support Library
Category: Required, Automated
PQL Name: std.autosar_cpp14.M18_7_1

Version History

Introduced in R2019a