rspec/rules/S991/rule.adoc
2021-01-27 13:42:22 +01:00

16 lines
601 B
Plaintext

Includes ``++time++``, ``++strftime++``. This library is associated with clock times. Various aspects are implementation dependent or unspecified, such as the formats of times. If any of the facilities of ``++time.h++`` are used, then the exact implementation for the compiler being used must be determined, and a deviation raised.
== Noncompliant Code Example
----
#include <time.h> /* Noncompliant */
----
== See
* MISRA C:2004, 20.12 - The time handling functions of library <time.h> shall not be used.
* MISRA C:2012, 21.10 - The Standard Library time and date functions shall not be used