shithub: scc

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