Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->vfprintf()


#include <stdio.h>
#include <stdarg.h>

int vfprintf(FILE* stream, const char* format, va_list argptr);


streamPointer to FILE structure
formatFormat control string
argptrPointer to a list of arguments to be converted and written


This function converts, formats and writes the arguments pointer to by argptr to the output stream.

The format control string has the same form and function as the format argument of the printf() function.

Return Value

The function returns the number of characters written to stream.