scc

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

vsprintf.c (211B)


      1 #include <limits.h>
      2 #include <stdarg.h>
      3 #include <stdint.h>
      4 #include <stdio.h>
      5 
      6 #undef vsprintf
      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 }