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