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