ref: 3367504a83d695f670edea4382b87b1ba17f7893
dir: /src/libc/stdio/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); }