#ifndef _RTLIBC_STDIO_H #define _RTLIBC_STDIO_H #include <stdint.h> #include <stddef.h> #include <stdarg.h> #include <types.h> #include <printf.h> #define printf(...) (-1) #ifdef __cplusplus extern "C" { #endif int32_t sprintf(char *str, const char *format, ...); int32_t snprintf(char *str, size_t n, const char *format, ...); int32_t vsprintf(char *str, const char *format, va_list args); int32_t vsnprintf(char *str, size_t n, const char *format, va_list args); int32_t isprintf(char *str, const char *format, ...); int32_t isnprintf(char *str, size_t n, const char *format, ...); int32_t ivsprintf(char *str, const char *format, va_list args); int32_t ivsnprintf(char *str, size_t n, const char *format, va_list args); #ifdef __cplusplus } #endif #endif