mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 20:51:11 +00: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;
|
||
|
}
|