1#include <stdarg.h>2#include <stdio.h>34#undef fprintf56int7fprintf(FILE * restrict fp, const char * restrict fmt, ...)8{9 va_list va;10 int cnt;1112 va_start(va, fmt);13 cnt = vfprintf(fp, fmt, va);14 va_end(va);1516 return cnt;17}
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>34#undef fprintf56int7fprintf(FILE * restrict fp, const char * restrict fmt, ...)8{9 va_list va;10 int cnt;1112 va_start(va, fmt);13 cnt = vfprintf(fp, fmt, va);14 va_end(va);1516 return cnt;17}