scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

vprintf.c (170B)


      1 #include <stdarg.h>
      2 #include <stdio.h>
      3 #undef vprintf
      4 
      5 int
      6 vprintf(const char *fmt, va_list ap)
      7 {
      8 	va_list ap2;
      9 
     10 	va_copy(ap2, ap);
     11 	return vfprintf(stdout, fmt, ap2);
     12 }