##### Synopsis

    #include <stdio.h>
    int vprintf(const char *format, va_list arg);

##### Description

vprintf writes to the standard output stream using putchar, under control of the string pointed to by format that specifies how subsequent arguments are converted for output. Before calling vprintf, arg must be initialized by the va_start macro (and possibly subsequent va_arg calls). vprintf does not invoke the va_end macro.

vprintf returns number of characters transmitted, or a negative value if an output or encoding error occurred.

##### Notes

vprintf is equivalent to printf with the variable argument list replaced by arg.

##### Portability

vprintf conforms to ISO/IEC 9899:1999 (C99).

##### See Also

Format strings for printf functions