| Elliott Hughes | fc8e688 | 2016-11-18 16:27:29 -0800 | [diff] [blame] | 1 | /* | 
 | 2 |  * Copyright (C) 2016 The Android Open Source Project | 
 | 3 |  * All rights reserved. | 
 | 4 |  * | 
 | 5 |  * Redistribution and use in source and binary forms, with or without | 
 | 6 |  * modification, are permitted provided that the following conditions | 
 | 7 |  * are met: | 
 | 8 |  *  * Redistributions of source code must retain the above copyright | 
 | 9 |  *    notice, this list of conditions and the following disclaimer. | 
 | 10 |  *  * Redistributions in binary form must reproduce the above copyright | 
 | 11 |  *    notice, this list of conditions and the following disclaimer in | 
 | 12 |  *    the documentation and/or other materials provided with the | 
 | 13 |  *    distribution. | 
 | 14 |  * | 
 | 15 |  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 
 | 16 |  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 
 | 17 |  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 
 | 18 |  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | 
 | 19 |  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | 
 | 20 |  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | 
 | 21 |  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS | 
 | 22 |  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | 
 | 23 |  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | 
 | 24 |  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | 
 | 25 |  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 
 | 26 |  * SUCH DAMAGE. | 
 | 27 |  */ | 
 | 28 |  | 
 | 29 | #ifndef _LANGINFO_H_ | 
 | 30 | #define _LANGINFO_H_ | 
 | 31 |  | 
 | 32 | #include <sys/cdefs.h> | 
 | 33 |  | 
 | 34 | #include <nl_types.h> | 
 | 35 | #include <xlocale.h> | 
 | 36 |  | 
 | 37 | __BEGIN_DECLS | 
 | 38 |  | 
 | 39 | #define CODESET 1 | 
 | 40 | #define D_T_FMT 2 | 
 | 41 | #define D_FMT 3 | 
 | 42 | #define T_FMT 4 | 
 | 43 | #define T_FMT_AMPM 5 | 
 | 44 | #define AM_STR 6 | 
 | 45 | #define PM_STR 7 | 
 | 46 | #define DAY_1 8 | 
 | 47 | #define DAY_2 9 | 
 | 48 | #define DAY_3 10 | 
 | 49 | #define DAY_4 11 | 
 | 50 | #define DAY_5 12 | 
 | 51 | #define DAY_6 13 | 
 | 52 | #define DAY_7 14 | 
 | 53 | #define ABDAY_1 15 | 
 | 54 | #define ABDAY_2 16 | 
 | 55 | #define ABDAY_3 17 | 
 | 56 | #define ABDAY_4 18 | 
 | 57 | #define ABDAY_5 19 | 
 | 58 | #define ABDAY_6 20 | 
 | 59 | #define ABDAY_7 21 | 
 | 60 | #define MON_1 22 | 
 | 61 | #define MON_2 23 | 
 | 62 | #define MON_3 24 | 
 | 63 | #define MON_4 25 | 
 | 64 | #define MON_5 26 | 
 | 65 | #define MON_6 27 | 
 | 66 | #define MON_7 28 | 
 | 67 | #define MON_8 29 | 
 | 68 | #define MON_9 30 | 
 | 69 | #define MON_10 31 | 
 | 70 | #define MON_11 32 | 
 | 71 | #define MON_12 33 | 
 | 72 | #define ABMON_1 34 | 
 | 73 | #define ABMON_2 35 | 
 | 74 | #define ABMON_3 36 | 
 | 75 | #define ABMON_4 37 | 
 | 76 | #define ABMON_5 38 | 
 | 77 | #define ABMON_6 39 | 
 | 78 | #define ABMON_7 40 | 
 | 79 | #define ABMON_8 41 | 
 | 80 | #define ABMON_9 42 | 
 | 81 | #define ABMON_10 43 | 
 | 82 | #define ABMON_11 44 | 
 | 83 | #define ABMON_12 45 | 
 | 84 | #define ERA 46 | 
 | 85 | #define ERA_D_FMT 47 | 
 | 86 | #define ERA_D_T_FMT 48 | 
 | 87 | #define ERA_T_FMT 49 | 
 | 88 | #define ALT_DIGITS 50 | 
 | 89 | #define RADIXCHAR 51 | 
 | 90 | #define THOUSEP 52 | 
 | 91 | #define YESEXPR 53 | 
 | 92 | #define NOEXPR 54 | 
 | 93 | #define CRNCYSTR 55 | 
 | 94 |  | 
| Elliott Hughes | ff26a16 | 2017-08-17 22:34:21 +0000 | [diff] [blame] | 95 | char* nl_langinfo(nl_item __item) __INTRODUCED_IN(26); | 
 | 96 | char* nl_langinfo_l(nl_item __item, locale_t __l) __INTRODUCED_IN(26); | 
| Elliott Hughes | fc8e688 | 2016-11-18 16:27:29 -0800 | [diff] [blame] | 97 |  | 
 | 98 | __END_DECLS | 
 | 99 |  | 
 | 100 | #endif |