scc

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

vsprintf.c (213B)


      1 #include <limits.h>
      2 #include <stdarg.h>
      3 #include <stdint.h>
      4 #include <stdio.h>
      5 #undef vsprintf
      6 
      7 
      8 int
      9 vsprintf(char * restrict s, const char * restrict fmt, va_list va)
     10 {
     11 	return vsnprintf(s, SIZE_MAX, fmt, va);
     12 }