Regenerated using autoconf-2.52.
[libiconv.git] / libcharset / tools / locale_charset.c
blobc531a9c95dd561c748050b12b9920d0b66eaac8e
1 /* Prints the portable name for the current locale's charset. */
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <locale.h>
6 #include "libcharset.h"
8 int main ()
10 setlocale(LC_ALL, "");
11 printf("%s\n", locale_charset());
12 exit(0);