Writes wide-character output to a stream under format control.
#include <wchar.h>
int fwprintf (
struct _iobuf *fp,
const wchar_t *format,
...);
(IN) Points to the file to be written to (struct _iobuf is the same as FILE).
(IN) Points to the format control string. See Section 12.4, Wide-Character Print Format Control Strings.
(IN) Points to an argument for a conversion specifier. The number of arguments is determined by the format string.
If successful, returns the number of characters written. Otherwise, returns a negative value and sets errno to one of the following: