unsigned int testFormat(char *buf, const char *fmt, ...) { unsigned int count; va_list args; va_start(args, fmt); count = xvformat(put_char, (void *) &buf, fmt, args); va_end(args); *buf = 0; return count; }
void xprintf(const char *fmt, ...) { va_list args; va_start(args, fmt); xvformat(put_char, NULL, fmt, args); va_end(args); }
static void myPrintf(char *buf,const char *fmt,va_list args) { xvformat(myPutchar,(void *)&buf,fmt,args); *buf = 0; }
void xvprintf(const char *fmt, va_list _args) { //va_list args; //va_copy(args, _args); xvformat(put_char, NULL, fmt, _args); //va_end(args); }