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