AutosarC++18_10-M18.0.3

The library functions abort, exit, getenv and system from library <cstdlib> shall not be used

Required inputs: IR

Rationale

The use of these functions leads to implementation-defined behaviour.

Example
#include <cstdlib>
void f ( )
{
exit ( 0 ); // Non-compliant
}

Note

For legal reasons, this rule’s description is not part of the public documentation.