Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if __STDC_VERSION__ < 199901L
- int cprintf(const char *format, ...)
- #else
- int cprintf(const char *restrict format, ...)
- #endif
- {
- va_list args;
- int ret;
- char format_expanded[_translate_format_str(NULL, format)];
- va_start(args, format);
- _translate_format_str(format_expanded, format);
- ret = vprintf(format_expanded, args);
- va_end(args);
- return ret;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement