Virgil IoT KIT
Macros
config/pc/stdlib-config.h File Reference

PC configuration : Standart Library calls configuration. More...

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include "global-hal.h"
#include <pthread.h>

Go to the source code of this file.

Macros

#define VS_IOT_ASSERT   assert
 assert call More...
 
#define VS_IOT_CALLOC   calloc
 calloc call More...
 
#define VS_IOT_FREE   free
 free call More...
 
#define VS_IOT_MALLOC   malloc
 malloc call More...
 
#define VS_IOT_MEMCMP   memcmp
 memcmp call More...
 
#define VS_IOT_MEMCPY   memcpy
 memcpy call More...
 
#define VS_IOT_MEMSET   memset
 memset call More...
 
#define VS_IOT_MEMMOVE   memmove
 memmove call More...
 
#define VS_IOT_SNPRINTF   snprintf
 snprintf call More...
 
#define VS_IOT_SPRINTF   sprintf
 sprintf call More...
 
#define VS_IOT_STRCPY   strcpy
 strcpy call More...
 
#define VS_IOT_STRNCPY   strncpy
 strncpy call More...
 
#define VS_IOT_STRNCMP   strncmp
 strncmp call More...
 
#define VS_IOT_STRSTR   strstr
 strstr call More...
 
#define VS_IOT_STRLEN   strlen
 strlen call More...
 
#define VS_IOT_VSNPRINTF   vsnprintf
 vsnprintf call More...
 
#define VS_IOT_ASCTIME(TIME_T)   asctime(localtime(&(TIME_T)))
 conversion from time_t to ASCIIZ More...
 
#define VS_IOT_GET_THREAD_ID   pthread_self()
 Get current thread ID. More...
 

Detailed Description

PC configuration : Standart Library calls configuration.

Macro Definition Documentation

◆ VS_IOT_ASCTIME

#define VS_IOT_ASCTIME (   TIME_T)    asctime(localtime(&(TIME_T)))

conversion from time_t to ASCIIZ

◆ VS_IOT_ASSERT

#define VS_IOT_ASSERT   assert

assert call

◆ VS_IOT_CALLOC

#define VS_IOT_CALLOC   calloc

calloc call

◆ VS_IOT_FREE

#define VS_IOT_FREE   free

free call

◆ VS_IOT_GET_THREAD_ID

#define VS_IOT_GET_THREAD_ID   pthread_self()

Get current thread ID.

◆ VS_IOT_MALLOC

#define VS_IOT_MALLOC   malloc

malloc call

◆ VS_IOT_MEMCMP

#define VS_IOT_MEMCMP   memcmp

memcmp call

◆ VS_IOT_MEMCPY

#define VS_IOT_MEMCPY   memcpy

memcpy call

◆ VS_IOT_MEMMOVE

#define VS_IOT_MEMMOVE   memmove

memmove call

◆ VS_IOT_MEMSET

#define VS_IOT_MEMSET   memset

memset call

◆ VS_IOT_SNPRINTF

#define VS_IOT_SNPRINTF   snprintf

snprintf call

◆ VS_IOT_SPRINTF

#define VS_IOT_SPRINTF   sprintf

sprintf call

◆ VS_IOT_STRCPY

#define VS_IOT_STRCPY   strcpy

strcpy call

◆ VS_IOT_STRLEN

#define VS_IOT_STRLEN   strlen

strlen call

◆ VS_IOT_STRNCMP

#define VS_IOT_STRNCMP   strncmp

strncmp call

◆ VS_IOT_STRNCPY

#define VS_IOT_STRNCPY   strncpy

strncpy call

◆ VS_IOT_STRSTR

#define VS_IOT_STRSTR   strstr

strstr call

◆ VS_IOT_VSNPRINTF

#define VS_IOT_VSNPRINTF   vsnprintf

vsnprintf call