Print formatted data to a string.
int vprintf (char * string, char * format, va_list arguments);
Required Header |
<stdio.h> |
Return Value
Each of these functions return the number of characters printed to the string.
Parameters
string
A pointer to the string result
format
The format control string
arguments
Optional arguments pointer
Remarks
The vprintf function prints formatted data to the string based on the same rules of the printf function, using the optional arguments as specified by the format string.
See Also fprintf, printf, _snprintf, sprintf, sscanf, vfprintf, vfscanf, _vsnprintf, vsprintf