www.pudn.com > iccavr_lib.rar > cprintf.c, change:2003-03-03,size:308b


#include <stdio.h> 
#include <stdarg.h> 
#include <stdlib.h> 
 
extern int _cprint(void (*_put)(char), const char *fmt, va_list va); 
 
int cprintf(const char *fmt, ...) 
	{ 
	va_list va; 
	int val; 
 
	va_start(va, fmt); 
	val = _cprint((void (*)(char))putchar, fmt, va); 
	va_end(va); 
 
	return val; 
	}