1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdio.h> #ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> #endif #include <ansidecl.h> #undef vprintf int vprintf (format, ap) const char *format; va_list ap; { return vfprintf (stdout, format, ap); }