1#include <stdio.h>
2#include <wchar.h>
3
4int
5main (int argc, char *argv[])
6{
7 fputws (ws: L"Hello world!\n", stdout);
8 wprintf (format: L"This %s a %ls string: %d\n", "is", L"mixed", 42);
9 wprintf (format: L"%Iu\n", 0xfeedbeef);
10 return 0;
11}
12

source code of glibc/libio/tst_wprintf.c