1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// See LICENSE for license details. #include <stdio.h> #include <stddef.h> #include <stdarg.h> int printf(const char* s, ...) { int res = 0; va_list vl; va_start(vl, s); res = vprintf(s, vl); va_end(vl); return res; }