Main Content

AUTOSAR C++14 Rule M18-7-1

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

Description

Rule Definition

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

Version History

Introduced in R2019a