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 );
libc
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 vfwprint() function is the wide-character version of vfprintf(), and is a “varargs” version of fwprintf().
The number of wide characters written, excluding the terminating NUL, or a negative number if an error occurred (errno is set).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
errno, fprintf(), fwprintf(), printf(), snprintf(), sprintf(), swprintf(), va_start(), vfprintf(), vprintf(), vsnprintf(), vsprintf(), vswprintf(), vwprintf(), wprintf()