| vfprintf | Function (Macro)

stdio.h

short vfprintf (FILE *stream, const char *format, va_list arglist);

Sends formatted output to a stream using argument list.

The vfprintf functions is known as an alternate entry point for the fprintf functions. It behaves exactly like fprintf, but it accepts a pointer to a list of arguments instead of an argument list (see stdarg.h header file for more info about argument lists). See printf for details on format specifiers.
vfprintf accepts arglist which is a pointer to a series of arguments, applies to each argument a format specifier contained in the format string pointed to by format, and outputs the formatted data to the stream associated with the structure pointed to by stream. There must be the same number of format specifiers as arguments.
vfprintf returns the number of bytes output. In the event of error, vfprintf returns EOF.

Uses: vcbprintf, fputc