7.19.6.10 The vprintf function
Synopsis
#include <stdarg.h>
#include <stdio.h>
int vprintf(const char * restrict format,
va_list arg);
Description
The vprintf function is equivalent to printf, with the variable argument list replaced by arg, which shall have been initialized by the va_start macro (and possibly subsequent va_arg calls). The vprintf function does not invoke the va_end macro.[1]
Returns
The vprintf function returns the number of characters transmitted, or a negative value if an output or encoding error occurred.
Footnotes