Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _LANGINFO_H |
| 2 | #define _LANGINFO_H |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | #define __NEED_nl_item |
Rich Felker | 74eea62 | 2011-02-14 18:41:25 -0500 | [diff] [blame] | 9 | #define __NEED_locale_t |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 10 | |
| 11 | #include <bits/alltypes.h> |
| 12 | |
| 13 | #define ABDAY_1 0x20000 |
| 14 | #define ABDAY_2 0x20001 |
| 15 | #define ABDAY_3 0x20002 |
| 16 | #define ABDAY_4 0x20003 |
| 17 | #define ABDAY_5 0x20004 |
| 18 | #define ABDAY_6 0x20005 |
| 19 | #define ABDAY_7 0x20006 |
| 20 | |
| 21 | #define DAY_1 0x20007 |
| 22 | #define DAY_2 0x20008 |
| 23 | #define DAY_3 0x20009 |
| 24 | #define DAY_4 0x2000A |
| 25 | #define DAY_5 0x2000B |
| 26 | #define DAY_6 0x2000C |
| 27 | #define DAY_7 0x2000D |
| 28 | |
| 29 | #define ABMON_1 0x2000E |
| 30 | #define ABMON_2 0x2000F |
| 31 | #define ABMON_3 0x20010 |
| 32 | #define ABMON_4 0x20011 |
| 33 | #define ABMON_5 0x20012 |
| 34 | #define ABMON_6 0x20013 |
| 35 | #define ABMON_7 0x20014 |
| 36 | #define ABMON_8 0x20015 |
| 37 | #define ABMON_9 0x20016 |
| 38 | #define ABMON_10 0x20017 |
| 39 | #define ABMON_11 0x20018 |
| 40 | #define ABMON_12 0x20019 |
| 41 | |
| 42 | #define MON_1 0x2001A |
| 43 | #define MON_2 0x2001B |
| 44 | #define MON_3 0x2001C |
| 45 | #define MON_4 0x2001D |
| 46 | #define MON_5 0x2001E |
| 47 | #define MON_6 0x2001F |
| 48 | #define MON_7 0x20020 |
| 49 | #define MON_8 0x20021 |
| 50 | #define MON_9 0x20022 |
| 51 | #define MON_10 0x20023 |
| 52 | #define MON_11 0x20024 |
| 53 | #define MON_12 0x20025 |
| 54 | |
| 55 | #define AM_STR 0x20026 |
| 56 | #define PM_STR 0x20027 |
| 57 | |
| 58 | #define D_T_FMT 0x20028 |
| 59 | #define D_FMT 0x20029 |
| 60 | #define T_FMT 0x2002A |
| 61 | #define T_FMT_AMPM 0x2002B |
| 62 | |
| 63 | #define ERA 0x2002C |
| 64 | #define ERA_D_FMT 0x2002E |
| 65 | #define ALT_DIGITS 0x2002F |
| 66 | #define ERA_D_T_FMT 0x20030 |
| 67 | #define ERA_T_FMT 0x20031 |
| 68 | |
| 69 | #define CODESET 14 |
| 70 | |
| 71 | #define CRNCYSTR 0x4000F |
| 72 | |
| 73 | #define RADIXCHAR 0x10000 |
| 74 | #define THOUSEP 0x10001 |
| 75 | #define YESEXPR 0x50000 |
| 76 | #define NOEXPR 0x50001 |
| 77 | #define YESSTR 0x50002 |
| 78 | #define NOSTR 0x50003 |
| 79 | |
| 80 | char *nl_langinfo(nl_item); |
Rich Felker | 74eea62 | 2011-02-14 18:41:25 -0500 | [diff] [blame] | 81 | char *nl_langinfo_l(nl_item, locale_t); |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 82 | |
| 83 | #ifdef __cplusplus |
| 84 | } |
| 85 | #endif |
| 86 | |
| 87 | #endif |