Back to index

glibc  2.9
bug15.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <locale.h>
00003 
00004 int
00005 main (void)
00006 {
00007   char buf[10];
00008   setlocale (LC_ALL, "vi_VN.TCVN-5712");
00009   return sprintf (buf, "%.*s", 2, "vi") != 2;
00010 }