shithub: scc

ref: 9a7daac8e7801a3ab7e5321780c8166139b37905
dir: /lib/c/vsprintf.c/

View raw version

#include <limits.h>
#include <stdarg.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);
}