19588ddcfSespie /*
29588ddcfSespie
39588ddcfSespie @deftypefn Supplemental int vprintf (const char *@var{format}, va_list @var{ap})
49588ddcfSespie @deftypefnx Supplemental int vfprintf (FILE *@var{stream}, const char *@var{format}, va_list @var{ap})
59588ddcfSespie @deftypefnx Supplemental int vsprintf (char *@var{str}, const char *@var{format}, va_list @var{ap})
69588ddcfSespie
79588ddcfSespie These functions are the same as @code{printf}, @code{fprintf}, and
89588ddcfSespie @code{sprintf}, respectively, except that they are called with a
99588ddcfSespie @code{va_list} instead of a variable number of arguments. Note that
109588ddcfSespie they do not call @code{va_end}; this is the application's
119588ddcfSespie responsibility. In @libib{} they are implemented in terms of the
129588ddcfSespie nonstandard but common function @code{_doprnt}.
139588ddcfSespie
149588ddcfSespie @end deftypefn
159588ddcfSespie
169588ddcfSespie */
179588ddcfSespie
1825e200daSespie #include <ansidecl.h>
1900bf4279Sespie #include <stdarg.h>
2000bf4279Sespie #include <stdio.h>
2100bf4279Sespie #undef vprintf
2200bf4279Sespie int
vprintf(const char * format,va_list ap)23*150b7e42Smiod vprintf (const char *format, va_list ap)
2400bf4279Sespie {
2500bf4279Sespie return vfprintf (stdout, format, ap);
2600bf4279Sespie }
27