mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 17:50:20 +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;
|
||
|
}
|