Abraxas/Misra Home  Table of Contents

Module - m121.html

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.

Misra-C Test Suite for Module - m121.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 121: Required */

Rule 121: Required */

/* and the setlocale function shall not be used. */

and the setlocale function shall not be used. */
#include 
#include "misra.h"
static void
func121 ( void ) 



Function Name: func121()

{
    
SC_8 *pc;
    
    pc = ( SC_8 * ) setlocale ( LC_ALL, "C" ) ; /*  RULE 121  */
    
}

Abraxas/Misra Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.