shithub: scc

ref: 87b202a67e2d27f83702b4c353f8f66bc8d8056a
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);
}