Write formatted wide-character output to a file (varargs)
#include <wchar.h> #include <stdarg.h> int vfwprintf( FILE * fp, const wchar_t * format, va_list arg );
- The stream to which you want to send the output.
- A wide-character string that specifies the format of the output. The formatting string determines what additional arguments you need to provide. For more information, see printf().
- A variable-argument list of the additional arguments, which you must have initialized with the va_start() macro.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The vfwprintf() function writes output to the file pointed to by fp, under control of the argument format.
The number of wide characters written, excluding the terminating NUL, or a negative number if an error occurred (errno is set).
Last modified: 2013-09-30