title: How to remove warning "implicit declaration of build in function snprintf"?
body: <pre class="lang-c prettyprint-override"><code>#include &quot;stm32l475e_iot01.h&quot;
  #include &quot;stm32l475e_iot01_tsensor.h&quot;
  #include &lt;math.h&gt;
  
  float temp_value = 0;    // Measured temperature value
  char str_tmp[100] = &quot;&quot;;  // Formatted message to display the temperature value
  
  int main (void)
  {
      HAL_UART_Transmit(&amp;huart1,msg1,sizeof (msg1),1000);
      HAL_UART_Transmit(&amp;huart1,msg2,sizeof (msg2),1000);
      BSP_TSENSOR_Init();
      HAL_UART_Transmit(&amp;huart1,msg3,sizeof (msg3),1000);
  
      while (1) {
          temp_value = BSP_TSENSOR_ReadTemp();
          int tmpInt1 = temp_value;
          float tmpFrac = temp_value - tmpInt1;
          int tmpInt2 = trunc(tmpFrac * 100);
          snprintf(str_tmp,100,&quot; TEMPERATURE = %d.%02d\n\r&quot;, tmpInt1, tmpInt2);
          HAL_UART_Transmit(&amp;huart1,( uint8_t* )str_tmp,sizeof (str_tmp),1000);
          HAL_Delay(5000);
      }
  }
  </code></pre>