Back to index

glibc  2.9
tst_wprintf.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <wchar.h>
00003 
00004 int
00005 main (int argc, char *argv[])
00006 {
00007   fputws (L"Hello world!\n", stdout);
00008   wprintf (L"This %s a %ls string: %d\n", "is", L"mixed", 42);
00009   wprintf (L"%Iu\n", 0xfeedbeef);
00010   return 0;
00011 }