Sha256: 8f0da4f946fed1f01461714897d24e9972a0310c81f9411ce1b2e0aa0a02d4f4

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

/* Prints the system dependent name for the current locale's codeset. */

#define _XOPEN_SOURCE 500  /* Needed on AIX 3.2.5 */

#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <langinfo.h>

int main ()
{
  setlocale(LC_ALL, "");
  printf("%s\n", nl_langinfo(CODESET));
  exit(0);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
controller_scaffolding-1.0.3 test/dummy/libiconv-1.13.1/libcharset/tools/locale_codeset.c
controller_scaffolding-1.0.2 test/dummy/libiconv-1.13.1/libcharset/tools/locale_codeset.c
controller_scaffolding-1.0.1 test/dummy/libiconv-1.13.1/libcharset/tools/locale_codeset.c
controller_scaffolding-1.0.0 test/dummy/libiconv-1.13.1/libcharset/tools/locale_codeset.c
controller_scaffolding-0.1.5 test/dummy/libiconv-1.13.1/libcharset/tools/locale_codeset.c