shithub: scc

ref: 7cd063ed492f851b6b4f68c981d88ed6a761b372
dir: /lib/c/vsprintf.c/

View raw version

#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);
}