source: vendor/glibc-tests/glibc/libio/tst_wprintf.c

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 224 bytes
Line 
1#include <stdio.h>
2#include <wchar.h>
3
4int
5main (int argc, char *argv[])
6{
7 fputws (L"Hello world!\n", stdout);
8 wprintf (L"This %s a %ls string: %d\n", "is", L"mixed", 42);
9 wprintf (L"%Iu\n", 0xfeedbeef);
10 return 0;
11}
Note: See TracBrowser for help on using the repository browser.