Update.
[platform/upstream/glibc.git] / locale / langinfo.h
1 /* Access to locale-dependent parameters.
2    Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
3    This file is part of the GNU C Library.
4
5    The GNU C Library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Library General Public License as
7    published by the Free Software Foundation; either version 2 of the
8    License, or (at your option) any later version.
9
10    The GNU C Library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Library General Public License for more details.
14
15    You should have received a copy of the GNU Library General Public
16    License along with the GNU C Library; see the file COPYING.LIB.  If not,
17    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18    Boston, MA 02111-1307, USA.  */
19
20 #ifndef _LANGINFO_H
21 #define _LANGINFO_H 1
22
23 #include <locale.h>             /* Define the LC_* category names.  */
24
25 /* Get the type definition.  */
26 #include <nl_types.h>
27
28
29 __BEGIN_DECLS
30
31 /* Construct an `nl_item' value for `nl_langinfo' from a locale category
32    (LC_*) and an item index within the category.  Some code may depend on
33    the item values within a category increasing monotonically with the
34    indices.  */
35 #define _NL_ITEM(category, index)       (((category) << 16) | (index))
36
37 /* Extract the category and item index from a constructed `nl_item' value.  */
38 #define _NL_ITEM_CATEGORY(item)         ((int) (item) >> 16)
39 #define _NL_ITEM_INDEX(item)            ((int) (item) & 0xffff)
40
41
42 /* Enumeration of locale items that can be queried with `nl_langinfo'.  */
43 enum
44 {
45   /* LC_TIME category: date and time formatting.  */
46
47   /* Abbreviated days of the week. */
48   ABDAY_1 = _NL_ITEM (LC_TIME, 0), /* Sun */
49 #define ABDAY_1                 ABDAY_1
50   ABDAY_2,
51 #define ABDAY_2                 ABDAY_2
52   ABDAY_3,
53 #define ABDAY_3                 ABDAY_3
54   ABDAY_4,
55 #define ABDAY_4                 ABDAY_4
56   ABDAY_5,
57 #define ABDAY_5                 ABDAY_5
58   ABDAY_6,
59 #define ABDAY_6                 ABDAY_6
60   ABDAY_7,
61 #define ABDAY_7                 ABDAY_7
62
63   /* Long-named days of the week. */
64   DAY_1,                        /* Sunday */
65 #define DAY_1                   DAY_1
66   DAY_2,                        /* Monday */
67 #define DAY_2                   DAY_2
68   DAY_3,                        /* Tuesday */
69 #define DAY_3                   DAY_3
70   DAY_4,                        /* Wednesday */
71 #define DAY_4                   DAY_4
72   DAY_5,                        /* Thursday */
73 #define DAY_5                   DAY_5
74   DAY_6,                        /* Friday */
75 #define DAY_6                   DAY_6
76   DAY_7,                        /* Saturday */
77 #define DAY_7                   DAY_7
78
79   /* Abbreviated month names.  */
80   ABMON_1,                      /* Jan */
81 #define ABMON_1                 ABMON_1
82   ABMON_2,
83 #define ABMON_2                 ABMON_2
84   ABMON_3,
85 #define ABMON_3                 ABMON_3
86   ABMON_4,
87 #define ABMON_4                 ABMON_4
88   ABMON_5,
89 #define ABMON_5                 ABMON_5
90   ABMON_6,
91 #define ABMON_6                 ABMON_6
92   ABMON_7,
93 #define ABMON_7                 ABMON_7
94   ABMON_8,
95 #define ABMON_8                 ABMON_8
96   ABMON_9,
97 #define ABMON_9                 ABMON_9
98   ABMON_10,
99 #define ABMON_10                ABMON_10
100   ABMON_11,
101 #define ABMON_11                ABMON_11
102   ABMON_12,
103 #define ABMON_12                ABMON_12
104
105   /* Long month names.  */
106   MON_1,                        /* January */
107 #define MON_1                   MON_1
108   MON_2,
109 #define MON_2                   MON_2
110   MON_3,
111 #define MON_3                   MON_3
112   MON_4,
113 #define MON_4                   MON_4
114   MON_5,
115 #define MON_5                   MON_5
116   MON_6,
117 #define MON_6                   MON_6
118   MON_7,
119 #define MON_7                   MON_7
120   MON_8,
121 #define MON_8                   MON_8
122   MON_9,
123 #define MON_9                   MON_9
124   MON_10,
125 #define MON_10                  MON_10
126   MON_11,
127 #define MON_11                  MON_11
128   MON_12,
129 #define MON_12                  MON_12
130
131   AM_STR,                       /* Ante meridian string.  */
132 #define AM_STR                  AM_STR
133   PM_STR,                       /* Post meridian string.  */
134 #define PM_STR                  PM_STR
135
136   D_T_FMT,                      /* Date and time format for strftime.  */
137 #define D_T_FMT                 D_T_FMT
138   D_FMT,                        /* Date format for strftime.  */
139 #define D_FMT                   D_FMT
140   T_FMT,                        /* Time format for strftime.  */
141 #define T_FMT                   T_FMT
142   T_FMT_AMPM,                   /* 12-hour time format for strftime.  */
143 #define T_FMT_AMPM              T_FMT_AMPM
144
145   ERA,                          /* Alternate era.  */
146 #define ERA                     ERA
147   __ERA_YEAR,                   /* Year in alternate era format.  */
148 #ifdef __USE_GNU
149 # define ERA_YEAR               __ERA_YEAR
150 #endif
151   ERA_D_FMT,                    /* Date in alternate era format.  */
152 #define ERA_D_FMT               ERA_D_FMT
153   ALT_DIGITS,                   /* Alternate symbols for digits.  */
154 #define ALT_DIGITS              ALT_DIGITS
155   ERA_D_T_FMT,                  /* Date and time in alternate era format.  */
156 #define ERA_D_T_FMT             ERA_D_T_FMT
157   ERA_T_FMT,                    /* Time in alternate era format.  */
158 #define ERA_T_FMT               ERA_T_FMT
159
160   _NL_TIME_ERA_NUM_ENTRIES,     /* Number entries in the era arrays.  */
161   _NL_TIME_ERA_ENTRIES,         /* Structure with era entries in usable form.*/
162
163   _NL_WABDAY_1,         /* Sun */
164   _NL_WABDAY_2,
165   _NL_WABDAY_3,
166   _NL_WABDAY_4,
167   _NL_WABDAY_5,
168   _NL_WABDAY_6,
169   _NL_WABDAY_7,
170
171   /* Long-named days of the week. */
172   _NL_WDAY_1,           /* Sunday */
173   _NL_WDAY_2,           /* Monday */
174   _NL_WDAY_3,           /* Tuesday */
175   _NL_WDAY_4,           /* Wednesday */
176   _NL_WDAY_5,           /* Thursday */
177   _NL_WDAY_6,           /* Friday */
178   _NL_WDAY_7,           /* Saturday */
179
180   /* Abbreviated month names.  */
181   _NL_WABMON_1,         /* Jan */
182   _NL_WABMON_2,
183   _NL_WABMON_3,
184   _NL_WABMON_4,
185   _NL_WABMON_5,
186   _NL_WABMON_6,
187   _NL_WABMON_7,
188   _NL_WABMON_8,
189   _NL_WABMON_9,
190   _NL_WABMON_10,
191   _NL_WABMON_11,
192   _NL_WABMON_12,
193
194   /* Long month names.  */
195   _NL_WMON_1,           /* January */
196   _NL_WMON_2,
197   _NL_WMON_3,
198   _NL_WMON_4,
199   _NL_WMON_5,
200   _NL_WMON_6,
201   _NL_WMON_7,
202   _NL_WMON_8,
203   _NL_WMON_9,
204   _NL_WMON_10,
205   _NL_WMON_11,
206   _NL_WMON_12,
207
208   _NL_WAM_STR,          /* Ante meridian string.  */
209   _NL_WPM_STR,          /* Post meridian string.  */
210
211   _NL_WD_T_FMT,         /* Date and time format for strftime.  */
212   _NL_WD_FMT,           /* Date format for strftime.  */
213   _NL_WT_FMT,           /* Time format for strftime.  */
214   _NL_WT_FMT_AMPM,      /* 12-hour time format for strftime.  */
215
216   _NL_WERA_YEAR,        /* Year in alternate era format.  */
217   _NL_WERA_D_FMT,       /* Date in alternate era format.  */
218   _NL_WALT_DIGITS,      /* Alternate symbols for digits.  */
219   _NL_WERA_D_T_FMT,     /* Date and time in alternate era format.  */
220   _NL_WERA_T_FMT,       /* Time in alternate era format.  */
221
222   _NL_TIME_WEEK_NDAYS,
223   _NL_TIME_WEEK_1STDAY,
224   _NL_TIME_WEEK_1STWEEK,
225   _NL_TIME_FIRST_WEEKDAY,
226   _NL_TIME_FIRST_WORKDAY,
227   _NL_TIME_CAL_DIRECTION,
228   _NL_TIME_TIMEZONE,
229
230   _NL_NUM_LC_TIME,              /* Number of indices in LC_TIME category.  */
231
232   /* LC_COLLATE category: text sorting.
233      This information is accessed by the strcoll and strxfrm functions.
234      These `nl_langinfo' names are used only internally.  */
235   _NL_COLLATE_NRULES = _NL_ITEM (LC_COLLATE, 0),
236   _NL_COLLATE_RULESETS,
237   _NL_COLLATE_TABLEMB,
238   _NL_COLLATE_WEIGHTMB,
239   _NL_COLLATE_EXTRAMB,
240   _NL_COLLATE_INDIRECTMB,
241   _NL_COLLATE_HASH_SIZE,
242   _NL_COLLATE_HASH_LAYERS,
243   _NL_COLLATE_NAMES,
244   _NL_COLLATE_TABLEWC,
245   _NL_COLLATE_WEIGHTWC,
246   _NL_COLLATE_EXTRAWC,
247   _NL_COLLATE_INDIRECTWC,
248   _NL_COLLATE_SYMB_HASH_SIZEMB,
249   _NL_COLLATE_SYMB_TABLEMB,
250   _NL_COLLATE_SYMB_EXTRAMB,
251   _NL_COLLATE_COLLSEQMB,
252   _NL_COLLATE_COLLSEQWC,
253   _NL_NUM_LC_COLLATE,
254
255   /* LC_CTYPE category: character classification.
256      This information is accessed by the functions in <ctype.h>.
257      These `nl_langinfo' names are used only internally.  */
258   _NL_CTYPE_CLASS = _NL_ITEM (LC_CTYPE, 0),
259   _NL_CTYPE_TOUPPER,
260   _NL_CTYPE_TOLOWER,
261   _NL_CTYPE_CLASS32,
262   _NL_CTYPE_NAMES,
263   _NL_CTYPE_HASH_SIZE,
264   _NL_CTYPE_HASH_LAYERS,
265   _NL_CTYPE_CLASS_NAMES,
266   _NL_CTYPE_MAP_NAMES,
267   _NL_CTYPE_WIDTH,
268   _NL_CTYPE_MB_CUR_MAX,
269   _NL_CTYPE_CODESET_NAME,
270   CODESET = _NL_CTYPE_CODESET_NAME,
271 #define CODESET                 CODESET
272   _NL_CTYPE_TOUPPER32,
273   _NL_CTYPE_TOLOWER32,
274   _NL_CTYPE_INDIGITS_MB_LEN,
275   _NL_CTYPE_INDIGITS0_MB,
276   _NL_CTYPE_INDIGITS1_MB,
277   _NL_CTYPE_INDIGITS2_MB,
278   _NL_CTYPE_INDIGITS3_MB,
279   _NL_CTYPE_INDIGITS4_MB,
280   _NL_CTYPE_INDIGITS5_MB,
281   _NL_CTYPE_INDIGITS6_MB,
282   _NL_CTYPE_INDIGITS7_MB,
283   _NL_CTYPE_INDIGITS8_MB,
284   _NL_CTYPE_INDIGITS9_MB,
285   _NL_CTYPE_INDIGITS_WC_LEN,
286   _NL_CTYPE_INDIGITS0_WC,
287   _NL_CTYPE_INDIGITS1_WC,
288   _NL_CTYPE_INDIGITS2_WC,
289   _NL_CTYPE_INDIGITS3_WC,
290   _NL_CTYPE_INDIGITS4_WC,
291   _NL_CTYPE_INDIGITS5_WC,
292   _NL_CTYPE_INDIGITS6_WC,
293   _NL_CTYPE_INDIGITS7_WC,
294   _NL_CTYPE_INDIGITS8_WC,
295   _NL_CTYPE_INDIGITS9_WC,
296   _NL_CTYPE_OUTDIGIT0_MB,
297   _NL_CTYPE_OUTDIGIT1_MB,
298   _NL_CTYPE_OUTDIGIT2_MB,
299   _NL_CTYPE_OUTDIGIT3_MB,
300   _NL_CTYPE_OUTDIGIT4_MB,
301   _NL_CTYPE_OUTDIGIT5_MB,
302   _NL_CTYPE_OUTDIGIT6_MB,
303   _NL_CTYPE_OUTDIGIT7_MB,
304   _NL_CTYPE_OUTDIGIT8_MB,
305   _NL_CTYPE_OUTDIGIT9_MB,
306   _NL_CTYPE_OUTDIGIT0_WC,
307   _NL_CTYPE_OUTDIGIT1_WC,
308   _NL_CTYPE_OUTDIGIT2_WC,
309   _NL_CTYPE_OUTDIGIT3_WC,
310   _NL_CTYPE_OUTDIGIT4_WC,
311   _NL_CTYPE_OUTDIGIT5_WC,
312   _NL_CTYPE_OUTDIGIT6_WC,
313   _NL_CTYPE_OUTDIGIT7_WC,
314   _NL_CTYPE_OUTDIGIT8_WC,
315   _NL_CTYPE_OUTDIGIT9_WC,
316   _NL_CTYPE_TRANSLIT_HASH_SIZE,
317   _NL_CTYPE_TRANSLIT_HASH_LAYERS,
318   _NL_CTYPE_TRANSLIT_FROM_IDX,
319   _NL_CTYPE_TRANSLIT_FROM_TBL,
320   _NL_CTYPE_TRANSLIT_TO_IDX,
321   _NL_CTYPE_TRANSLIT_TO_TBL,
322   _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN,
323   _NL_CTYPE_TRANSLIT_DEFAULT_MISSING,
324   _NL_CTYPE_TRANSLIT_IGNORE_LEN,
325   _NL_CTYPE_TRANSLIT_IGNORE,
326   _NL_NUM_LC_CTYPE,
327
328   /* LC_MONETARY category: formatting of monetary quantities.
329      These items each correspond to a member of `struct lconv',
330      defined in <locale.h>.  */
331   __INT_CURR_SYMBOL = _NL_ITEM (LC_MONETARY, 0),
332 #ifdef __USE_GNU
333 # define INT_CURR_SYMBOL        __INT_CURR_SYMBOL
334 #endif
335   __CURRENCY_SYMBOL,
336 #ifdef __USE_GNU
337 # define CURRENCY_SYMBOL        __CURRENCY_SYMBOL
338 #endif
339   __MON_DECIMAL_POINT,
340 #ifdef __USE_GNU
341 # define MON_DECIMAL_POINT      __MON_DECIMAL_POINT
342 #endif
343   __MON_THOUSANDS_SEP,
344 #ifdef __USE_GNU
345 # define MON_THOUSANDS_SEP      __MON_THOUSANDS_SEP
346 #endif
347   __MON_GROUPING,
348 #ifdef __USE_GNU
349 # define MON_GROUPING           __MON_GROUPING
350 #endif
351   __POSITIVE_SIGN,
352 #ifdef __USE_GNU
353 # define POSITIVE_SIGN          __POSITIVE_SIGN
354 #endif
355   __NEGATIVE_SIGN,
356 #ifdef __USE_GNU
357 # define NEGATIVE_SIGN          __NEGATIVE_SIGN
358 #endif
359   __INT_FRAC_DIGITS,
360 #ifdef __USE_GNU
361 # define INT_FRAC_DIGITS        __INT_FRAC_DIGITS
362 #endif
363   __FRAC_DIGITS,
364 #ifdef __USE_GNU
365 # define FRAC_DIGITS            __FRAC_DIGITS
366 #endif
367   __P_CS_PRECEDES,
368 #ifdef __USE_GNU
369 # define P_CS_PRECEDES          __P_CS_PRECEDES
370 #endif
371   __P_SEP_BY_SPACE,
372 #ifdef __USE_GNU
373 # define P_SEP_BY_SPACE         __P_SEP_BY_SPACE
374 #endif
375   __N_CS_PRECEDES,
376 #ifdef __USE_GNU
377 # define N_CS_PRECEDES          __N_CS_PRECEDES
378 #endif
379   __N_SEP_BY_SPACE,
380 #ifdef __USE_GNU
381 # define N_SEP_BY_SPACE         __N_SEP_BY_SPACE
382 #endif
383   __P_SIGN_POSN,
384 #ifdef __USE_GNU
385 # define P_SIGN_POSN            __P_SIGN_POSN
386 #endif
387   __N_SIGN_POSN,
388 #ifdef __USE_GNU
389 # define N_SIGN_POSN            __N_SIGN_POSN
390 #endif
391   _NL_MONETARY_CRNCYSTR,
392 #ifdef __USE_XOPEN
393 # define CRNCYSTR               __CRNCYSTR
394 #endif
395   __INT_P_CS_PRECEDES,
396 #ifdef __USE_GNU
397 # define INT_P_CS_PRECEDES      __INT_P_CS_PRECEDES
398 #endif
399   __INT_P_SEP_BY_SPACE,
400 #ifdef __USE_GNU
401 # define INT_P_SEP_BY_SPACE     __INT_P_SEP_BY_SPACE
402 #endif
403   __INT_N_CS_PRECEDES,
404 #ifdef __USE_GNU
405 # define INT_N_CS_PRECEDES      __INT_N_CS_PRECEDES
406 #endif
407   __INT_N_SEP_BY_SPACE,
408 #ifdef __USE_GNU
409 # define INT_N_SEP_BY_SPACE     __INT_N_SEP_BY_SPACE
410 #endif
411   __INT_P_SIGN_POSN,
412 #ifdef __USE_GNU
413 # define INT_P_SIGN_POSN        __INT_P_SIGN_POSN
414 #endif
415   __INT_N_SIGN_POSN,
416 #ifdef __USE_GNU
417 # define INT_N_SIGN_POSN        __INT_N_SIGN_POSN
418 #endif
419   _NL_MONETARY_DUO_INT_CURR_SYMBOL,
420   _NL_MONETARY_DUO_CURRENCY_SYMBOL,
421   _NL_MONETARY_DUO_INT_FRAC_DIGITS,
422   _NL_MONETARY_DUO_FRAC_DIGITS,
423   _NL_MONETARY_DUO_P_CS_PRECEDES,
424   _NL_MONETARY_DUO_P_SEP_BY_SPACE,
425   _NL_MONETARY_DUO_N_CS_PRECEDES,
426   _NL_MONETARY_DUO_N_SEP_BY_SPACE,
427   _NL_MONETARY_DUO_INT_P_CS_PRECEDES,
428   _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE,
429   _NL_MONETARY_DUO_INT_N_CS_PRECEDES,
430   _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE,
431   _NL_MONETARY_DUO_P_SIGN_POSN,
432   _NL_MONETARY_DUO_N_SIGN_POSN,
433   _NL_MONETARY_DUO_INT_P_SIGN_POSN,
434   _NL_MONETARY_DUO_INT_N_SIGN_POSN,
435   _NL_MONETARY_UNO_VALID_FROM,
436   _NL_MONETARY_UNO_VALID_TO,
437   _NL_MONETARY_DUO_VALID_FROM,
438   _NL_MONETARY_DUO_VALID_TO,
439   _NL_MONETARY_CONVERSION_RATE,
440   _NL_MONETARY_DECIMAL_POINT_WC,
441   _NL_MONETARY_THOUSANDS_SEP_WC,
442   _NL_NUM_LC_MONETARY,
443
444   /* LC_NUMERIC category: formatting of numbers.
445      These also correspond to members of `struct lconv'; see <locale.h>.  */
446   __DECIMAL_POINT = _NL_ITEM (LC_NUMERIC, 0),
447 #ifdef __USE_GNU
448 # define DECIMAL_POINT          __DECIMAL_POINT
449 #endif
450 #ifdef __USE_XOPEN
451   RADIXCHAR = __DECIMAL_POINT,
452 # define RADIXCHAR              RADIXCHAR
453 #endif
454   __THOUSANDS_SEP,
455 #ifdef __USE_GNU
456 # define THOUSANDS_SEP          __THOUSANDS_SEP
457 #endif
458 #ifdef __USE_XOPEN
459   THOUSEP = __THOUSANDS_SEP,
460 # define THOUSANDS_SEP          __THOUSANDS_SEP
461 #endif
462   __GROUPING,
463 #ifdef __USE_GNU
464 # define GROUPING               __GROUPING
465 #endif
466   _NL_NUMERIC_DECIMAL_POINT_WC,
467   _NL_NUMERIC_THOUSANDS_SEP_WC,
468   _NL_NUM_LC_NUMERIC,
469
470   __YESEXPR = _NL_ITEM (LC_MESSAGES, 0), /* Regex matching ``yes'' input.  */
471 #ifdef __USE_GNU
472 # define YESEXPR                __YESEXPR
473 #endif
474   __NOEXPR,                     /* Regex matching ``no'' input.  */
475 #ifdef __USE_GNU
476 # define NOEXPR                 __NOEXPR
477 #endif
478   __YESSTR,                     /* Output string for ``yes''.  */
479 #ifdef __USE_GNU
480 # define YESSTR                 __YESSTR
481 #endif
482   __NOSTR,                      /* Output string for ``no''.  */
483 #ifdef __USE_GNU
484 # define        NOSTR           __NOSTR
485 #endif
486   _NL_NUM_LC_MESSAGES,
487
488   _NL_PAPER_HEIGHT = _NL_ITEM (LC_PAPER, 0),
489   _NL_PAPER_WIDTH,
490   _NL_NUM_LC_PAPER,
491
492   _NL_NAME_NAME_FMT = _NL_ITEM (LC_NAME, 0),
493   _NL_NAME_NAME_GEN,
494   _NL_NAME_NAME_MR,
495   _NL_NAME_NAME_MRS,
496   _NL_NAME_NAME_MISS,
497   _NL_NAME_NAME_MS,
498   _NL_NUM_LC_NAME,
499
500   _NL_ADDRESS_POSTAL_FMT = _NL_ITEM (LC_ADDRESS, 0),
501   _NL_ADDRESS_COUNTRY_NAME,
502   _NL_ADDRESS_COUNTRY_POST,
503   _NL_ADDRESS_COUNTRY_AB2,
504   _NL_ADDRESS_COUNTRY_AB3,
505   _NL_ADDRESS_COUNTRY_CAR,
506   _NL_ADDRESS_COUNTRY_NUM,
507   _NL_ADDRESS_COUNTRY_ISBN,
508   _NL_ADDRESS_LANG_NAME,
509   _NL_ADDRESS_LANG_AB,
510   _NL_ADDRESS_LANG_TERM,
511   _NL_ADDRESS_LANG_LIB,
512   _NL_NUM_LC_ADDRESS,
513
514   _NL_TELEPHONE_TEL_INT_FMT = _NL_ITEM (LC_TELEPHONE, 0),
515   _NL_TELEPHONE_TEL_DOM_FMT,
516   _NL_TELEPHONE_INT_SELECT,
517   _NL_TELEPHONE_INT_PREFIX,
518   _NL_NUM_LC_TELEPHONE,
519
520   _NL_MEASUREMENT_MEASUREMENT = _NL_ITEM (LC_MEASUREMENT, 0),
521   _NL_NUM_LC_MEASUREMENT,
522
523   _NL_IDENTIFICATION_TITLE = _NL_ITEM (LC_IDENTIFICATION, 0),
524   _NL_IDENTIFICATION_SOURCE,
525   _NL_IDENTIFICATION_ADDRESS,
526   _NL_IDENTIFICATION_CONTACT,
527   _NL_IDENTIFICATION_EMAIL,
528   _NL_IDENTIFICATION_TEL,
529   _NL_IDENTIFICATION_FAX,
530   _NL_IDENTIFICATION_LANGUAGE,
531   _NL_IDENTIFICATION_TERRITORY,
532   _NL_IDENTIFICATION_AUDIENCE,
533   _NL_IDENTIFICATION_APPLICATION,
534   _NL_IDENTIFICATION_ABBREVIATION,
535   _NL_IDENTIFICATION_REVISION,
536   _NL_IDENTIFICATION_DATE,
537   _NL_IDENTIFICATION_CATEGORY,
538   _NL_NUM_LC_IDENTIFICATION,
539
540   /* This marks the highest value used.  */
541   _NL_NUM
542 };
543
544
545 /* Return the current locale's value for ITEM.
546    If ITEM is invalid, an empty string is returned.
547
548    The string returned will not change until `setlocale' is called;
549    it is usually in read-only memory and cannot be modified.  */
550
551 extern char *nl_langinfo (nl_item __item) __THROW;
552
553
554 __END_DECLS
555
556 #endif  /* langinfo.h */