root/maint/gnulib/tests/test-langinfo.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 /* Test of <langinfo.h> substitute.
   2    Copyright (C) 2009-2021 Free Software Foundation, Inc.
   3 
   4    This program is free software: you can redistribute it and/or modify
   5    it under the terms of the GNU General Public License as published by
   6    the Free Software Foundation; either version 3 of the License, or
   7    (at your option) any later version.
   8 
   9    This program is distributed in the hope that it will be useful,
  10    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12    GNU General Public License for more details.
  13 
  14    You should have received a copy of the GNU General Public License
  15    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
  16 
  17 /* Written by Bruno Haible <bruno@clisp.org>, 2009.  */
  18 
  19 #include <config.h>
  20 
  21 #include <langinfo.h>
  22 
  23 /* Check that all the nl_item values are defined.  */
  24 int items[] =
  25   {
  26     /* nl_langinfo items of the LC_CTYPE category */
  27     CODESET,
  28     /* nl_langinfo items of the LC_NUMERIC category */
  29     RADIXCHAR,
  30     THOUSEP,
  31     /* nl_langinfo items of the LC_TIME category */
  32     D_T_FMT,
  33     D_FMT,
  34     T_FMT,
  35     T_FMT_AMPM,
  36     AM_STR,
  37     PM_STR,
  38     DAY_1,
  39     DAY_2,
  40     DAY_3,
  41     DAY_4,
  42     DAY_5,
  43     DAY_6,
  44     DAY_7,
  45     ABDAY_1,
  46     ABDAY_2,
  47     ABDAY_3,
  48     ABDAY_4,
  49     ABDAY_5,
  50     ABDAY_6,
  51     ABDAY_7,
  52     MON_1,
  53     MON_2,
  54     MON_3,
  55     MON_4,
  56     MON_5,
  57     MON_6,
  58     MON_7,
  59     MON_8,
  60     MON_9,
  61     MON_10,
  62     MON_11,
  63     MON_12,
  64     ABMON_1,
  65     ABMON_2,
  66     ABMON_3,
  67     ABMON_4,
  68     ABMON_5,
  69     ABMON_6,
  70     ABMON_7,
  71     ABMON_8,
  72     ABMON_9,
  73     ABMON_10,
  74     ABMON_11,
  75     ABMON_12,
  76     ERA,
  77     ERA_D_FMT,
  78     ERA_D_T_FMT,
  79     ERA_T_FMT,
  80     ALT_DIGITS,
  81     /* nl_langinfo items of the LC_MONETARY category */
  82     CRNCYSTR,
  83     /* nl_langinfo items of the LC_MESSAGES category */
  84     YESEXPR,
  85     NOEXPR
  86   };
  87 
  88 int
  89 main (void)
     /* [previous][next][first][last][top][bottom][index][help] */
  90 {
  91   return 0;
  92 }

/* [previous][next][first][last][top][bottom][index][help] */