shithub: scc

ref: 6ce3c0bd14348efbe61ecb6b02c89d62fa1847e4
dir: /lib/c/src/printf.c/

View raw version
#include <stdarg.h>
#include <stdio.h>
#undef printf

int
printf(const char * restrict fmt, ...)
{
	int cnt;
	va_list va;

	va_start(va, fmt);
	cnt = vfprintf(stdin, fmt, va);
	va_end(va);
	return cnt;
}