Sha256: 9a241a20df1fe7b632d9f7be06ac4e73afa6ed66fb4024675cd9fe45f153217f

Contents?: true

Size: 729 Bytes

Versions: 5

Compression:

Stored size: 729 Bytes

Contents

/* Prints the system dependent names for the 12 months in the current locale. */

#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(MON_1));
  printf("%s\n", nl_langinfo(MON_2));
  printf("%s\n", nl_langinfo(MON_3));
  printf("%s\n", nl_langinfo(MON_4));
  printf("%s\n", nl_langinfo(MON_5));
  printf("%s\n", nl_langinfo(MON_6));
  printf("%s\n", nl_langinfo(MON_7));
  printf("%s\n", nl_langinfo(MON_8));
  printf("%s\n", nl_langinfo(MON_9));
  printf("%s\n", nl_langinfo(MON_10));
  printf("%s\n", nl_langinfo(MON_11));
  printf("%s\n", nl_langinfo(MON_12));
  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_monthnames.c
controller_scaffolding-1.0.2 test/dummy/libiconv-1.13.1/libcharset/tools/locale_monthnames.c
controller_scaffolding-1.0.1 test/dummy/libiconv-1.13.1/libcharset/tools/locale_monthnames.c
controller_scaffolding-1.0.0 test/dummy/libiconv-1.13.1/libcharset/tools/locale_monthnames.c
controller_scaffolding-0.1.5 test/dummy/libiconv-1.13.1/libcharset/tools/locale_monthnames.c