summaryrefslogtreecommitdiff
path: root/libio/tst_wprintf.c
blob: bf859f10fc565c13b16773f0509d8aed39e87131 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <wchar.h>

int
main (int argc, char *argv[])
{
  fputws (L"Hello world!\n", stdout);
  wprintf (L"This %s a %ls string: %d\n", "is", L"mixed", 42);
  wprintf (L"%Iu\n", 0xfeedbeef);
  return 0;
}