scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#include <stdarg.h>
 2#include <stdio.h>
 3
 4#undef sprintf
 5
 6int
 7sprintf(char *restrict s, const char *restrict fmt, ...)
 8{
 9	int r;
10
11	va_list va;
12	va_start(va, fmt);
13	r = vsprintf(s, fmt, va);
14	va_end(va);
15
16	return r;
17}