#include void my_printf(const char *fmt, ...) { char bufText[4096]; va_list args; va_start(args, fmt); vsprintf(bufText, fmt, args); va_end(args); }