langinfo_linux_amd64.go (43763B)
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 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.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 // nl_types.h:27:1: 19 NL_SETD = 1 // nl_types.h:24:1: 20 X_ATFILE_SOURCE = 1 // features.h:342:1: 21 X_BITS_LOCALE_H = 1 // locale.h:24:1: 22 X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: 23 X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: 24 X_DEFAULT_SOURCE = 1 // features.h:227:1: 25 X_FEATURES_H = 1 // features.h:19:1: 26 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 27 X_LANGINFO_H = 1 // langinfo.h:20:1: 28 X_LP64 = 1 // <predefined>:284:1: 29 X_NL_TYPES_H = 1 // nl_types.h:19:1: 30 X_POSIX_C_SOURCE = 200809 // features.h:281:1: 31 X_POSIX_SOURCE = 1 // features.h:279:1: 32 X_STDC_PREDEF_H = 1 // <predefined>:162:1: 33 X_SYS_CDEFS_H = 1 // cdefs.h:19:1: 34 Linux = 1 // <predefined>:231:1: 35 Unix = 1 // <predefined>:177:1: 36 ) 37 38 // Definition of locale category symbol values. 39 // Copyright (C) 2001-2020 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-2020 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-2020 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-2020 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 // 604 // _POSIX_SOURCE IEEE Std 1003.1. 605 // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; 606 // if >=199309L, add IEEE Std 1003.1b-1993; 607 // if >=199506L, add IEEE Std 1003.1c-1995; 608 // if >=200112L, all of IEEE 1003.1-2004 609 // if >=200809L, all of IEEE 1003.1-2008 610 // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if 611 // Single Unix conformance is wanted, to 600 for the 612 // sixth revision, to 700 for the seventh revision. 613 // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. 614 // _LARGEFILE_SOURCE Some more functions for correct standard I/O. 615 // _LARGEFILE64_SOURCE Additional functionality from LFS for large files. 616 // _FILE_OFFSET_BITS=N Select default filesystem interface. 617 // _ATFILE_SOURCE Additional *at interfaces. 618 // _GNU_SOURCE All of the above, plus GNU extensions. 619 // _DEFAULT_SOURCE The default set of features (taking precedence over 620 // __STRICT_ANSI__). 621 // 622 // _FORTIFY_SOURCE Add security hardening to many library functions. 623 // Set to 1 or 2; 2 performs stricter checks than 1. 624 // 625 // _REENTRANT, _THREAD_SAFE 626 // Obsolete; equivalent to _POSIX_C_SOURCE=199506L. 627 // 628 // The `-ansi' switch to the GNU C compiler, and standards conformance 629 // options such as `-std=c99', define __STRICT_ANSI__. If none of 630 // these are defined, or if _DEFAULT_SOURCE is defined, the default is 631 // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to 632 // 200809L, as well as enabling miscellaneous functions from BSD and 633 // SVID. If more than one of these are defined, they accumulate. For 634 // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together 635 // give you ISO C, 1003.1, and 1003.2, but nothing else. 636 // 637 // These are defined by this file and are used by the 638 // header files to decide what to declare or define: 639 // 640 // __GLIBC_USE (F) Define things from feature set F. This is defined 641 // to 1 or 0; the subsequent macros are either defined 642 // or undefined, and those tests should be moved to 643 // __GLIBC_USE. 644 // __USE_ISOC11 Define ISO C11 things. 645 // __USE_ISOC99 Define ISO C99 things. 646 // __USE_ISOC95 Define ISO C90 AMD1 (C95) things. 647 // __USE_ISOCXX11 Define ISO C++11 things. 648 // __USE_POSIX Define IEEE Std 1003.1 things. 649 // __USE_POSIX2 Define IEEE Std 1003.2 things. 650 // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. 651 // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things. 652 // __USE_XOPEN Define XPG things. 653 // __USE_XOPEN_EXTENDED Define X/Open Unix things. 654 // __USE_UNIX98 Define Single Unix V2 things. 655 // __USE_XOPEN2K Define XPG6 things. 656 // __USE_XOPEN2KXSI Define XPG6 XSI things. 657 // __USE_XOPEN2K8 Define XPG7 things. 658 // __USE_XOPEN2K8XSI Define XPG7 XSI things. 659 // __USE_LARGEFILE Define correct standard I/O things. 660 // __USE_LARGEFILE64 Define LFS things with separate names. 661 // __USE_FILE_OFFSET64 Define 64bit interface as default. 662 // __USE_MISC Define things from 4.3BSD or System V Unix. 663 // __USE_ATFILE Define *at interfaces and AT_* constants for them. 664 // __USE_GNU Define GNU extensions. 665 // __USE_FORTIFY_LEVEL Additional security measures used, according to level. 666 // 667 // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are 668 // defined by this file unconditionally. `__GNU_LIBRARY__' is provided 669 // only for compatibility. All new code should use the other symbols 670 // to test for features. 671 // 672 // All macros listed above as possibly being defined by this file are 673 // explicitly undefined if they are not explicitly defined. 674 // Feature-test macros that are not defined by the user or compiler 675 // but are implied by the other feature-test macros defined (or by the 676 // lack of any definitions) are defined by the file. 677 // 678 // ISO C feature test macros depend on the definition of the macro 679 // when an affected header is included, not when the first system 680 // header is included, and so they are handled in 681 // <bits/libc-header-start.h>, which does not have a multiple include 682 // guard. Feature test macros that can be handled from the first 683 // system header included are handled here. 684 685 // Undefine everything, so we get a clean slate. 686 687 // Suppress kernel-name space pollution unless user expressedly asks 688 // for it. 689 690 // Convenience macro to test the version of gcc. 691 // Use like this: 692 // #if __GNUC_PREREQ (2,8) 693 // ... code requiring gcc 2.8 or later ... 694 // #endif 695 // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was 696 // added in 2.0. 697 698 // Similarly for clang. Features added to GCC after version 4.2 may 699 // or may not also be available in clang, and clang's definitions of 700 // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such 701 // features can be queried via __has_extension/__has_feature. 702 703 // Whether to use feature set F. 704 705 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for 706 // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not 707 // issue a warning; the expectation is that the source is being 708 // transitioned to use the new macro. 709 710 // If _GNU_SOURCE was defined by the user, turn on all the other features. 711 712 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, 713 // define _DEFAULT_SOURCE. 714 715 // This is to enable the ISO C2X extension. 716 717 // This is to enable the ISO C11 extension. 718 719 // This is to enable the ISO C99 extension. 720 721 // This is to enable the ISO C90 Amendment 1:1995 extension. 722 723 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE 724 // is defined, use POSIX.1-2008 (or another version depending on 725 // _XOPEN_SOURCE). 726 727 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be 728 // defined in all multithreaded code. GNU libc has not required this 729 // for many years. We now treat them as compatibility synonyms for 730 // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with 731 // comprehensive support for multithreaded code. Using them never 732 // lowers the selected level of POSIX conformance, only raises it. 733 734 // The function 'gets' existed in C89, but is impossible to use 735 // safely. It has been removed from ISO C11 and ISO C++14. Note: for 736 // compatibility with various implementations of <cstdio>, this test 737 // must consider only the value of __cplusplus when compiling C++. 738 739 // GNU formerly extended the scanf functions with modified format 740 // specifiers %as, %aS, and %a[...] that allocate a buffer for the 741 // input using malloc. This extension conflicts with ISO C99, which 742 // defines %a as a standalone format specifier that reads a floating- 743 // point number; moreover, POSIX.1-2008 provides the same feature 744 // using the modifier letter 'm' instead (%ms, %mS, %m[...]). 745 // 746 // We now follow C99 unless GNU extensions are active and the compiler 747 // is specifically in C89 or C++98 mode (strict or not). For 748 // instance, with GCC, -std=gnu11 will have C99-compliant scanf with 749 // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the 750 // old extension. 751 752 // Get definitions of __STDC_* predefined macros, if the compiler has 753 // not preincluded this header automatically. 754 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 755 // This file is part of the GNU C Library. 756 // 757 // The GNU C Library is free software; you can redistribute it and/or 758 // modify it under the terms of the GNU Lesser General Public 759 // License as published by the Free Software Foundation; either 760 // version 2.1 of the License, or (at your option) any later version. 761 // 762 // The GNU C Library is distributed in the hope that it will be useful, 763 // but WITHOUT ANY WARRANTY; without even the implied warranty of 764 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 765 // Lesser General Public License for more details. 766 // 767 // You should have received a copy of the GNU Lesser General Public 768 // License along with the GNU C Library; if not, see 769 // <https://www.gnu.org/licenses/>. 770 771 // This macro indicates that the installed library is the GNU C Library. 772 // For historic reasons the value now is 6 and this will stay from now 773 // on. The use of this variable is deprecated. Use __GLIBC__ and 774 // __GLIBC_MINOR__ now (see below) when you want to test for a specific 775 // GNU C library version and use the values in <gnu/lib-names.h> to get 776 // the sonames of the shared libraries. 777 778 // Major and minor version number of the GNU C library package. Use 779 // these macros to test for features in specific releases. 780 781 // This is here only because every header file already includes this one. 782 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 783 // This file is part of the GNU C Library. 784 // 785 // The GNU C Library is free software; you can redistribute it and/or 786 // modify it under the terms of the GNU Lesser General Public 787 // License as published by the Free Software Foundation; either 788 // version 2.1 of the License, or (at your option) any later version. 789 // 790 // The GNU C Library is distributed in the hope that it will be useful, 791 // but WITHOUT ANY WARRANTY; without even the implied warranty of 792 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 793 // Lesser General Public License for more details. 794 // 795 // You should have received a copy of the GNU Lesser General Public 796 // License along with the GNU C Library; if not, see 797 // <https://www.gnu.org/licenses/>. 798 799 // We are almost always included from features.h. 800 801 // The GNU libc does not support any K&R compilers or the traditional mode 802 // of ISO C compilers anymore. Check for some of the combinations not 803 // anymore supported. 804 805 // Some user header file might have defined this before. 806 807 // All functions, except those with callbacks or those that 808 // synchronize memory, are leaf functions. 809 810 // GCC can always grok prototypes. For C++ programs we add throw() 811 // to help it optimize the function calls. But this works only with 812 // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions 813 // as non-throwing using a function attribute since programs can use 814 // the -fexceptions options for C code as well. 815 816 // Compilers that are not clang may object to 817 // #if defined __clang__ && __has_extension(...) 818 // even though they do not need to evaluate the right-hand side of the &&. 819 820 // These two macros are not used in glibc anymore. They are kept here 821 // only because some other projects expect the macros to be defined. 822 823 // For these things, GCC behaves the ANSI way normally, 824 // and the non-ANSI way under -traditional. 825 826 // This is not a typedef so `const __ptr_t' does the right thing. 827 828 // C++ needs to know that types and declarations are C, not C++. 829 830 // Fortify support. 831 832 // Support for flexible arrays. 833 // Headers that should use flexible arrays only if they're "real" 834 // (e.g. only if they won't affect sizeof()) should test 835 // #if __glibc_c99_flexarr_available. 836 837 // __asm__ ("xyz") is used throughout the headers to rename functions 838 // at the assembly language level. This is wrapped by the __REDIRECT 839 // macro, in order to support compilers that can do this some other 840 // way. When compilers don't support asm-names at all, we have to do 841 // preprocessor tricks instead (which don't have exactly the right 842 // semantics, but it's the best we can do). 843 // 844 // Example: 845 // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); 846 847 // 848 // #elif __SOME_OTHER_COMPILER__ 849 // 850 // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias) 851 852 // GCC has various useful declarations that can be made with the 853 // `__attribute__' syntax. All of the ways we use this do fine if 854 // they are omitted for compilers that don't understand it. 855 856 // At some point during the gcc 2.96 development the `malloc' attribute 857 // for functions was introduced. We don't want to use it unconditionally 858 // (although this would be possible) since it generates warnings. 859 860 // Tell the compiler which arguments to an allocation function 861 // indicate the size of the allocation. 862 863 // At some point during the gcc 2.96 development the `pure' attribute 864 // for functions was introduced. We don't want to use it unconditionally 865 // (although this would be possible) since it generates warnings. 866 867 // This declaration tells the compiler that the value is constant. 868 869 // At some point during the gcc 3.1 development the `used' 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 873 // Since version 3.2, gcc allows marking deprecated functions. 874 875 // Since version 4.5, gcc also allows one to specify the message printed 876 // when a deprecated function is used. clang claims to be gcc 4.2, but 877 // may also support this feature. 878 879 // At some point during the gcc 2.8 development the `format_arg' attribute 880 // for functions was introduced. We don't want to use it unconditionally 881 // (although this would be possible) since it generates warnings. 882 // If several `format_arg' attributes are given for the same function, in 883 // gcc-3.0 and older, all but the last one are ignored. In newer gccs, 884 // all designated arguments are considered. 885 886 // At some point during the gcc 2.97 development the `strfmon' format 887 // attribute for functions was introduced. We don't want to use it 888 // unconditionally (although this would be possible) since it 889 // generates warnings. 890 891 // The nonull function attribute allows to mark pointer parameters which 892 // must not be NULL. 893 894 // If fortification mode, we warn about unused results of certain 895 // function calls which can lead to problems. 896 897 // Forces a function to be always inlined. 898 // The Linux kernel defines __always_inline in stddef.h (283d7573), and 899 // it conflicts with this definition. Therefore undefine it first to 900 // allow either header to be included first. 901 902 // Associate error messages with the source location of the call site rather 903 // than with the source location inside the function. 904 905 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 906 // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ 907 // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions 908 // older than 4.3 may define these macros and still not guarantee GNU inlining 909 // semantics. 910 // 911 // clang++ identifies itself as gcc-4.2, but has support for GNU inlining 912 // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and 913 // __GNUC_GNU_INLINE__ macro definitions. 914 915 // GCC 4.3 and above allow passing all anonymous arguments of an 916 // __extern_always_inline function to some other vararg function. 917 918 // It is possible to compile containing GCC extensions even if GCC is 919 // run in pedantic mode if the uses are carefully marked using the 920 // `__extension__' keyword. But this is not generally available before 921 // version 2.8. 922 923 // __restrict is known in EGCS 1.2 and above. 924 925 // ISO C99 also allows to declare arrays as non-overlapping. The syntax is 926 // array_name[restrict] 927 // GCC 3.1 supports this. 928 929 // Describes a char array whose address can safely be passed as the first 930 // argument to strncpy and strncat, as the char array is not necessarily 931 // a NUL-terminated string. 932 933 // Undefine (also defined in libc-symbols.h). 934 // Copies attributes from the declaration or type referenced by 935 // the argument. 936 937 // Determine the wordsize from the preprocessor defines. 938 939 // Both x86-64 and x32 use the 64-bit system call interface. 940 // Properties of long double type. ldbl-96 version. 941 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 942 // This file is part of the GNU C Library. 943 // 944 // The GNU C Library is free software; you can redistribute it and/or 945 // modify it under the terms of the GNU Lesser General Public 946 // License published by the Free Software Foundation; either 947 // version 2.1 of the License, or (at your option) any later version. 948 // 949 // The GNU C Library is distributed in the hope that it will be useful, 950 // but WITHOUT ANY WARRANTY; without even the implied warranty of 951 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 952 // Lesser General Public License for more details. 953 // 954 // You should have received a copy of the GNU Lesser General Public 955 // License along with the GNU C Library; if not, see 956 // <https://www.gnu.org/licenses/>. 957 958 // long double is distinct from double, so there is nothing to 959 // define here. 960 961 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is 962 // intended for use in preprocessor macros. 963 // 964 // Note: MESSAGE must be a _single_ string; concatenation of string 965 // literals is not supported. 966 967 // Generic selection (ISO C11) is a C-only feature, available in GCC 968 // since version 4.9. Previous versions do not provide generic 969 // selection, even though they might set __STDC_VERSION__ to 201112L, 970 // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ 971 // when testing __STDC_VERSION__ for generic selection support. 972 // On the other hand, Clang also defines __GNUC__, so a clang-specific 973 // check is required to enable the use of generic selection. 974 975 // If we don't have __REDIRECT, prototypes will be missing if 976 // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. 977 978 // Decide whether we can define 'extern inline' functions in headers. 979 980 // This is here only because every header file already includes this one. 981 // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. 982 // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub 983 // that will always return failure (and set errno to ENOSYS). 984 // This file is automatically generated. 985 // This file selects the right generated file of `__stub_FUNCTION' macros 986 // based on the architecture being compiled for. 987 988 // This file is automatically generated. 989 // It defines a symbol `__stub_FUNCTION' for each function 990 // in the C library which is a stub, meaning it will fail 991 // every time called, usually setting errno to ENOSYS. 992 993 // The default message set used by the gencat program. 994 995 // Value for FLAG parameter of `catgets' to say we want XPG4 compliance. 996 997 // Message catalog descriptor type. 998 type Nl_catd = uintptr /* nl_types.h:33:14 */ 999 1000 // Type used by `nl_langinfo'. 1001 type Nl_item = int32 /* nl_types.h:36:13 */ 1002 1003 // POSIX.1-2008 extended locale interface (see locale.h). 1004 // Definition of locale_t. 1005 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1006 // This file is part of the GNU C Library. 1007 // 1008 // The GNU C Library is free software; you can redistribute it and/or 1009 // modify it under the terms of the GNU Lesser General Public 1010 // License as published by the Free Software Foundation; either 1011 // version 2.1 of the License, or (at your option) any later version. 1012 // 1013 // The GNU C Library is distributed in the hope that it will be useful, 1014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1016 // Lesser General Public License for more details. 1017 // 1018 // You should have received a copy of the GNU Lesser General Public 1019 // License along with the GNU C Library; if not, see 1020 // <https://www.gnu.org/licenses/>. 1021 1022 // Definition of struct __locale_struct and __locale_t. 1023 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 1024 // This file is part of the GNU C Library. 1025 // Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 1026 // 1027 // The GNU C Library is free software; you can redistribute it and/or 1028 // modify it under the terms of the GNU Lesser General Public 1029 // License as published by the Free Software Foundation; either 1030 // version 2.1 of the License, or (at your option) any later version. 1031 // 1032 // The GNU C Library is distributed in the hope that it will be useful, 1033 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1034 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1035 // Lesser General Public License for more details. 1036 // 1037 // You should have received a copy of the GNU Lesser General Public 1038 // License along with the GNU C Library; if not, see 1039 // <https://www.gnu.org/licenses/>. 1040 1041 // POSIX.1-2008: the locale_t type, representing a locale context 1042 // (implementation-namespace version). This type should be treated 1043 // as opaque by applications; some details are exposed for the sake of 1044 // efficiency in e.g. ctype functions. 1045 1046 type X__locale_struct = struct { 1047 F__locales [13]uintptr 1048 F__ctype_b uintptr 1049 F__ctype_tolower uintptr 1050 F__ctype_toupper uintptr 1051 F__names [13]uintptr 1052 } /* __locale_t.h:28:1 */ 1053 1054 type X__locale_t = uintptr /* __locale_t.h:42:32 */ 1055 1056 type Locale_t = X__locale_t /* locale_t.h:24:20 */ 1057 1058 var _ int8 /* gen.c:2:13: */