VPRINTF(3S)VPRINTF(3S)NAME
vfprintf, vprintf, vsprintf -
SYNOPSIS
#include <stdarg.h>
#include <stdio.h>
int vfprintf(FILE *stream, const char *format, va_list arg);
int vprintf(const char *format, va_list arg);
int vsprintf(char *s, const char *format, va_list arg);
DESCRIPTION
Vfprintf is equivalent to fprintf, vprintf is equivalent to printf, and
vsprintf is equivalent to sprintf, with the variable argument list
replaced in each case by arg, which has been initialized by the
va_start macro (and possibly by subsequent va_arg calls). The vfprintf
function does not invoke the va_end macro.
RETURN VALUE
Vfprintf, vprintf, and vsprintf return the number of characters
transmitted, or a negative value if an output error occurred.
SEE ALSOfprintf(3), stdarg(3)
June 23, 1989 VPRINTF(3S)