mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
11 lines
163 B
C
11 lines
163 B
C
|
#include <stdio.h>
|
||
|
#include <locale.h>
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
char buf[10];
|
||
|
setlocale (LC_ALL, "vi_VN.TCVN-5712");
|
||
|
return sprintf (buf, "%.*s", 2, "vi") != 2;
|
||
|
}
|