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