include/Zycore/LibC.h(3)
π include/Zycore/LibC.h(3) π
okay bestie, so this is a page from the Zycore Library Functions Manual, and it's literally just the LibC abstraction layer β the place where Zycore goes "hey, instead of talking to your system's C library directly, talk to me" β¨ It's giving middle-management for malloc, and honestly? Iconic.
πΈ NAME πΈ
include/Zycore/LibC.h
β¨ SYNOPSIS β¨
So the way that this works is you pull in these headers:
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
π 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
and here's the full rundown, one per bullet, no cap:
ZYAN_ERRNOβ Zycore's name forerrnoπZYAN_VA_STARTβ Zycore's name forva_startβ¨ZYAN_VA_ARGβ Zycore's name forva_argβ¨ZYAN_VA_ENDβ Zycore's name forva_endβ¨ZYAN_VA_COPY(dest, source)β Zycore's name forva_copy, and it's a real function-like macro (value is in its own section below, keep scrolling π )ZYAN_FPUTSβ Zycore's name forfputsπZYAN_FPUTCβ Zycore's name forfputcπZYAN_FPRINTFβ Zycore's name forfprintfπZYAN_PRINTFβ Zycore's name forprintfπZYAN_PUTCβ Zycore's name forputcπZYAN_PUTSβ Zycore's name forputsπZYAN_SCANFβ Zycore's name forscanfπ¦ZYAN_SSCANFβ Zycore's name forsscanfπ¦ZYAN_VSNPRINTFβ Zycore's name forvsnprintfπ¦ZYAN_STDINβ Zycore's name forstdinπZYAN_STDOUTβ Zycore's name forstdoutπZYAN_STDERRβ Zycore's name forstderrπZYAN_CALLOCβ Zycore's name forcallocπZYAN_FREEβ Zycore's name forfreeπZYAN_GETENVβ Zycore's name forgetenvπZYAN_MALLOCβ Zycore's name formallocπZYAN_REALLOCβ Zycore's name forreallocπZYAN_MEMCHRβ Zycore's name formemchrπ§ZYAN_MEMCMPβ Zycore's name formemcmpπ§ZYAN_MEMCPYβ Zycore's name formemcpyπ§ZYAN_MEMMOVEβ Zycore's name formemmoveπ§ZYAN_MEMSETβ Zycore's name formemsetπ§ZYAN_STRCATβ Zycore's name forstrcatπZYAN_STRCHRβ Zycore's name forstrchrπZYAN_STRCMPβ Zycore's name forstrcmpπZYAN_STRCOLLβ Zycore's name forstrcollπZYAN_STRCPYβ Zycore's name forstrcpyπZYAN_STRCSPNβ Zycore's name forstrcspnπZYAN_STRLENβ Zycore's name forstrlenπZYAN_STRNCATβ Zycore's name forstrncatπZYAN_STRNCMPβ Zycore's name forstrncmpπZYAN_STRNCPYβ Zycore's name forstrncpyπZYAN_STRPBRKβ Zycore's name forstrpbrkπZYAN_STRRCHRβ Zycore's name forstrrchrπZYAN_STRSPNβ Zycore's name forstrspnπZYAN_STRSTRβ Zycore's name forstrstrπZYAN_STRTOKβ Zycore's name forstrtokπZYAN_STRXFRMβ Zycore's name forstrxfrmπ
forty-something aliases and not one of them is doing anything sneaky, it's all just "same thing, Zycore spelling" π«Ά
π Typedefs π
typedef va_list ZyanVAList
typedef FILE ZyanFile
π Detailed Description π
It provides a simple LibC abstraction and fallback routines. That's the whole assignment. That's it. Simple little abstraction layer, maybe a fallback routine if your platform is being difficult π
π Macro Definition Documentation π
#define ZYAN_VA_COPY( dest, source)
Value:
va_copy((dest), (source))
the only macro on this whole page with a body instead of a plain rename, and she ate π₯
π¦ Typedef Documentation π¦
typedef FILE ZyanFile
Defines the ZyanFile datatype. that's it, that's the lore β¨
typedef va_list ZyanVAList
Defines the ZyanVAList datatype. sister typedef, equally important, equally brief π
π Author π
Generated automatically by Doxygen for Zycore from the source code. yes, a robot wrote it, and honestly the robot popped off π€β¨
and that's the whole page bestie, no notes π
this was Zycore, Version 1.5.2.0, from include/Zycore/LibC.h(3) β periodt ππΈπ
π¦ where this page comes from
- ubuntu resolute: libzycore-doc 1.5.2-1build1 Β· MIT
- ubuntu stonking: libzycore-doc 1.5.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms