fwprintf
extern int fwprintf(FILE *stream, const wchar_t *format, ...);
weak_alias (__fwprintf, fwprintf)
extern int fwprintf (__FILE *__restrict __stream,
fwprintf(stderr, L"stderr should now be set to wide mode ...\n");
fwprintf(stdout, L"%ls", L"this should *not* be visible!\n");
fwprintf(stdout, L"%s", "this should *not* be visible!\n");
fwprintf(stderr, L"%s", "this *should* be visible!\n");
fwprintf(stderr, L"%ls", L"this *should* be visible!\n");
fwprintf(stdout, L"%ls", L"this should *not* be visible!\n");
fwprintf(stdout, L"%s", "this should *not* be visible!\n");
fwprintf(stderr, L"%s", "this *should* be visible! (äöúß)\n");
fwprintf(stderr, L"%ls", L"this *should* be visible! (äöúß)\n");
fwprintf(fp,L"test start" );
fwprintf(fp, L" int %d\n", a);
fwprintf(fp, L"1[%6.3s]\n", argv[1]);
fwprintf(fp, L"hello.\n");