vprintf.c - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       vprintf.c (180B)
       ---
            1 #include <stdarg.h>
            2 #include <stdio.h>
            3 
            4 #undef vprintf
            5 
            6 int
            7 vprintf(const char *restrict fmt, va_list ap)
            8 {
            9         va_list ap2;
           10 
           11         va_copy(ap2, ap);
           12         return vfprintf(stdout, fmt, ap2);
           13 }