shithub: scc

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