gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

langinfo_linux_riscv64.go (50044B)


      1 // Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_linux_riscv64.go -pkgname langinfo', DO NOT EDIT.
      2 
      3 package langinfo
      4 
      5 import (
      6 	"math"
      7 	"reflect"
      8 	"sync/atomic"
      9 	"unsafe"
     10 )
     11 
     12 var _ = math.Pi
     13 var _ reflect.Kind
     14 var _ atomic.Value
     15 var _ unsafe.Pointer
     16 
     17 const (
     18 	NL_CAT_LOCALE             = 1
     19 	NL_SETD                   = 1
     20 	X_ATFILE_SOURCE           = 1
     21 	X_BITS_LOCALE_H           = 1
     22 	X_BITS_TYPES_LOCALE_T_H   = 1
     23 	X_BITS_TYPES___LOCALE_T_H = 1
     24 	X_DEFAULT_SOURCE          = 1
     25 	X_FEATURES_H              = 1
     26 	X_FILE_OFFSET_BITS        = 64
     27 	X_LANGINFO_H              = 1
     28 	X_LP64                    = 1
     29 	X_NL_TYPES_H              = 1
     30 	X_POSIX_C_SOURCE          = 200809
     31 	X_POSIX_SOURCE            = 1
     32 	X_STDC_PREDEF_H           = 1
     33 	X_SYS_CDEFS_H             = 1
     34 	Linux                     = 1
     35 	Unix                      = 1
     36 )
     37 
     38 // Definition of locale category symbol values.
     39 //    Copyright (C) 2001-2021 Free Software Foundation, Inc.
     40 //    This file is part of the GNU C Library.
     41 //
     42 //    The GNU C Library is free software; you can redistribute it and/or
     43 //    modify it under the terms of the GNU Lesser General Public
     44 //    License as published by the Free Software Foundation; either
     45 //    version 2.1 of the License, or (at your option) any later version.
     46 //
     47 //    The GNU C Library is distributed in the hope that it will be useful,
     48 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
     49 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     50 //    Lesser General Public License for more details.
     51 //
     52 //    You should have received a copy of the GNU Lesser General Public
     53 //    License along with the GNU C Library; if not, see
     54 //    <https://www.gnu.org/licenses/>.
     55 
     56 // Construct an `nl_item' value for `nl_langinfo' from a locale category
     57 //    (LC_*) and an item index within the category.  Some code may depend on
     58 //    the item values within a category increasing monotonically with the
     59 //    indices.
     60 
     61 // Extract the category and item index from a constructed `nl_item' value.
     62 
     63 // Enumeration of locale items that can be queried with `nl_langinfo'.
     64 const ( /* langinfo.h:41:1: */
     65 	// LC_TIME category: date and time formatting.
     66 
     67 	// Abbreviated days of the week.
     68 	ABDAY_1 = 131072 // Sun
     69 	ABDAY_2 = 131073
     70 	ABDAY_3 = 131074
     71 	ABDAY_4 = 131075
     72 	ABDAY_5 = 131076
     73 	ABDAY_6 = 131077
     74 	ABDAY_7 = 131078
     75 
     76 	// Long-named days of the week.
     77 	DAY_1 = 131079 // Sunday
     78 	DAY_2 = 131080 // Monday
     79 	DAY_3 = 131081 // Tuesday
     80 	DAY_4 = 131082 // Wednesday
     81 	DAY_5 = 131083 // Thursday
     82 	DAY_6 = 131084 // Friday
     83 	DAY_7 = 131085 // Saturday
     84 
     85 	// Abbreviated month names, in the grammatical form used when the month
     86 	//      is a part of a complete date.
     87 	ABMON_1  = 131086 // Jan
     88 	ABMON_2  = 131087
     89 	ABMON_3  = 131088
     90 	ABMON_4  = 131089
     91 	ABMON_5  = 131090
     92 	ABMON_6  = 131091
     93 	ABMON_7  = 131092
     94 	ABMON_8  = 131093
     95 	ABMON_9  = 131094
     96 	ABMON_10 = 131095
     97 	ABMON_11 = 131096
     98 	ABMON_12 = 131097
     99 
    100 	// Long month names, in the grammatical form used when the month
    101 	//      is a part of a complete date.
    102 	MON_1  = 131098 // January
    103 	MON_2  = 131099
    104 	MON_3  = 131100
    105 	MON_4  = 131101
    106 	MON_5  = 131102
    107 	MON_6  = 131103
    108 	MON_7  = 131104
    109 	MON_8  = 131105
    110 	MON_9  = 131106
    111 	MON_10 = 131107
    112 	MON_11 = 131108
    113 	MON_12 = 131109
    114 
    115 	AM_STR = 131110 // Ante meridiem string.
    116 	PM_STR = 131111 // Post meridiem string.
    117 
    118 	D_T_FMT    = 131112 // Date and time format for strftime.
    119 	D_FMT      = 131113 // Date format for strftime.
    120 	T_FMT      = 131114 // Time format for strftime.
    121 	T_FMT_AMPM = 131115 // 12-hour time format for strftime.
    122 
    123 	ERA         = 131116 // Alternate era.
    124 	X__ERA_YEAR = 131117 // Year in alternate era format.
    125 	ERA_D_FMT   = 131118 // Date in alternate era format.
    126 	ALT_DIGITS  = 131119 // Alternate symbols for digits.
    127 	ERA_D_T_FMT = 131120 // Date and time in alternate era format.
    128 	ERA_T_FMT   = 131121 // Time in alternate era format.
    129 
    130 	X_NL_TIME_ERA_NUM_ENTRIES = 131122 // Number entries in the era arrays.
    131 	X_NL_TIME_ERA_ENTRIES     = 131123 // Structure with era entries in usable form.
    132 
    133 	X_NL_WABDAY_1 = 131124 // Sun
    134 	X_NL_WABDAY_2 = 131125
    135 	X_NL_WABDAY_3 = 131126
    136 	X_NL_WABDAY_4 = 131127
    137 	X_NL_WABDAY_5 = 131128
    138 	X_NL_WABDAY_6 = 131129
    139 	X_NL_WABDAY_7 = 131130
    140 
    141 	// Long-named days of the week.
    142 	X_NL_WDAY_1 = 131131 // Sunday
    143 	X_NL_WDAY_2 = 131132 // Monday
    144 	X_NL_WDAY_3 = 131133 // Tuesday
    145 	X_NL_WDAY_4 = 131134 // Wednesday
    146 	X_NL_WDAY_5 = 131135 // Thursday
    147 	X_NL_WDAY_6 = 131136 // Friday
    148 	X_NL_WDAY_7 = 131137 // Saturday
    149 
    150 	// Abbreviated month names, in the grammatical form used when the month
    151 	//      is a part of a complete date.
    152 	X_NL_WABMON_1  = 131138 // Jan
    153 	X_NL_WABMON_2  = 131139
    154 	X_NL_WABMON_3  = 131140
    155 	X_NL_WABMON_4  = 131141
    156 	X_NL_WABMON_5  = 131142
    157 	X_NL_WABMON_6  = 131143
    158 	X_NL_WABMON_7  = 131144
    159 	X_NL_WABMON_8  = 131145
    160 	X_NL_WABMON_9  = 131146
    161 	X_NL_WABMON_10 = 131147
    162 	X_NL_WABMON_11 = 131148
    163 	X_NL_WABMON_12 = 131149
    164 
    165 	// Long month names, in the grammatical form used when the month
    166 	//      is a part of a complete date.
    167 	X_NL_WMON_1  = 131150 // January
    168 	X_NL_WMON_2  = 131151
    169 	X_NL_WMON_3  = 131152
    170 	X_NL_WMON_4  = 131153
    171 	X_NL_WMON_5  = 131154
    172 	X_NL_WMON_6  = 131155
    173 	X_NL_WMON_7  = 131156
    174 	X_NL_WMON_8  = 131157
    175 	X_NL_WMON_9  = 131158
    176 	X_NL_WMON_10 = 131159
    177 	X_NL_WMON_11 = 131160
    178 	X_NL_WMON_12 = 131161
    179 
    180 	X_NL_WAM_STR = 131162 // Ante meridiem string.
    181 	X_NL_WPM_STR = 131163 // Post meridiem string.
    182 
    183 	X_NL_WD_T_FMT    = 131164 // Date and time format for strftime.
    184 	X_NL_WD_FMT      = 131165 // Date format for strftime.
    185 	X_NL_WT_FMT      = 131166 // Time format for strftime.
    186 	X_NL_WT_FMT_AMPM = 131167 // 12-hour time format for strftime.
    187 
    188 	X_NL_WERA_YEAR    = 131168 // Year in alternate era format.
    189 	X_NL_WERA_D_FMT   = 131169 // Date in alternate era format.
    190 	X_NL_WALT_DIGITS  = 131170 // Alternate symbols for digits.
    191 	X_NL_WERA_D_T_FMT = 131171 // Date and time in alternate era format.
    192 	X_NL_WERA_T_FMT   = 131172 // Time in alternate era format.
    193 
    194 	X_NL_TIME_WEEK_NDAYS    = 131173
    195 	X_NL_TIME_WEEK_1STDAY   = 131174
    196 	X_NL_TIME_WEEK_1STWEEK  = 131175
    197 	X_NL_TIME_FIRST_WEEKDAY = 131176
    198 	X_NL_TIME_FIRST_WORKDAY = 131177
    199 	X_NL_TIME_CAL_DIRECTION = 131178
    200 	X_NL_TIME_TIMEZONE      = 131179
    201 
    202 	X_DATE_FMT      = 131180 // strftime format for date.
    203 	X_NL_W_DATE_FMT = 131181
    204 
    205 	X_NL_TIME_CODESET = 131182
    206 
    207 	// Long month names, in the grammatical form used when the month
    208 	//      is named by itself.
    209 	X__ALTMON_1  = 131183 // January
    210 	X__ALTMON_2  = 131184
    211 	X__ALTMON_3  = 131185
    212 	X__ALTMON_4  = 131186
    213 	X__ALTMON_5  = 131187
    214 	X__ALTMON_6  = 131188
    215 	X__ALTMON_7  = 131189
    216 	X__ALTMON_8  = 131190
    217 	X__ALTMON_9  = 131191
    218 	X__ALTMON_10 = 131192
    219 	X__ALTMON_11 = 131193
    220 	X__ALTMON_12 = 131194
    221 
    222 	// Long month names, in the grammatical form used when the month
    223 	//      is named by itself.
    224 	X_NL_WALTMON_1  = 131195 // January
    225 	X_NL_WALTMON_2  = 131196
    226 	X_NL_WALTMON_3  = 131197
    227 	X_NL_WALTMON_4  = 131198
    228 	X_NL_WALTMON_5  = 131199
    229 	X_NL_WALTMON_6  = 131200
    230 	X_NL_WALTMON_7  = 131201
    231 	X_NL_WALTMON_8  = 131202
    232 	X_NL_WALTMON_9  = 131203
    233 	X_NL_WALTMON_10 = 131204
    234 	X_NL_WALTMON_11 = 131205
    235 	X_NL_WALTMON_12 = 131206
    236 
    237 	// Abbreviated month names, in the grammatical form used when the month
    238 	//      is named by itself.
    239 	X_NL_ABALTMON_1  = 131207 // Jan
    240 	X_NL_ABALTMON_2  = 131208
    241 	X_NL_ABALTMON_3  = 131209
    242 	X_NL_ABALTMON_4  = 131210
    243 	X_NL_ABALTMON_5  = 131211
    244 	X_NL_ABALTMON_6  = 131212
    245 	X_NL_ABALTMON_7  = 131213
    246 	X_NL_ABALTMON_8  = 131214
    247 	X_NL_ABALTMON_9  = 131215
    248 	X_NL_ABALTMON_10 = 131216
    249 	X_NL_ABALTMON_11 = 131217
    250 	X_NL_ABALTMON_12 = 131218
    251 
    252 	// Abbreviated month names, in the grammatical form used when the month
    253 	//      is named by itself.
    254 	X_NL_WABALTMON_1  = 131219 // Jan
    255 	X_NL_WABALTMON_2  = 131220
    256 	X_NL_WABALTMON_3  = 131221
    257 	X_NL_WABALTMON_4  = 131222
    258 	X_NL_WABALTMON_5  = 131223
    259 	X_NL_WABALTMON_6  = 131224
    260 	X_NL_WABALTMON_7  = 131225
    261 	X_NL_WABALTMON_8  = 131226
    262 	X_NL_WABALTMON_9  = 131227
    263 	X_NL_WABALTMON_10 = 131228
    264 	X_NL_WABALTMON_11 = 131229
    265 	X_NL_WABALTMON_12 = 131230
    266 
    267 	X_NL_NUM_LC_TIME = 131231 // Number of indices in LC_TIME category.
    268 
    269 	// LC_COLLATE category: text sorting.
    270 	//      This information is accessed by the strcoll and strxfrm functions.
    271 	//      These `nl_langinfo' names are used only internally.
    272 	X_NL_COLLATE_NRULES           = 196608
    273 	X_NL_COLLATE_RULESETS         = 196609
    274 	X_NL_COLLATE_TABLEMB          = 196610
    275 	X_NL_COLLATE_WEIGHTMB         = 196611
    276 	X_NL_COLLATE_EXTRAMB          = 196612
    277 	X_NL_COLLATE_INDIRECTMB       = 196613
    278 	X_NL_COLLATE_GAP1             = 196614
    279 	X_NL_COLLATE_GAP2             = 196615
    280 	X_NL_COLLATE_GAP3             = 196616
    281 	X_NL_COLLATE_TABLEWC          = 196617
    282 	X_NL_COLLATE_WEIGHTWC         = 196618
    283 	X_NL_COLLATE_EXTRAWC          = 196619
    284 	X_NL_COLLATE_INDIRECTWC       = 196620
    285 	X_NL_COLLATE_SYMB_HASH_SIZEMB = 196621
    286 	X_NL_COLLATE_SYMB_TABLEMB     = 196622
    287 	X_NL_COLLATE_SYMB_EXTRAMB     = 196623
    288 	X_NL_COLLATE_COLLSEQMB        = 196624
    289 	X_NL_COLLATE_COLLSEQWC        = 196625
    290 	X_NL_COLLATE_CODESET          = 196626
    291 	X_NL_NUM_LC_COLLATE           = 196627
    292 
    293 	// LC_CTYPE category: character classification.
    294 	//      This information is accessed by the functions in <ctype.h>.
    295 	//      These `nl_langinfo' names are used only internally.
    296 	X_NL_CTYPE_CLASS                        = 0
    297 	X_NL_CTYPE_TOUPPER                      = 1
    298 	X_NL_CTYPE_GAP1                         = 2
    299 	X_NL_CTYPE_TOLOWER                      = 3
    300 	X_NL_CTYPE_GAP2                         = 4
    301 	X_NL_CTYPE_CLASS32                      = 5
    302 	X_NL_CTYPE_GAP3                         = 6
    303 	X_NL_CTYPE_GAP4                         = 7
    304 	X_NL_CTYPE_GAP5                         = 8
    305 	X_NL_CTYPE_GAP6                         = 9
    306 	X_NL_CTYPE_CLASS_NAMES                  = 10
    307 	X_NL_CTYPE_MAP_NAMES                    = 11
    308 	X_NL_CTYPE_WIDTH                        = 12
    309 	X_NL_CTYPE_MB_CUR_MAX                   = 13
    310 	X_NL_CTYPE_CODESET_NAME                 = 14
    311 	CODESET                                 = 14
    312 	X_NL_CTYPE_TOUPPER32                    = 15
    313 	X_NL_CTYPE_TOLOWER32                    = 16
    314 	X_NL_CTYPE_CLASS_OFFSET                 = 17
    315 	X_NL_CTYPE_MAP_OFFSET                   = 18
    316 	X_NL_CTYPE_INDIGITS_MB_LEN              = 19
    317 	X_NL_CTYPE_INDIGITS0_MB                 = 20
    318 	X_NL_CTYPE_INDIGITS1_MB                 = 21
    319 	X_NL_CTYPE_INDIGITS2_MB                 = 22
    320 	X_NL_CTYPE_INDIGITS3_MB                 = 23
    321 	X_NL_CTYPE_INDIGITS4_MB                 = 24
    322 	X_NL_CTYPE_INDIGITS5_MB                 = 25
    323 	X_NL_CTYPE_INDIGITS6_MB                 = 26
    324 	X_NL_CTYPE_INDIGITS7_MB                 = 27
    325 	X_NL_CTYPE_INDIGITS8_MB                 = 28
    326 	X_NL_CTYPE_INDIGITS9_MB                 = 29
    327 	X_NL_CTYPE_INDIGITS_WC_LEN              = 30
    328 	X_NL_CTYPE_INDIGITS0_WC                 = 31
    329 	X_NL_CTYPE_INDIGITS1_WC                 = 32
    330 	X_NL_CTYPE_INDIGITS2_WC                 = 33
    331 	X_NL_CTYPE_INDIGITS3_WC                 = 34
    332 	X_NL_CTYPE_INDIGITS4_WC                 = 35
    333 	X_NL_CTYPE_INDIGITS5_WC                 = 36
    334 	X_NL_CTYPE_INDIGITS6_WC                 = 37
    335 	X_NL_CTYPE_INDIGITS7_WC                 = 38
    336 	X_NL_CTYPE_INDIGITS8_WC                 = 39
    337 	X_NL_CTYPE_INDIGITS9_WC                 = 40
    338 	X_NL_CTYPE_OUTDIGIT0_MB                 = 41
    339 	X_NL_CTYPE_OUTDIGIT1_MB                 = 42
    340 	X_NL_CTYPE_OUTDIGIT2_MB                 = 43
    341 	X_NL_CTYPE_OUTDIGIT3_MB                 = 44
    342 	X_NL_CTYPE_OUTDIGIT4_MB                 = 45
    343 	X_NL_CTYPE_OUTDIGIT5_MB                 = 46
    344 	X_NL_CTYPE_OUTDIGIT6_MB                 = 47
    345 	X_NL_CTYPE_OUTDIGIT7_MB                 = 48
    346 	X_NL_CTYPE_OUTDIGIT8_MB                 = 49
    347 	X_NL_CTYPE_OUTDIGIT9_MB                 = 50
    348 	X_NL_CTYPE_OUTDIGIT0_WC                 = 51
    349 	X_NL_CTYPE_OUTDIGIT1_WC                 = 52
    350 	X_NL_CTYPE_OUTDIGIT2_WC                 = 53
    351 	X_NL_CTYPE_OUTDIGIT3_WC                 = 54
    352 	X_NL_CTYPE_OUTDIGIT4_WC                 = 55
    353 	X_NL_CTYPE_OUTDIGIT5_WC                 = 56
    354 	X_NL_CTYPE_OUTDIGIT6_WC                 = 57
    355 	X_NL_CTYPE_OUTDIGIT7_WC                 = 58
    356 	X_NL_CTYPE_OUTDIGIT8_WC                 = 59
    357 	X_NL_CTYPE_OUTDIGIT9_WC                 = 60
    358 	X_NL_CTYPE_TRANSLIT_TAB_SIZE            = 61
    359 	X_NL_CTYPE_TRANSLIT_FROM_IDX            = 62
    360 	X_NL_CTYPE_TRANSLIT_FROM_TBL            = 63
    361 	X_NL_CTYPE_TRANSLIT_TO_IDX              = 64
    362 	X_NL_CTYPE_TRANSLIT_TO_TBL              = 65
    363 	X_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = 66
    364 	X_NL_CTYPE_TRANSLIT_DEFAULT_MISSING     = 67
    365 	X_NL_CTYPE_TRANSLIT_IGNORE_LEN          = 68
    366 	X_NL_CTYPE_TRANSLIT_IGNORE              = 69
    367 	X_NL_CTYPE_MAP_TO_NONASCII              = 70
    368 	X_NL_CTYPE_NONASCII_CASE                = 71
    369 	X_NL_CTYPE_EXTRA_MAP_1                  = 72
    370 	X_NL_CTYPE_EXTRA_MAP_2                  = 73
    371 	X_NL_CTYPE_EXTRA_MAP_3                  = 74
    372 	X_NL_CTYPE_EXTRA_MAP_4                  = 75
    373 	X_NL_CTYPE_EXTRA_MAP_5                  = 76
    374 	X_NL_CTYPE_EXTRA_MAP_6                  = 77
    375 	X_NL_CTYPE_EXTRA_MAP_7                  = 78
    376 	X_NL_CTYPE_EXTRA_MAP_8                  = 79
    377 	X_NL_CTYPE_EXTRA_MAP_9                  = 80
    378 	X_NL_CTYPE_EXTRA_MAP_10                 = 81
    379 	X_NL_CTYPE_EXTRA_MAP_11                 = 82
    380 	X_NL_CTYPE_EXTRA_MAP_12                 = 83
    381 	X_NL_CTYPE_EXTRA_MAP_13                 = 84
    382 	X_NL_CTYPE_EXTRA_MAP_14                 = 85
    383 	X_NL_NUM_LC_CTYPE                       = 86
    384 
    385 	// LC_MONETARY category: formatting of monetary quantities.
    386 	//      These items each correspond to a member of `struct lconv',
    387 	//      defined in <locale.h>.
    388 	X__INT_CURR_SYMBOL                   = 262144
    389 	X__CURRENCY_SYMBOL                   = 262145
    390 	X__MON_DECIMAL_POINT                 = 262146
    391 	X__MON_THOUSANDS_SEP                 = 262147
    392 	X__MON_GROUPING                      = 262148
    393 	X__POSITIVE_SIGN                     = 262149
    394 	X__NEGATIVE_SIGN                     = 262150
    395 	X__INT_FRAC_DIGITS                   = 262151
    396 	X__FRAC_DIGITS                       = 262152
    397 	X__P_CS_PRECEDES                     = 262153
    398 	X__P_SEP_BY_SPACE                    = 262154
    399 	X__N_CS_PRECEDES                     = 262155
    400 	X__N_SEP_BY_SPACE                    = 262156
    401 	X__P_SIGN_POSN                       = 262157
    402 	X__N_SIGN_POSN                       = 262158
    403 	X_NL_MONETARY_CRNCYSTR               = 262159
    404 	X__INT_P_CS_PRECEDES                 = 262160
    405 	X__INT_P_SEP_BY_SPACE                = 262161
    406 	X__INT_N_CS_PRECEDES                 = 262162
    407 	X__INT_N_SEP_BY_SPACE                = 262163
    408 	X__INT_P_SIGN_POSN                   = 262164
    409 	X__INT_N_SIGN_POSN                   = 262165
    410 	X_NL_MONETARY_DUO_INT_CURR_SYMBOL    = 262166
    411 	X_NL_MONETARY_DUO_CURRENCY_SYMBOL    = 262167
    412 	X_NL_MONETARY_DUO_INT_FRAC_DIGITS    = 262168
    413 	X_NL_MONETARY_DUO_FRAC_DIGITS        = 262169
    414 	X_NL_MONETARY_DUO_P_CS_PRECEDES      = 262170
    415 	X_NL_MONETARY_DUO_P_SEP_BY_SPACE     = 262171
    416 	X_NL_MONETARY_DUO_N_CS_PRECEDES      = 262172
    417 	X_NL_MONETARY_DUO_N_SEP_BY_SPACE     = 262173
    418 	X_NL_MONETARY_DUO_INT_P_CS_PRECEDES  = 262174
    419 	X_NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = 262175
    420 	X_NL_MONETARY_DUO_INT_N_CS_PRECEDES  = 262176
    421 	X_NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = 262177
    422 	X_NL_MONETARY_DUO_P_SIGN_POSN        = 262178
    423 	X_NL_MONETARY_DUO_N_SIGN_POSN        = 262179
    424 	X_NL_MONETARY_DUO_INT_P_SIGN_POSN    = 262180
    425 	X_NL_MONETARY_DUO_INT_N_SIGN_POSN    = 262181
    426 	X_NL_MONETARY_UNO_VALID_FROM         = 262182
    427 	X_NL_MONETARY_UNO_VALID_TO           = 262183
    428 	X_NL_MONETARY_DUO_VALID_FROM         = 262184
    429 	X_NL_MONETARY_DUO_VALID_TO           = 262185
    430 	X_NL_MONETARY_CONVERSION_RATE        = 262186
    431 	X_NL_MONETARY_DECIMAL_POINT_WC       = 262187
    432 	X_NL_MONETARY_THOUSANDS_SEP_WC       = 262188
    433 	X_NL_MONETARY_CODESET                = 262189
    434 	X_NL_NUM_LC_MONETARY                 = 262190
    435 
    436 	// LC_NUMERIC category: formatting of numbers.
    437 	//      These also correspond to members of `struct lconv'; see <locale.h>.
    438 	X__DECIMAL_POINT              = 65536
    439 	RADIXCHAR                     = 65536
    440 	X__THOUSANDS_SEP              = 65537
    441 	THOUSEP                       = 65537
    442 	X__GROUPING                   = 65538
    443 	X_NL_NUMERIC_DECIMAL_POINT_WC = 65539
    444 	X_NL_NUMERIC_THOUSANDS_SEP_WC = 65540
    445 	X_NL_NUMERIC_CODESET          = 65541
    446 	X_NL_NUM_LC_NUMERIC           = 65542
    447 
    448 	X__YESEXPR            = 327680 // Regex matching ``yes'' input.
    449 	X__NOEXPR             = 327681 // Regex matching ``no'' input.
    450 	X__YESSTR             = 327682 // Output string for ``yes''.
    451 	X__NOSTR              = 327683 // Output string for ``no''.
    452 	X_NL_MESSAGES_CODESET = 327684
    453 	X_NL_NUM_LC_MESSAGES  = 327685
    454 
    455 	X_NL_PAPER_HEIGHT  = 458752
    456 	X_NL_PAPER_WIDTH   = 458753
    457 	X_NL_PAPER_CODESET = 458754
    458 	X_NL_NUM_LC_PAPER  = 458755
    459 
    460 	X_NL_NAME_NAME_FMT  = 524288
    461 	X_NL_NAME_NAME_GEN  = 524289
    462 	X_NL_NAME_NAME_MR   = 524290
    463 	X_NL_NAME_NAME_MRS  = 524291
    464 	X_NL_NAME_NAME_MISS = 524292
    465 	X_NL_NAME_NAME_MS   = 524293
    466 	X_NL_NAME_CODESET   = 524294
    467 	X_NL_NUM_LC_NAME    = 524295
    468 
    469 	X_NL_ADDRESS_POSTAL_FMT   = 589824
    470 	X_NL_ADDRESS_COUNTRY_NAME = 589825
    471 	X_NL_ADDRESS_COUNTRY_POST = 589826
    472 	X_NL_ADDRESS_COUNTRY_AB2  = 589827
    473 	X_NL_ADDRESS_COUNTRY_AB3  = 589828
    474 	X_NL_ADDRESS_COUNTRY_CAR  = 589829
    475 	X_NL_ADDRESS_COUNTRY_NUM  = 589830
    476 	X_NL_ADDRESS_COUNTRY_ISBN = 589831
    477 	X_NL_ADDRESS_LANG_NAME    = 589832
    478 	X_NL_ADDRESS_LANG_AB      = 589833
    479 	X_NL_ADDRESS_LANG_TERM    = 589834
    480 	X_NL_ADDRESS_LANG_LIB     = 589835
    481 	X_NL_ADDRESS_CODESET      = 589836
    482 	X_NL_NUM_LC_ADDRESS       = 589837
    483 
    484 	X_NL_TELEPHONE_TEL_INT_FMT = 655360
    485 	X_NL_TELEPHONE_TEL_DOM_FMT = 655361
    486 	X_NL_TELEPHONE_INT_SELECT  = 655362
    487 	X_NL_TELEPHONE_INT_PREFIX  = 655363
    488 	X_NL_TELEPHONE_CODESET     = 655364
    489 	X_NL_NUM_LC_TELEPHONE      = 655365
    490 
    491 	X_NL_MEASUREMENT_MEASUREMENT = 720896
    492 	X_NL_MEASUREMENT_CODESET     = 720897
    493 	X_NL_NUM_LC_MEASUREMENT      = 720898
    494 
    495 	X_NL_IDENTIFICATION_TITLE        = 786432
    496 	X_NL_IDENTIFICATION_SOURCE       = 786433
    497 	X_NL_IDENTIFICATION_ADDRESS      = 786434
    498 	X_NL_IDENTIFICATION_CONTACT      = 786435
    499 	X_NL_IDENTIFICATION_EMAIL        = 786436
    500 	X_NL_IDENTIFICATION_TEL          = 786437
    501 	X_NL_IDENTIFICATION_FAX          = 786438
    502 	X_NL_IDENTIFICATION_LANGUAGE     = 786439
    503 	X_NL_IDENTIFICATION_TERRITORY    = 786440
    504 	X_NL_IDENTIFICATION_AUDIENCE     = 786441
    505 	X_NL_IDENTIFICATION_APPLICATION  = 786442
    506 	X_NL_IDENTIFICATION_ABBREVIATION = 786443
    507 	X_NL_IDENTIFICATION_REVISION     = 786444
    508 	X_NL_IDENTIFICATION_DATE         = 786445
    509 	X_NL_IDENTIFICATION_CATEGORY     = 786446
    510 	X_NL_IDENTIFICATION_CODESET      = 786447
    511 	X_NL_NUM_LC_IDENTIFICATION       = 786448
    512 
    513 	// This marks the highest value used.
    514 	X_NL_NUM = 786449
    515 )
    516 
    517 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    518 
    519 type Size_t = uint64 /* <builtin>:9:23 */
    520 
    521 type Wchar_t = int32 /* <builtin>:15:24 */
    522 
    523 type X__int128_t = struct {
    524 	Flo int64
    525 	Fhi int64
    526 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    527 type X__uint128_t = struct {
    528 	Flo uint64
    529 	Fhi uint64
    530 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    531 
    532 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    533 type X__float128 = float64        /* <builtin>:47:21 */
    534 
    535 // Access to locale-dependent parameters.
    536 //    Copyright (C) 1995-2021 Free Software Foundation, Inc.
    537 //    This file is part of the GNU C Library.
    538 //
    539 //    The GNU C Library is free software; you can redistribute it and/or
    540 //    modify it under the terms of the GNU Lesser General Public
    541 //    License as published by the Free Software Foundation; either
    542 //    version 2.1 of the License, or (at your option) any later version.
    543 //
    544 //    The GNU C Library is distributed in the hope that it will be useful,
    545 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    546 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    547 //    Lesser General Public License for more details.
    548 //
    549 //    You should have received a copy of the GNU Lesser General Public
    550 //    License along with the GNU C Library; if not, see
    551 //    <https://www.gnu.org/licenses/>.
    552 
    553 // Get the type definition.
    554 // Copyright (C) 1996-2021 Free Software Foundation, Inc.
    555 //    This file is part of the GNU C Library.
    556 //
    557 //    The GNU C Library is free software; you can redistribute it and/or
    558 //    modify it under the terms of the GNU Lesser General Public
    559 //    License as published by the Free Software Foundation; either
    560 //    version 2.1 of the License, or (at your option) any later version.
    561 //
    562 //    The GNU C Library is distributed in the hope that it will be useful,
    563 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    564 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    565 //    Lesser General Public License for more details.
    566 //
    567 //    You should have received a copy of the GNU Lesser General Public
    568 //    License along with the GNU C Library; if not, see
    569 //    <https://www.gnu.org/licenses/>.
    570 
    571 // Copyright (C) 1991-2021 Free Software Foundation, Inc.
    572 //    This file is part of the GNU C Library.
    573 //
    574 //    The GNU C Library is free software; you can redistribute it and/or
    575 //    modify it under the terms of the GNU Lesser General Public
    576 //    License as published by the Free Software Foundation; either
    577 //    version 2.1 of the License, or (at your option) any later version.
    578 //
    579 //    The GNU C Library is distributed in the hope that it will be useful,
    580 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    581 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    582 //    Lesser General Public License for more details.
    583 //
    584 //    You should have received a copy of the GNU Lesser General Public
    585 //    License along with the GNU C Library; if not, see
    586 //    <https://www.gnu.org/licenses/>.
    587 
    588 // These are defined by the user (or the compiler)
    589 //    to specify the desired environment:
    590 //
    591 //    __STRICT_ANSI__	ISO Standard C.
    592 //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99.
    593 //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11.
    594 //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X.
    595 //    __STDC_WANT_LIB_EXT2__
    596 // 			Extensions to ISO C99 from TR 27431-2:2010.
    597 //    __STDC_WANT_IEC_60559_BFP_EXT__
    598 // 			Extensions to ISO C11 from TS 18661-1:2014.
    599 //    __STDC_WANT_IEC_60559_FUNCS_EXT__
    600 // 			Extensions to ISO C11 from TS 18661-4:2015.
    601 //    __STDC_WANT_IEC_60559_TYPES_EXT__
    602 // 			Extensions to ISO C11 from TS 18661-3:2015.
    603 //    __STDC_WANT_IEC_60559_EXT__
    604 // 			ISO C2X interfaces defined only in Annex F.
    605 //
    606 //    _POSIX_SOURCE	IEEE Std 1003.1.
    607 //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
    608 // 			if >=199309L, add IEEE Std 1003.1b-1993;
    609 // 			if >=199506L, add IEEE Std 1003.1c-1995;
    610 // 			if >=200112L, all of IEEE 1003.1-2004
    611 // 			if >=200809L, all of IEEE 1003.1-2008
    612 //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if
    613 // 			Single Unix conformance is wanted, to 600 for the
    614 // 			sixth revision, to 700 for the seventh revision.
    615 //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
    616 //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O.
    617 //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files.
    618 //    _FILE_OFFSET_BITS=N	Select default filesystem interface.
    619 //    _ATFILE_SOURCE	Additional *at interfaces.
    620 //    _DYNAMIC_STACK_SIZE_SOURCE Select correct (but non compile-time constant)
    621 // 			MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN.
    622 //    _GNU_SOURCE		All of the above, plus GNU extensions.
    623 //    _DEFAULT_SOURCE	The default set of features (taking precedence over
    624 // 			__STRICT_ANSI__).
    625 //
    626 //    _FORTIFY_SOURCE	Add security hardening to many library functions.
    627 // 			Set to 1 or 2; 2 performs stricter checks than 1.
    628 //
    629 //    _REENTRANT, _THREAD_SAFE
    630 // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
    631 //
    632 //    The `-ansi' switch to the GNU C compiler, and standards conformance
    633 //    options such as `-std=c99', define __STRICT_ANSI__.  If none of
    634 //    these are defined, or if _DEFAULT_SOURCE is defined, the default is
    635 //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
    636 //    200809L, as well as enabling miscellaneous functions from BSD and
    637 //    SVID.  If more than one of these are defined, they accumulate.  For
    638 //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
    639 //    give you ISO C, 1003.1, and 1003.2, but nothing else.
    640 //
    641 //    These are defined by this file and are used by the
    642 //    header files to decide what to declare or define:
    643 //
    644 //    __GLIBC_USE (F)	Define things from feature set F.  This is defined
    645 // 			to 1 or 0; the subsequent macros are either defined
    646 // 			or undefined, and those tests should be moved to
    647 // 			__GLIBC_USE.
    648 //    __USE_ISOC11		Define ISO C11 things.
    649 //    __USE_ISOC99		Define ISO C99 things.
    650 //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things.
    651 //    __USE_ISOCXX11	Define ISO C++11 things.
    652 //    __USE_POSIX		Define IEEE Std 1003.1 things.
    653 //    __USE_POSIX2		Define IEEE Std 1003.2 things.
    654 //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things.
    655 //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things.
    656 //    __USE_XOPEN		Define XPG things.
    657 //    __USE_XOPEN_EXTENDED	Define X/Open Unix things.
    658 //    __USE_UNIX98		Define Single Unix V2 things.
    659 //    __USE_XOPEN2K        Define XPG6 things.
    660 //    __USE_XOPEN2KXSI     Define XPG6 XSI things.
    661 //    __USE_XOPEN2K8       Define XPG7 things.
    662 //    __USE_XOPEN2K8XSI    Define XPG7 XSI things.
    663 //    __USE_LARGEFILE	Define correct standard I/O things.
    664 //    __USE_LARGEFILE64	Define LFS things with separate names.
    665 //    __USE_FILE_OFFSET64	Define 64bit interface as default.
    666 //    __USE_MISC		Define things from 4.3BSD or System V Unix.
    667 //    __USE_ATFILE		Define *at interfaces and AT_* constants for them.
    668 //    __USE_DYNAMIC_STACK_SIZE Define correct (but non compile-time constant)
    669 // 			MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN.
    670 //    __USE_GNU		Define GNU extensions.
    671 //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level.
    672 //
    673 //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
    674 //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
    675 //    only for compatibility.  All new code should use the other symbols
    676 //    to test for features.
    677 //
    678 //    All macros listed above as possibly being defined by this file are
    679 //    explicitly undefined if they are not explicitly defined.
    680 //    Feature-test macros that are not defined by the user or compiler
    681 //    but are implied by the other feature-test macros defined (or by the
    682 //    lack of any definitions) are defined by the file.
    683 //
    684 //    ISO C feature test macros depend on the definition of the macro
    685 //    when an affected header is included, not when the first system
    686 //    header is included, and so they are handled in
    687 //    <bits/libc-header-start.h>, which does not have a multiple include
    688 //    guard.  Feature test macros that can be handled from the first
    689 //    system header included are handled here.
    690 
    691 // Undefine everything, so we get a clean slate.
    692 
    693 // Suppress kernel-name space pollution unless user expressedly asks
    694 //    for it.
    695 
    696 // Convenience macro to test the version of gcc.
    697 //    Use like this:
    698 //    #if __GNUC_PREREQ (2,8)
    699 //    ... code requiring gcc 2.8 or later ...
    700 //    #endif
    701 //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
    702 //    added in 2.0.
    703 
    704 // Similarly for clang.  Features added to GCC after version 4.2 may
    705 //    or may not also be available in clang, and clang's definitions of
    706 //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such
    707 //    features can be queried via __has_extension/__has_feature.
    708 
    709 // Whether to use feature set F.
    710 
    711 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
    712 //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not
    713 //    issue a warning; the expectation is that the source is being
    714 //    transitioned to use the new macro.
    715 
    716 // If _GNU_SOURCE was defined by the user, turn on all the other features.
    717 
    718 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
    719 //    define _DEFAULT_SOURCE.
    720 
    721 // This is to enable the ISO C2X extension.
    722 
    723 // This is to enable the ISO C11 extension.
    724 
    725 // This is to enable the ISO C99 extension.
    726 
    727 // This is to enable the ISO C90 Amendment 1:1995 extension.
    728 
    729 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
    730 //    is defined, use POSIX.1-2008 (or another version depending on
    731 //    _XOPEN_SOURCE).
    732 
    733 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
    734 //    defined in all multithreaded code.  GNU libc has not required this
    735 //    for many years.  We now treat them as compatibility synonyms for
    736 //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
    737 //    comprehensive support for multithreaded code.  Using them never
    738 //    lowers the selected level of POSIX conformance, only raises it.
    739 
    740 // Features part to handle 64-bit time_t support.
    741 //    Copyright (C) 2021 Free Software Foundation, Inc.
    742 //    This file is part of the GNU C Library.
    743 //
    744 //    The GNU C Library is free software; you can redistribute it and/or
    745 //    modify it under the terms of the GNU Lesser General Public
    746 //    License as published by the Free Software Foundation; either
    747 //    version 2.1 of the License, or (at your option) any later version.
    748 //
    749 //    The GNU C Library is distributed in the hope that it will be useful,
    750 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    751 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    752 //    Lesser General Public License for more details.
    753 //
    754 //    You should have received a copy of the GNU Lesser General Public
    755 //    License along with the GNU C Library; if not, see
    756 //    <https://www.gnu.org/licenses/>.
    757 
    758 // We need to know the word size in order to check the time size.
    759 // Determine the wordsize from the preprocessor defines.  RISC-V version.
    760 //    Copyright (C) 2002-2021 Free Software Foundation, Inc.
    761 //    This file is part of the GNU C Library.
    762 //
    763 //    The GNU C Library is free software; you can redistribute it and/or
    764 //    modify it under the terms of the GNU Lesser General Public
    765 //    License as published by the Free Software Foundation; either
    766 //    version 2.1 of the License, or (at your option) any later version.
    767 //
    768 //    The GNU C Library is distributed in the hope that it will be useful,
    769 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    770 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    771 //    Lesser General Public License for more details.
    772 //
    773 //    You should have received a copy of the GNU Lesser General Public
    774 //    License along with the GNU C Library.  If not, see
    775 //    <https://www.gnu.org/licenses/>.
    776 
    777 // Bit size of the time_t type at glibc build time, RISC-V case.
    778 //    Copyright (C) 2020-2021 Free Software Foundation, Inc.
    779 //    This file is part of the GNU C Library.
    780 //
    781 //    The GNU C Library is free software; you can redistribute it and/or
    782 //    modify it under the terms of the GNU Lesser General Public
    783 //    License as published by the Free Software Foundation; either
    784 //    version 2.1 of the License, or (at your option) any later version.
    785 //
    786 //    The GNU C Library is distributed in the hope that it will be useful,
    787 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    788 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    789 //    Lesser General Public License for more details.
    790 //
    791 //    You should have received a copy of the GNU Lesser General Public
    792 //    License along with the GNU C Library; if not, see
    793 //    <https://www.gnu.org/licenses/>.
    794 
    795 // Determine the wordsize from the preprocessor defines.  RISC-V version.
    796 //    Copyright (C) 2002-2021 Free Software Foundation, Inc.
    797 //    This file is part of the GNU C Library.
    798 //
    799 //    The GNU C Library is free software; you can redistribute it and/or
    800 //    modify it under the terms of the GNU Lesser General Public
    801 //    License as published by the Free Software Foundation; either
    802 //    version 2.1 of the License, or (at your option) any later version.
    803 //
    804 //    The GNU C Library is distributed in the hope that it will be useful,
    805 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    806 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    807 //    Lesser General Public License for more details.
    808 //
    809 //    You should have received a copy of the GNU Lesser General Public
    810 //    License along with the GNU C Library.  If not, see
    811 //    <https://www.gnu.org/licenses/>.
    812 
    813 // RV32 and RV64 both use 64-bit time_t
    814 
    815 // The function 'gets' existed in C89, but is impossible to use
    816 //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for
    817 //    compatibility with various implementations of <cstdio>, this test
    818 //    must consider only the value of __cplusplus when compiling C++.
    819 
    820 // GNU formerly extended the scanf functions with modified format
    821 //    specifiers %as, %aS, and %a[...] that allocate a buffer for the
    822 //    input using malloc.  This extension conflicts with ISO C99, which
    823 //    defines %a as a standalone format specifier that reads a floating-
    824 //    point number; moreover, POSIX.1-2008 provides the same feature
    825 //    using the modifier letter 'm' instead (%ms, %mS, %m[...]).
    826 //
    827 //    We now follow C99 unless GNU extensions are active and the compiler
    828 //    is specifically in C89 or C++98 mode (strict or not).  For
    829 //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with
    830 //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
    831 //    old extension.
    832 
    833 // Get definitions of __STDC_* predefined macros, if the compiler has
    834 //    not preincluded this header automatically.
    835 // Copyright (C) 1991-2021 Free Software Foundation, Inc.
    836 //    This file is part of the GNU C Library.
    837 //
    838 //    The GNU C Library is free software; you can redistribute it and/or
    839 //    modify it under the terms of the GNU Lesser General Public
    840 //    License as published by the Free Software Foundation; either
    841 //    version 2.1 of the License, or (at your option) any later version.
    842 //
    843 //    The GNU C Library is distributed in the hope that it will be useful,
    844 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    845 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    846 //    Lesser General Public License for more details.
    847 //
    848 //    You should have received a copy of the GNU Lesser General Public
    849 //    License along with the GNU C Library; if not, see
    850 //    <https://www.gnu.org/licenses/>.
    851 
    852 // This macro indicates that the installed library is the GNU C Library.
    853 //    For historic reasons the value now is 6 and this will stay from now
    854 //    on.  The use of this variable is deprecated.  Use __GLIBC__ and
    855 //    __GLIBC_MINOR__ now (see below) when you want to test for a specific
    856 //    GNU C library version and use the values in <gnu/lib-names.h> to get
    857 //    the sonames of the shared libraries.
    858 
    859 // Major and minor version number of the GNU C library package.  Use
    860 //    these macros to test for features in specific releases.
    861 
    862 // This is here only because every header file already includes this one.
    863 // Copyright (C) 1992-2021 Free Software Foundation, Inc.
    864 //    This file is part of the GNU C Library.
    865 //
    866 //    The GNU C Library is free software; you can redistribute it and/or
    867 //    modify it under the terms of the GNU Lesser General Public
    868 //    License as published by the Free Software Foundation; either
    869 //    version 2.1 of the License, or (at your option) any later version.
    870 //
    871 //    The GNU C Library is distributed in the hope that it will be useful,
    872 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    873 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    874 //    Lesser General Public License for more details.
    875 //
    876 //    You should have received a copy of the GNU Lesser General Public
    877 //    License along with the GNU C Library; if not, see
    878 //    <https://www.gnu.org/licenses/>.
    879 
    880 // We are almost always included from features.h.
    881 
    882 // The GNU libc does not support any K&R compilers or the traditional mode
    883 //    of ISO C compilers anymore.  Check for some of the combinations not
    884 //    supported anymore.
    885 
    886 // Some user header file might have defined this before.
    887 
    888 // Compilers that lack __has_attribute may object to
    889 //        #if defined __has_attribute && __has_attribute (...)
    890 //    even though they do not need to evaluate the right-hand side of the &&.
    891 //    Similarly for __has_builtin, etc.
    892 
    893 // All functions, except those with callbacks or those that
    894 //    synchronize memory, are leaf functions.
    895 
    896 // GCC can always grok prototypes.  For C++ programs we add throw()
    897 //    to help it optimize the function calls.  But this only works with
    898 //    gcc 2.8.x and egcs.  For gcc 3.4 and up we even mark C functions
    899 //    as non-throwing using a function attribute since programs can use
    900 //    the -fexceptions options for C code as well.
    901 
    902 // These two macros are not used in glibc anymore.  They are kept here
    903 //    only because some other projects expect the macros to be defined.
    904 
    905 // For these things, GCC behaves the ANSI way normally,
    906 //    and the non-ANSI way under -traditional.
    907 
    908 // This is not a typedef so `const __ptr_t' does the right thing.
    909 
    910 // C++ needs to know that types and declarations are C, not C++.
    911 
    912 // Fortify support.
    913 
    914 // Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available.
    915 
    916 // Support for flexible arrays.
    917 //    Headers that should use flexible arrays only if they're "real"
    918 //    (e.g. only if they won't affect sizeof()) should test
    919 //    #if __glibc_c99_flexarr_available.
    920 
    921 // __asm__ ("xyz") is used throughout the headers to rename functions
    922 //    at the assembly language level.  This is wrapped by the __REDIRECT
    923 //    macro, in order to support compilers that can do this some other
    924 //    way.  When compilers don't support asm-names at all, we have to do
    925 //    preprocessor tricks instead (which don't have exactly the right
    926 //    semantics, but it's the best we can do).
    927 //
    928 //    Example:
    929 //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
    930 
    931 //
    932 // #elif __SOME_OTHER_COMPILER__
    933 //
    934 // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias)
    935 
    936 // GCC and clang have various useful declarations that can be made with
    937 //    the '__attribute__' syntax.  All of the ways we use this do fine if
    938 //    they are omitted for compilers that don't understand it.
    939 
    940 // At some point during the gcc 2.96 development the `malloc' attribute
    941 //    for functions was introduced.  We don't want to use it unconditionally
    942 //    (although this would be possible) since it generates warnings.
    943 
    944 // Tell the compiler which arguments to an allocation function
    945 //    indicate the size of the allocation.
    946 
    947 // At some point during the gcc 2.96 development the `pure' attribute
    948 //    for functions was introduced.  We don't want to use it unconditionally
    949 //    (although this would be possible) since it generates warnings.
    950 
    951 // This declaration tells the compiler that the value is constant.
    952 
    953 // At some point during the gcc 3.1 development the `used' attribute
    954 //    for functions was introduced.  We don't want to use it unconditionally
    955 //    (although this would be possible) since it generates warnings.
    956 
    957 // Since version 3.2, gcc allows marking deprecated functions.
    958 
    959 // Since version 4.5, gcc also allows one to specify the message printed
    960 //    when a deprecated function is used.  clang claims to be gcc 4.2, but
    961 //    may also support this feature.
    962 
    963 // At some point during the gcc 2.8 development the `format_arg' attribute
    964 //    for functions was introduced.  We don't want to use it unconditionally
    965 //    (although this would be possible) since it generates warnings.
    966 //    If several `format_arg' attributes are given for the same function, in
    967 //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs,
    968 //    all designated arguments are considered.
    969 
    970 // At some point during the gcc 2.97 development the `strfmon' format
    971 //    attribute for functions was introduced.  We don't want to use it
    972 //    unconditionally (although this would be possible) since it
    973 //    generates warnings.
    974 
    975 // The nonnull function attribute marks pointer parameters that
    976 //    must not be NULL.
    977 
    978 // The returns_nonnull function attribute marks the return type of the function
    979 //    as always being non-null.
    980 
    981 // If fortification mode, we warn about unused results of certain
    982 //    function calls which can lead to problems.
    983 
    984 // Forces a function to be always inlined.
    985 // The Linux kernel defines __always_inline in stddef.h (283d7573), and
    986 //    it conflicts with this definition.  Therefore undefine it first to
    987 //    allow either header to be included first.
    988 
    989 // Associate error messages with the source location of the call site rather
    990 //    than with the source location inside the function.
    991 
    992 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
    993 //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__
    994 //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
    995 //    older than 4.3 may define these macros and still not guarantee GNU inlining
    996 //    semantics.
    997 //
    998 //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
    999 //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
   1000 //    __GNUC_GNU_INLINE__ macro definitions.
   1001 
   1002 // GCC 4.3 and above allow passing all anonymous arguments of an
   1003 //    __extern_always_inline function to some other vararg function.
   1004 
   1005 // It is possible to compile containing GCC extensions even if GCC is
   1006 //    run in pedantic mode if the uses are carefully marked using the
   1007 //    `__extension__' keyword.  But this is not generally available before
   1008 //    version 2.8.
   1009 
   1010 // __restrict is known in EGCS 1.2 and above, and in clang.
   1011 //    It works also in C++ mode (outside of arrays), but only when spelled
   1012 //    as '__restrict', not 'restrict'.
   1013 
   1014 // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
   1015 //      array_name[restrict]
   1016 //    GCC 3.1 and clang support this.
   1017 //    This syntax is not usable in C++ mode.
   1018 
   1019 // Describes a char array whose address can safely be passed as the first
   1020 //    argument to strncpy and strncat, as the char array is not necessarily
   1021 //    a NUL-terminated string.
   1022 
   1023 // Undefine (also defined in libc-symbols.h).
   1024 // Copies attributes from the declaration or type referenced by
   1025 //    the argument.
   1026 
   1027 // The #ifndef lets Gnulib avoid including these on non-glibc
   1028 //    platforms, where the includes typically do not exist.
   1029 // Determine the wordsize from the preprocessor defines.  RISC-V version.
   1030 //    Copyright (C) 2002-2021 Free Software Foundation, Inc.
   1031 //    This file is part of the GNU C Library.
   1032 //
   1033 //    The GNU C Library is free software; you can redistribute it and/or
   1034 //    modify it under the terms of the GNU Lesser General Public
   1035 //    License as published by the Free Software Foundation; either
   1036 //    version 2.1 of the License, or (at your option) any later version.
   1037 //
   1038 //    The GNU C Library is distributed in the hope that it will be useful,
   1039 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1040 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1041 //    Lesser General Public License for more details.
   1042 //
   1043 //    You should have received a copy of the GNU Lesser General Public
   1044 //    License along with the GNU C Library.  If not, see
   1045 //    <https://www.gnu.org/licenses/>.
   1046 
   1047 // Properties of long double type.  ldbl-128 version.
   1048 //    Copyright (C) 2016-2021 Free Software Foundation, Inc.
   1049 //    This file is part of the GNU C Library.
   1050 //
   1051 //    The GNU C Library is free software; you can redistribute it and/or
   1052 //    modify it under the terms of the GNU Lesser General Public
   1053 //    License  published by the Free Software Foundation; either
   1054 //    version 2.1 of the License, or (at your option) any later version.
   1055 //
   1056 //    The GNU C Library is distributed in the hope that it will be useful,
   1057 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1058 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1059 //    Lesser General Public License for more details.
   1060 //
   1061 //    You should have received a copy of the GNU Lesser General Public
   1062 //    License along with the GNU C Library; if not, see
   1063 //    <https://www.gnu.org/licenses/>.
   1064 
   1065 // long double is distinct from double, so there is nothing to
   1066 //    define here.
   1067 
   1068 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is
   1069 //    intended for use in preprocessor macros.
   1070 //
   1071 //    Note: MESSAGE must be a _single_ string; concatenation of string
   1072 //    literals is not supported.
   1073 
   1074 // Generic selection (ISO C11) is a C-only feature, available in GCC
   1075 //    since version 4.9.  Previous versions do not provide generic
   1076 //    selection, even though they might set __STDC_VERSION__ to 201112L,
   1077 //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__
   1078 //    when testing __STDC_VERSION__ for generic selection support.
   1079 //    On the other hand, Clang also defines __GNUC__, so a clang-specific
   1080 //    check is required to enable the use of generic selection.
   1081 
   1082 // Designates a 1-based positional argument ref-index of pointer type
   1083 //    that can be used to access size-index elements of the pointed-to
   1084 //    array according to access mode, or at least one element when
   1085 //    size-index is not provided:
   1086 //      access (access-mode, <ref-index> [, <size-index>])
   1087 
   1088 // Designates dealloc as a function to call to deallocate objects
   1089 //    allocated by the declared function.
   1090 
   1091 // Specify that a function such as setjmp or vfork may return
   1092 //    twice.
   1093 
   1094 // If we don't have __REDIRECT, prototypes will be missing if
   1095 //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
   1096 
   1097 // Decide whether we can define 'extern inline' functions in headers.
   1098 
   1099 // This is here only because every header file already includes this one.
   1100 //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
   1101 //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
   1102 //    that will always return failure (and set errno to ENOSYS).
   1103 // This file is automatically generated.
   1104 //    This file selects the right generated file of `__stub_FUNCTION' macros
   1105 //    based on the architecture being compiled for.
   1106 
   1107 // Determine the wordsize from the preprocessor defines.  RISC-V version.
   1108 //    Copyright (C) 2002-2021 Free Software Foundation, Inc.
   1109 //    This file is part of the GNU C Library.
   1110 //
   1111 //    The GNU C Library is free software; you can redistribute it and/or
   1112 //    modify it under the terms of the GNU Lesser General Public
   1113 //    License as published by the Free Software Foundation; either
   1114 //    version 2.1 of the License, or (at your option) any later version.
   1115 //
   1116 //    The GNU C Library is distributed in the hope that it will be useful,
   1117 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1118 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1119 //    Lesser General Public License for more details.
   1120 //
   1121 //    You should have received a copy of the GNU Lesser General Public
   1122 //    License along with the GNU C Library.  If not, see
   1123 //    <https://www.gnu.org/licenses/>.
   1124 
   1125 // This file is automatically generated.
   1126 //    It defines a symbol `__stub_FUNCTION' for each function
   1127 //    in the C library which is a stub, meaning it will fail
   1128 //    every time called, usually setting errno to ENOSYS.
   1129 
   1130 // The default message set used by the gencat program.
   1131 
   1132 // Value for FLAG parameter of `catgets' to say we want XPG4 compliance.
   1133 
   1134 // Message catalog descriptor type.
   1135 type Nl_catd = uintptr /* nl_types.h:33:14 */
   1136 
   1137 // Type used by `nl_langinfo'.
   1138 type Nl_item = int32 /* nl_types.h:36:13 */
   1139 
   1140 // POSIX.1-2008 extended locale interface (see locale.h).
   1141 // Definition of locale_t.
   1142 //    Copyright (C) 2017-2021 Free Software Foundation, Inc.
   1143 //    This file is part of the GNU C Library.
   1144 //
   1145 //    The GNU C Library is free software; you can redistribute it and/or
   1146 //    modify it under the terms of the GNU Lesser General Public
   1147 //    License as published by the Free Software Foundation; either
   1148 //    version 2.1 of the License, or (at your option) any later version.
   1149 //
   1150 //    The GNU C Library is distributed in the hope that it will be useful,
   1151 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1152 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1153 //    Lesser General Public License for more details.
   1154 //
   1155 //    You should have received a copy of the GNU Lesser General Public
   1156 //    License along with the GNU C Library; if not, see
   1157 //    <https://www.gnu.org/licenses/>.
   1158 
   1159 // Definition of struct __locale_struct and __locale_t.
   1160 //    Copyright (C) 1997-2021 Free Software Foundation, Inc.
   1161 //    This file is part of the GNU C Library.
   1162 //    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
   1163 //
   1164 //    The GNU C Library is free software; you can redistribute it and/or
   1165 //    modify it under the terms of the GNU Lesser General Public
   1166 //    License as published by the Free Software Foundation; either
   1167 //    version 2.1 of the License, or (at your option) any later version.
   1168 //
   1169 //    The GNU C Library is distributed in the hope that it will be useful,
   1170 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1171 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1172 //    Lesser General Public License for more details.
   1173 //
   1174 //    You should have received a copy of the GNU Lesser General Public
   1175 //    License along with the GNU C Library; if not, see
   1176 //    <https://www.gnu.org/licenses/>.
   1177 
   1178 // POSIX.1-2008: the locale_t type, representing a locale context
   1179 //    (implementation-namespace version).  This type should be treated
   1180 //    as opaque by applications; some details are exposed for the sake of
   1181 //    efficiency in e.g. ctype functions.
   1182 
   1183 type X__locale_struct = struct {
   1184 	F__locales       [13]uintptr
   1185 	F__ctype_b       uintptr
   1186 	F__ctype_tolower uintptr
   1187 	F__ctype_toupper uintptr
   1188 	F__names         [13]uintptr
   1189 } /* __locale_t.h:28:1 */
   1190 
   1191 type X__locale_t = uintptr /* __locale_t.h:42:32 */
   1192 
   1193 type Locale_t = X__locale_t /* locale_t.h:24:20 */
   1194 
   1195 var _ uint8 /* gen.c:2:13: */