Abraxas/Misra Home  Table of Contents

Module - m119.html

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

Misra-C Test Suite for Module - m119.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 119: Required */

Rule 119: Required */

/* The error indicator errno shall not be used. */

The error indicator errno shall not be used. */
#include  /*  RULE 119  */
#include 
#include "misra.h"
static void
func119 ( void ) 



Function Name: func119()

{
    
double pd;
    
    errno = 0; /*  RULE 119  */
    
    pd = cos ( 1.0f ) ;
    
    if ( errno != 0 ) 
    {
        
        
    }
    
}

Abraxas/Misra Home  Table of Contents

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