ref: 628b7eaeb3daa2e2fa05171e399149bb3b804ad0
dir: /lib/c/vsprintf.c/
#include <limits.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #undef vsprintf int vsprintf(char * restrict s, const char * restrict fmt, va_list va) { return vsnprintf(s, SIZE_MAX, fmt, va); }