lib: add libc and micro libc

This commit is contained in:
2026-02-19 19:28:50 +00:00
parent 9cc60cf3f1
commit ba455059ac
22 changed files with 9868 additions and 0 deletions

22
lib/ulibc/include/stdio.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef STDIO_H_
#define STDIO_H_
#include <stdarg.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
extern int snprintf(char *buffer, size_t count, const char *format, ...);
extern int vsnprintf(
char *buffer,
size_t count,
const char *format,
va_list va);
#ifdef __cplusplus
}
#endif
#endif