Zycore 1.5.2
Zyan Core Library for C
Loading...
Searching...
No Matches
LibC.h File Reference

Provides a simple LibC abstraction and fallback routines. More...

#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for LibC.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ZYAN_ERRNO   errno
#define ZYAN_VA_START   va_start
#define ZYAN_VA_ARG   va_arg
#define ZYAN_VA_END   va_end
#define ZYAN_VA_COPY(dest, source)
#define ZYAN_FPUTS   fputs
#define ZYAN_FPUTC   fputc
#define ZYAN_FPRINTF   fprintf
#define ZYAN_PRINTF   printf
#define ZYAN_PUTC   putc
#define ZYAN_PUTS   puts
#define ZYAN_SCANF   scanf
#define ZYAN_SSCANF   sscanf
#define ZYAN_VSNPRINTF   vsnprintf
#define ZYAN_STDIN   stdin
#define ZYAN_STDOUT   stdout
#define ZYAN_STDERR   stderr
#define ZYAN_CALLOC   calloc
#define ZYAN_FREE   free
#define ZYAN_GETENV   getenv
#define ZYAN_MALLOC   malloc
#define ZYAN_REALLOC   realloc
#define ZYAN_MEMCHR   memchr
#define ZYAN_MEMCMP   memcmp
#define ZYAN_MEMCPY   memcpy
#define ZYAN_MEMMOVE   memmove
#define ZYAN_MEMSET   memset
#define ZYAN_STRCAT   strcat
#define ZYAN_STRCHR   strchr
#define ZYAN_STRCMP   strcmp
#define ZYAN_STRCOLL   strcoll
#define ZYAN_STRCPY   strcpy
#define ZYAN_STRCSPN   strcspn
#define ZYAN_STRLEN   strlen
#define ZYAN_STRNCAT   strncat
#define ZYAN_STRNCMP   strncmp
#define ZYAN_STRNCPY   strncpy
#define ZYAN_STRPBRK   strpbrk
#define ZYAN_STRRCHR   strrchr
#define ZYAN_STRSPN   strspn
#define ZYAN_STRSTR   strstr
#define ZYAN_STRTOK   strtok
#define ZYAN_STRXFRM   strxfrm

Typedefs

typedef va_list ZyanVAList
 Defines the ZyanVAList datatype.
typedef FILE ZyanFile
 Defines the ZyanFile datatype.

Detailed Description

Provides a simple LibC abstraction and fallback routines.

Macro Definition Documentation

◆ ZYAN_CALLOC

#define ZYAN_CALLOC   calloc

◆ ZYAN_ERRNO

#define ZYAN_ERRNO   errno

◆ ZYAN_FPRINTF

#define ZYAN_FPRINTF   fprintf

◆ ZYAN_FPUTC

#define ZYAN_FPUTC   fputc

◆ ZYAN_FPUTS

#define ZYAN_FPUTS   fputs

◆ ZYAN_FREE

#define ZYAN_FREE   free

◆ ZYAN_GETENV

#define ZYAN_GETENV   getenv

◆ ZYAN_MALLOC

#define ZYAN_MALLOC   malloc

◆ ZYAN_MEMCHR

#define ZYAN_MEMCHR   memchr

◆ ZYAN_MEMCMP

#define ZYAN_MEMCMP   memcmp

◆ ZYAN_MEMCPY

#define ZYAN_MEMCPY   memcpy

◆ ZYAN_MEMMOVE

#define ZYAN_MEMMOVE   memmove

◆ ZYAN_MEMSET

#define ZYAN_MEMSET   memset

◆ ZYAN_PRINTF

#define ZYAN_PRINTF   printf

◆ ZYAN_PUTC

#define ZYAN_PUTC   putc

◆ ZYAN_PUTS

#define ZYAN_PUTS   puts

◆ ZYAN_REALLOC

#define ZYAN_REALLOC   realloc

◆ ZYAN_SCANF

#define ZYAN_SCANF   scanf

◆ ZYAN_SSCANF

#define ZYAN_SSCANF   sscanf

◆ ZYAN_STDERR

#define ZYAN_STDERR   stderr

◆ ZYAN_STDIN

#define ZYAN_STDIN   stdin

◆ ZYAN_STDOUT

#define ZYAN_STDOUT   stdout

◆ ZYAN_STRCAT

#define ZYAN_STRCAT   strcat

◆ ZYAN_STRCHR

#define ZYAN_STRCHR   strchr

◆ ZYAN_STRCMP

#define ZYAN_STRCMP   strcmp

◆ ZYAN_STRCOLL

#define ZYAN_STRCOLL   strcoll

◆ ZYAN_STRCPY

#define ZYAN_STRCPY   strcpy

◆ ZYAN_STRCSPN

#define ZYAN_STRCSPN   strcspn

◆ ZYAN_STRLEN

#define ZYAN_STRLEN   strlen

◆ ZYAN_STRNCAT

#define ZYAN_STRNCAT   strncat

◆ ZYAN_STRNCMP

#define ZYAN_STRNCMP   strncmp

◆ ZYAN_STRNCPY

#define ZYAN_STRNCPY   strncpy

◆ ZYAN_STRPBRK

#define ZYAN_STRPBRK   strpbrk

◆ ZYAN_STRRCHR

#define ZYAN_STRRCHR   strrchr

◆ ZYAN_STRSPN

#define ZYAN_STRSPN   strspn

◆ ZYAN_STRSTR

#define ZYAN_STRSTR   strstr

◆ ZYAN_STRTOK

#define ZYAN_STRTOK   strtok

◆ ZYAN_STRXFRM

#define ZYAN_STRXFRM   strxfrm

◆ ZYAN_VA_ARG

#define ZYAN_VA_ARG   va_arg

◆ ZYAN_VA_COPY

#define ZYAN_VA_COPY ( dest,
source )
Value:
va_copy((dest), (source))

◆ ZYAN_VA_END

#define ZYAN_VA_END   va_end

◆ ZYAN_VA_START

#define ZYAN_VA_START   va_start

◆ ZYAN_VSNPRINTF

#define ZYAN_VSNPRINTF   vsnprintf

Typedef Documentation

◆ ZyanFile

typedef FILE ZyanFile

Defines the ZyanFile datatype.

◆ ZyanVAList

typedef va_list ZyanVAList

Defines the ZyanVAList datatype.