Home
       fprintf.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       fprintf.c (225B)
       ---
            1 #include <stdarg.h>
            2 #include <stdio.h>
            3 
            4 #undef fprintf
            5 
            6 int
            7 fprintf(FILE * restrict fp, const char * restrict fmt, ...)
            8 {
            9         va_list va;
           10         int cnt;
           11 
           12         va_start(va, fmt);
           13         cnt = vfprintf(fp, fmt, va);
           14         va_end(va);
           15 
           16         return cnt;
           17 }