shithub: scc

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