ref: 56be76ade10c9b8c46b9b53892560549a91170f3
dir: /lib/c/src/printf.c/
#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;
}