[previous] MISRA C:2012  Rule-21.10:  (Required) [next] The Standard Library time and date functions shall not be used

Amplification:

None of the facilities that are specified as being provided by <time.h> shall be used.

In C99, the identifier wcsftime shall not be used and no macro with this name shall be expanded.

Example Code:


#include <time.h>                      /* 5127 */

#include "misra.h"
#include "m3cmex.h"

extern int16_t rule_2110( void )
{
   return 1;
}


QAC messages that encompass this guideline:

5127 Use of standard header file <time.h>.



(c) The Motor Industry Research Association, 2012
QA C Source Code Analyser 8.1.2
MISRA C:2012 Compliance Module 1.0
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents