vfprintf(3C)
_________________________________________________________________
vfprintf function
Print a variable argument list to a given file.
_________________________________________________________________
Calling Sequence
#include <stdio.h>
#include <varargs.h>
FILE *stream;
valist ap;
char *format;
int n, vfprintf();
vastart(ap);
n = vfprintf(stream, format, ap);
vaend(ap);
Description
The vfprintf function allows you to print a variable argument
list to a given file. It is similar to fprintf, except that
instead of passing the arguments after the format string directly
to the function, you pass the argument pointer that is set up
with va_start (see "The varargs.h Include File" in Chapter 1).
See the "Input/Output Functions and Macros" section of Chapter 1
for buffering information on I/O functions and macros.
Returns
The vfprintf function returns a negative value on error.
Related Functions
See also the fprintf and printf functions.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)