ref: afaf65e56d7dc4da61281c8358bc88bdb773c167
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;
}