vsprintf.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
---
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 }