modernc.org/libc@v1.24.1/wctype/wctype_linux_386.go (about) 1 // Code generated by 'ccgo wctype/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 wctype/wctype_linux_386.go -pkgname wctype', DO NOT EDIT. 2 3 package wctype 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 WEOF = 4294967295 19 X_ATFILE_SOURCE = 1 20 X_BITS_ENDIANNESS_H = 1 21 X_BITS_ENDIAN_H = 1 22 X_BITS_TIME64_H = 1 23 X_BITS_TYPESIZES_H = 1 24 X_BITS_TYPES_H = 1 25 X_BITS_TYPES_LOCALE_T_H = 1 26 X_BITS_TYPES___LOCALE_T_H = 1 27 X_BITS_WCTYPE_WCHAR_H = 1 28 X_DEFAULT_SOURCE = 1 29 X_FEATURES_H = 1 30 X_FILE_OFFSET_BITS = 64 31 X_ILP32 = 1 32 X_POSIX_C_SOURCE = 200809 33 X_POSIX_SOURCE = 1 34 X_STDC_PREDEF_H = 1 35 X_SYS_CDEFS_H = 1 36 X_WCTYPE_H = 1 37 X_WINT_T = 1 38 I386 = 1 39 Linux = 1 40 Unix = 1 41 ) 42 43 // The characteristics are stored always in network byte order (big 44 // endian). We define the bit value interpretations here dependent on the 45 // machine's byte order. 46 47 // Endian macros for string.h functions 48 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 49 // This file is part of the GNU C Library. 50 // 51 // The GNU C Library is free software; you can redistribute it and/or 52 // modify it under the terms of the GNU Lesser General Public 53 // License as published by the Free Software Foundation; either 54 // version 2.1 of the License, or (at your option) any later version. 55 // 56 // The GNU C Library is distributed in the hope that it will be useful, 57 // but WITHOUT ANY WARRANTY; without even the implied warranty of 58 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 59 // Lesser General Public License for more details. 60 // 61 // You should have received a copy of the GNU Lesser General Public 62 // License along with the GNU C Library; if not, see 63 // <http://www.gnu.org/licenses/>. 64 65 // Definitions for byte order, according to significance of bytes, 66 // from low addresses to high addresses. The value is what you get by 67 // putting '4' in the most significant byte, '3' in the second most 68 // significant byte, '2' in the second least significant byte, and '1' 69 // in the least significant byte, and then writing down one digit for 70 // each byte, starting with the byte at the lowest address at the left, 71 // and proceeding to the byte with the highest address at the right. 72 73 // This file defines `__BYTE_ORDER' for the particular machine. 74 75 // i386/x86_64 are little-endian. 76 77 // Some machines may need to use a different endianness for floating point 78 // values. 79 80 const ( /* wctype-wchar.h:56:1: */ 81 X__ISwupper = 0 // UPPERCASE. 82 X__ISwlower = 1 // lowercase. 83 X__ISwalpha = 2 // Alphabetic. 84 X__ISwdigit = 3 // Numeric. 85 X__ISwxdigit = 4 // Hexadecimal numeric. 86 X__ISwspace = 5 // Whitespace. 87 X__ISwprint = 6 // Printing. 88 X__ISwgraph = 7 // Graphical. 89 X__ISwblank = 8 // Blank (usually SPC and TAB). 90 X__ISwcntrl = 9 // Control character. 91 X__ISwpunct = 10 // Punctuation. 92 X__ISwalnum = 11 // Alphanumeric. 93 94 X_ISwupper = 16777216 // UPPERCASE. 95 X_ISwlower = 33554432 // lowercase. 96 X_ISwalpha = 67108864 // Alphabetic. 97 X_ISwdigit = 134217728 // Numeric. 98 X_ISwxdigit = 268435456 // Hexadecimal numeric. 99 X_ISwspace = 536870912 // Whitespace. 100 X_ISwprint = 1073741824 // Printing. 101 X_ISwgraph = -2147483648 // Graphical. 102 X_ISwblank = 65536 // Blank (usually SPC and TAB). 103 X_ISwcntrl = 131072 // Control character. 104 X_ISwpunct = 262144 // Punctuation. 105 X_ISwalnum = 524288 106 ) 107 108 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 109 110 type Size_t = uint32 /* <builtin>:9:23 */ 111 112 type Wchar_t = int32 /* <builtin>:15:24 */ 113 114 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 115 type X__float128 = float64 /* <builtin>:47:21 */ 116 117 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 118 // This file is part of the GNU C Library. 119 // 120 // The GNU C Library is free software; you can redistribute it and/or 121 // modify it under the terms of the GNU Lesser General Public 122 // License as published by the Free Software Foundation; either 123 // version 2.1 of the License, or (at your option) any later version. 124 // 125 // The GNU C Library is distributed in the hope that it will be useful, 126 // but WITHOUT ANY WARRANTY; without even the implied warranty of 127 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 128 // Lesser General Public License for more details. 129 // 130 // You should have received a copy of the GNU Lesser General Public 131 // License along with the GNU C Library; if not, see 132 // <https://www.gnu.org/licenses/>. 133 134 // ISO C99 Standard: 7.25 135 // Wide character classification and mapping utilities <wctype.h> 136 137 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 138 // This file is part of the GNU C Library. 139 // 140 // The GNU C Library is free software; you can redistribute it and/or 141 // modify it under the terms of the GNU Lesser General Public 142 // License as published by the Free Software Foundation; either 143 // version 2.1 of the License, or (at your option) any later version. 144 // 145 // The GNU C Library is distributed in the hope that it will be useful, 146 // but WITHOUT ANY WARRANTY; without even the implied warranty of 147 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 148 // Lesser General Public License for more details. 149 // 150 // You should have received a copy of the GNU Lesser General Public 151 // License along with the GNU C Library; if not, see 152 // <https://www.gnu.org/licenses/>. 153 154 // These are defined by the user (or the compiler) 155 // to specify the desired environment: 156 // 157 // __STRICT_ANSI__ ISO Standard C. 158 // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99. 159 // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11. 160 // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X. 161 // __STDC_WANT_LIB_EXT2__ 162 // Extensions to ISO C99 from TR 27431-2:2010. 163 // __STDC_WANT_IEC_60559_BFP_EXT__ 164 // Extensions to ISO C11 from TS 18661-1:2014. 165 // __STDC_WANT_IEC_60559_FUNCS_EXT__ 166 // Extensions to ISO C11 from TS 18661-4:2015. 167 // __STDC_WANT_IEC_60559_TYPES_EXT__ 168 // Extensions to ISO C11 from TS 18661-3:2015. 169 // 170 // _POSIX_SOURCE IEEE Std 1003.1. 171 // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; 172 // if >=199309L, add IEEE Std 1003.1b-1993; 173 // if >=199506L, add IEEE Std 1003.1c-1995; 174 // if >=200112L, all of IEEE 1003.1-2004 175 // if >=200809L, all of IEEE 1003.1-2008 176 // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if 177 // Single Unix conformance is wanted, to 600 for the 178 // sixth revision, to 700 for the seventh revision. 179 // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. 180 // _LARGEFILE_SOURCE Some more functions for correct standard I/O. 181 // _LARGEFILE64_SOURCE Additional functionality from LFS for large files. 182 // _FILE_OFFSET_BITS=N Select default filesystem interface. 183 // _ATFILE_SOURCE Additional *at interfaces. 184 // _GNU_SOURCE All of the above, plus GNU extensions. 185 // _DEFAULT_SOURCE The default set of features (taking precedence over 186 // __STRICT_ANSI__). 187 // 188 // _FORTIFY_SOURCE Add security hardening to many library functions. 189 // Set to 1 or 2; 2 performs stricter checks than 1. 190 // 191 // _REENTRANT, _THREAD_SAFE 192 // Obsolete; equivalent to _POSIX_C_SOURCE=199506L. 193 // 194 // The `-ansi' switch to the GNU C compiler, and standards conformance 195 // options such as `-std=c99', define __STRICT_ANSI__. If none of 196 // these are defined, or if _DEFAULT_SOURCE is defined, the default is 197 // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to 198 // 200809L, as well as enabling miscellaneous functions from BSD and 199 // SVID. If more than one of these are defined, they accumulate. For 200 // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together 201 // give you ISO C, 1003.1, and 1003.2, but nothing else. 202 // 203 // These are defined by this file and are used by the 204 // header files to decide what to declare or define: 205 // 206 // __GLIBC_USE (F) Define things from feature set F. This is defined 207 // to 1 or 0; the subsequent macros are either defined 208 // or undefined, and those tests should be moved to 209 // __GLIBC_USE. 210 // __USE_ISOC11 Define ISO C11 things. 211 // __USE_ISOC99 Define ISO C99 things. 212 // __USE_ISOC95 Define ISO C90 AMD1 (C95) things. 213 // __USE_ISOCXX11 Define ISO C++11 things. 214 // __USE_POSIX Define IEEE Std 1003.1 things. 215 // __USE_POSIX2 Define IEEE Std 1003.2 things. 216 // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. 217 // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things. 218 // __USE_XOPEN Define XPG things. 219 // __USE_XOPEN_EXTENDED Define X/Open Unix things. 220 // __USE_UNIX98 Define Single Unix V2 things. 221 // __USE_XOPEN2K Define XPG6 things. 222 // __USE_XOPEN2KXSI Define XPG6 XSI things. 223 // __USE_XOPEN2K8 Define XPG7 things. 224 // __USE_XOPEN2K8XSI Define XPG7 XSI things. 225 // __USE_LARGEFILE Define correct standard I/O things. 226 // __USE_LARGEFILE64 Define LFS things with separate names. 227 // __USE_FILE_OFFSET64 Define 64bit interface as default. 228 // __USE_MISC Define things from 4.3BSD or System V Unix. 229 // __USE_ATFILE Define *at interfaces and AT_* constants for them. 230 // __USE_GNU Define GNU extensions. 231 // __USE_FORTIFY_LEVEL Additional security measures used, according to level. 232 // 233 // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are 234 // defined by this file unconditionally. `__GNU_LIBRARY__' is provided 235 // only for compatibility. All new code should use the other symbols 236 // to test for features. 237 // 238 // All macros listed above as possibly being defined by this file are 239 // explicitly undefined if they are not explicitly defined. 240 // Feature-test macros that are not defined by the user or compiler 241 // but are implied by the other feature-test macros defined (or by the 242 // lack of any definitions) are defined by the file. 243 // 244 // ISO C feature test macros depend on the definition of the macro 245 // when an affected header is included, not when the first system 246 // header is included, and so they are handled in 247 // <bits/libc-header-start.h>, which does not have a multiple include 248 // guard. Feature test macros that can be handled from the first 249 // system header included are handled here. 250 251 // Undefine everything, so we get a clean slate. 252 253 // Suppress kernel-name space pollution unless user expressedly asks 254 // for it. 255 256 // Convenience macro to test the version of gcc. 257 // Use like this: 258 // #if __GNUC_PREREQ (2,8) 259 // ... code requiring gcc 2.8 or later ... 260 // #endif 261 // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was 262 // added in 2.0. 263 264 // Similarly for clang. Features added to GCC after version 4.2 may 265 // or may not also be available in clang, and clang's definitions of 266 // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such 267 // features can be queried via __has_extension/__has_feature. 268 269 // Whether to use feature set F. 270 271 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for 272 // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not 273 // issue a warning; the expectation is that the source is being 274 // transitioned to use the new macro. 275 276 // If _GNU_SOURCE was defined by the user, turn on all the other features. 277 278 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, 279 // define _DEFAULT_SOURCE. 280 281 // This is to enable the ISO C2X extension. 282 283 // This is to enable the ISO C11 extension. 284 285 // This is to enable the ISO C99 extension. 286 287 // This is to enable the ISO C90 Amendment 1:1995 extension. 288 289 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE 290 // is defined, use POSIX.1-2008 (or another version depending on 291 // _XOPEN_SOURCE). 292 293 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be 294 // defined in all multithreaded code. GNU libc has not required this 295 // for many years. We now treat them as compatibility synonyms for 296 // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with 297 // comprehensive support for multithreaded code. Using them never 298 // lowers the selected level of POSIX conformance, only raises it. 299 300 // The function 'gets' existed in C89, but is impossible to use 301 // safely. It has been removed from ISO C11 and ISO C++14. Note: for 302 // compatibility with various implementations of <cstdio>, this test 303 // must consider only the value of __cplusplus when compiling C++. 304 305 // GNU formerly extended the scanf functions with modified format 306 // specifiers %as, %aS, and %a[...] that allocate a buffer for the 307 // input using malloc. This extension conflicts with ISO C99, which 308 // defines %a as a standalone format specifier that reads a floating- 309 // point number; moreover, POSIX.1-2008 provides the same feature 310 // using the modifier letter 'm' instead (%ms, %mS, %m[...]). 311 // 312 // We now follow C99 unless GNU extensions are active and the compiler 313 // is specifically in C89 or C++98 mode (strict or not). For 314 // instance, with GCC, -std=gnu11 will have C99-compliant scanf with 315 // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the 316 // old extension. 317 318 // Get definitions of __STDC_* predefined macros, if the compiler has 319 // not preincluded this header automatically. 320 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 321 // This file is part of the GNU C Library. 322 // 323 // The GNU C Library is free software; you can redistribute it and/or 324 // modify it under the terms of the GNU Lesser General Public 325 // License as published by the Free Software Foundation; either 326 // version 2.1 of the License, or (at your option) any later version. 327 // 328 // The GNU C Library is distributed in the hope that it will be useful, 329 // but WITHOUT ANY WARRANTY; without even the implied warranty of 330 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 331 // Lesser General Public License for more details. 332 // 333 // You should have received a copy of the GNU Lesser General Public 334 // License along with the GNU C Library; if not, see 335 // <https://www.gnu.org/licenses/>. 336 337 // This macro indicates that the installed library is the GNU C Library. 338 // For historic reasons the value now is 6 and this will stay from now 339 // on. The use of this variable is deprecated. Use __GLIBC__ and 340 // __GLIBC_MINOR__ now (see below) when you want to test for a specific 341 // GNU C library version and use the values in <gnu/lib-names.h> to get 342 // the sonames of the shared libraries. 343 344 // Major and minor version number of the GNU C library package. Use 345 // these macros to test for features in specific releases. 346 347 // This is here only because every header file already includes this one. 348 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 349 // This file is part of the GNU C Library. 350 // 351 // The GNU C Library is free software; you can redistribute it and/or 352 // modify it under the terms of the GNU Lesser General Public 353 // License as published by the Free Software Foundation; either 354 // version 2.1 of the License, or (at your option) any later version. 355 // 356 // The GNU C Library is distributed in the hope that it will be useful, 357 // but WITHOUT ANY WARRANTY; without even the implied warranty of 358 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 359 // Lesser General Public License for more details. 360 // 361 // You should have received a copy of the GNU Lesser General Public 362 // License along with the GNU C Library; if not, see 363 // <https://www.gnu.org/licenses/>. 364 365 // We are almost always included from features.h. 366 367 // The GNU libc does not support any K&R compilers or the traditional mode 368 // of ISO C compilers anymore. Check for some of the combinations not 369 // anymore supported. 370 371 // Some user header file might have defined this before. 372 373 // All functions, except those with callbacks or those that 374 // synchronize memory, are leaf functions. 375 376 // GCC can always grok prototypes. For C++ programs we add throw() 377 // to help it optimize the function calls. But this works only with 378 // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions 379 // as non-throwing using a function attribute since programs can use 380 // the -fexceptions options for C code as well. 381 382 // Compilers that are not clang may object to 383 // #if defined __clang__ && __has_extension(...) 384 // even though they do not need to evaluate the right-hand side of the &&. 385 386 // These two macros are not used in glibc anymore. They are kept here 387 // only because some other projects expect the macros to be defined. 388 389 // For these things, GCC behaves the ANSI way normally, 390 // and the non-ANSI way under -traditional. 391 392 // This is not a typedef so `const __ptr_t' does the right thing. 393 394 // C++ needs to know that types and declarations are C, not C++. 395 396 // Fortify support. 397 398 // Support for flexible arrays. 399 // Headers that should use flexible arrays only if they're "real" 400 // (e.g. only if they won't affect sizeof()) should test 401 // #if __glibc_c99_flexarr_available. 402 403 // __asm__ ("xyz") is used throughout the headers to rename functions 404 // at the assembly language level. This is wrapped by the __REDIRECT 405 // macro, in order to support compilers that can do this some other 406 // way. When compilers don't support asm-names at all, we have to do 407 // preprocessor tricks instead (which don't have exactly the right 408 // semantics, but it's the best we can do). 409 // 410 // Example: 411 // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); 412 413 // 414 // #elif __SOME_OTHER_COMPILER__ 415 // 416 // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias) 417 418 // GCC has various useful declarations that can be made with the 419 // `__attribute__' syntax. All of the ways we use this do fine if 420 // they are omitted for compilers that don't understand it. 421 422 // At some point during the gcc 2.96 development the `malloc' attribute 423 // for functions was introduced. We don't want to use it unconditionally 424 // (although this would be possible) since it generates warnings. 425 426 // Tell the compiler which arguments to an allocation function 427 // indicate the size of the allocation. 428 429 // At some point during the gcc 2.96 development the `pure' attribute 430 // for functions was introduced. We don't want to use it unconditionally 431 // (although this would be possible) since it generates warnings. 432 433 // This declaration tells the compiler that the value is constant. 434 435 // At some point during the gcc 3.1 development the `used' attribute 436 // for functions was introduced. We don't want to use it unconditionally 437 // (although this would be possible) since it generates warnings. 438 439 // Since version 3.2, gcc allows marking deprecated functions. 440 441 // Since version 4.5, gcc also allows one to specify the message printed 442 // when a deprecated function is used. clang claims to be gcc 4.2, but 443 // may also support this feature. 444 445 // At some point during the gcc 2.8 development the `format_arg' attribute 446 // for functions was introduced. We don't want to use it unconditionally 447 // (although this would be possible) since it generates warnings. 448 // If several `format_arg' attributes are given for the same function, in 449 // gcc-3.0 and older, all but the last one are ignored. In newer gccs, 450 // all designated arguments are considered. 451 452 // At some point during the gcc 2.97 development the `strfmon' format 453 // attribute for functions was introduced. We don't want to use it 454 // unconditionally (although this would be possible) since it 455 // generates warnings. 456 457 // The nonull function attribute allows to mark pointer parameters which 458 // must not be NULL. 459 460 // If fortification mode, we warn about unused results of certain 461 // function calls which can lead to problems. 462 463 // Forces a function to be always inlined. 464 // The Linux kernel defines __always_inline in stddef.h (283d7573), and 465 // it conflicts with this definition. Therefore undefine it first to 466 // allow either header to be included first. 467 468 // Associate error messages with the source location of the call site rather 469 // than with the source location inside the function. 470 471 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 472 // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ 473 // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions 474 // older than 4.3 may define these macros and still not guarantee GNU inlining 475 // semantics. 476 // 477 // clang++ identifies itself as gcc-4.2, but has support for GNU inlining 478 // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and 479 // __GNUC_GNU_INLINE__ macro definitions. 480 481 // GCC 4.3 and above allow passing all anonymous arguments of an 482 // __extern_always_inline function to some other vararg function. 483 484 // It is possible to compile containing GCC extensions even if GCC is 485 // run in pedantic mode if the uses are carefully marked using the 486 // `__extension__' keyword. But this is not generally available before 487 // version 2.8. 488 489 // __restrict is known in EGCS 1.2 and above. 490 491 // ISO C99 also allows to declare arrays as non-overlapping. The syntax is 492 // array_name[restrict] 493 // GCC 3.1 supports this. 494 495 // Describes a char array whose address can safely be passed as the first 496 // argument to strncpy and strncat, as the char array is not necessarily 497 // a NUL-terminated string. 498 499 // Undefine (also defined in libc-symbols.h). 500 // Copies attributes from the declaration or type referenced by 501 // the argument. 502 503 // Determine the wordsize from the preprocessor defines. 504 505 // Properties of long double type. ldbl-96 version. 506 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 507 // This file is part of the GNU C Library. 508 // 509 // The GNU C Library is free software; you can redistribute it and/or 510 // modify it under the terms of the GNU Lesser General Public 511 // License published by the Free Software Foundation; either 512 // version 2.1 of the License, or (at your option) any later version. 513 // 514 // The GNU C Library is distributed in the hope that it will be useful, 515 // but WITHOUT ANY WARRANTY; without even the implied warranty of 516 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 517 // Lesser General Public License for more details. 518 // 519 // You should have received a copy of the GNU Lesser General Public 520 // License along with the GNU C Library; if not, see 521 // <https://www.gnu.org/licenses/>. 522 523 // long double is distinct from double, so there is nothing to 524 // define here. 525 526 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is 527 // intended for use in preprocessor macros. 528 // 529 // Note: MESSAGE must be a _single_ string; concatenation of string 530 // literals is not supported. 531 532 // Generic selection (ISO C11) is a C-only feature, available in GCC 533 // since version 4.9. Previous versions do not provide generic 534 // selection, even though they might set __STDC_VERSION__ to 201112L, 535 // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ 536 // when testing __STDC_VERSION__ for generic selection support. 537 // On the other hand, Clang also defines __GNUC__, so a clang-specific 538 // check is required to enable the use of generic selection. 539 540 // If we don't have __REDIRECT, prototypes will be missing if 541 // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. 542 543 // Decide whether we can define 'extern inline' functions in headers. 544 545 // This is here only because every header file already includes this one. 546 // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. 547 // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub 548 // that will always return failure (and set errno to ENOSYS). 549 // This file is automatically generated. 550 // This file selects the right generated file of `__stub_FUNCTION' macros 551 // based on the architecture being compiled for. 552 553 // This file is automatically generated. 554 // It defines a symbol `__stub_FUNCTION' for each function 555 // in the C library which is a stub, meaning it will fail 556 // every time called, usually setting errno to ENOSYS. 557 558 // bits/types.h -- definitions of __*_t types underlying *_t types. 559 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 560 // This file is part of the GNU C Library. 561 // 562 // The GNU C Library is free software; you can redistribute it and/or 563 // modify it under the terms of the GNU Lesser General Public 564 // License as published by the Free Software Foundation; either 565 // version 2.1 of the License, or (at your option) any later version. 566 // 567 // The GNU C Library is distributed in the hope that it will be useful, 568 // but WITHOUT ANY WARRANTY; without even the implied warranty of 569 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 570 // Lesser General Public License for more details. 571 // 572 // You should have received a copy of the GNU Lesser General Public 573 // License along with the GNU C Library; if not, see 574 // <https://www.gnu.org/licenses/>. 575 576 // Never include this file directly; use <sys/types.h> instead. 577 578 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 579 // This file is part of the GNU C Library. 580 // 581 // The GNU C Library is free software; you can redistribute it and/or 582 // modify it under the terms of the GNU Lesser General Public 583 // License as published by the Free Software Foundation; either 584 // version 2.1 of the License, or (at your option) any later version. 585 // 586 // The GNU C Library is distributed in the hope that it will be useful, 587 // but WITHOUT ANY WARRANTY; without even the implied warranty of 588 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 589 // Lesser General Public License for more details. 590 // 591 // You should have received a copy of the GNU Lesser General Public 592 // License along with the GNU C Library; if not, see 593 // <https://www.gnu.org/licenses/>. 594 595 // Determine the wordsize from the preprocessor defines. 596 597 // Bit size of the time_t type at glibc build time, x86-64 and x32 case. 598 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 599 // This file is part of the GNU C Library. 600 // 601 // The GNU C Library is free software; you can redistribute it and/or 602 // modify it under the terms of the GNU Lesser General Public 603 // License as published by the Free Software Foundation; either 604 // version 2.1 of the License, or (at your option) any later version. 605 // 606 // The GNU C Library is distributed in the hope that it will be useful, 607 // but WITHOUT ANY WARRANTY; without even the implied warranty of 608 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 609 // Lesser General Public License for more details. 610 // 611 // You should have received a copy of the GNU Lesser General Public 612 // License along with the GNU C Library; if not, see 613 // <https://www.gnu.org/licenses/>. 614 615 // For others, time size is word size. 616 617 // Convenience types. 618 type X__u_char = uint8 /* types.h:31:23 */ 619 type X__u_short = uint16 /* types.h:32:28 */ 620 type X__u_int = uint32 /* types.h:33:22 */ 621 type X__u_long = uint32 /* types.h:34:27 */ 622 623 // Fixed-size types, underlying types depend on word size and compiler. 624 type X__int8_t = int8 /* types.h:37:21 */ 625 type X__uint8_t = uint8 /* types.h:38:23 */ 626 type X__int16_t = int16 /* types.h:39:26 */ 627 type X__uint16_t = uint16 /* types.h:40:28 */ 628 type X__int32_t = int32 /* types.h:41:20 */ 629 type X__uint32_t = uint32 /* types.h:42:22 */ 630 type X__int64_t = int64 /* types.h:47:44 */ 631 type X__uint64_t = uint64 /* types.h:48:46 */ 632 633 // Smallest types with at least a given width. 634 type X__int_least8_t = X__int8_t /* types.h:52:18 */ 635 type X__uint_least8_t = X__uint8_t /* types.h:53:19 */ 636 type X__int_least16_t = X__int16_t /* types.h:54:19 */ 637 type X__uint_least16_t = X__uint16_t /* types.h:55:20 */ 638 type X__int_least32_t = X__int32_t /* types.h:56:19 */ 639 type X__uint_least32_t = X__uint32_t /* types.h:57:20 */ 640 type X__int_least64_t = X__int64_t /* types.h:58:19 */ 641 type X__uint_least64_t = X__uint64_t /* types.h:59:20 */ 642 643 // quad_t is also 64 bits. 644 type X__quad_t = int64 /* types.h:66:37 */ 645 type X__u_quad_t = uint64 /* types.h:67:46 */ 646 647 // Largest integral types. 648 type X__intmax_t = int64 /* types.h:75:37 */ 649 type X__uintmax_t = uint64 /* types.h:76:46 */ 650 651 // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE 652 // macros for each of the OS types we define below. The definitions 653 // of those macros must use the following macros for underlying types. 654 // We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned 655 // variants of each of the following integer types on this machine. 656 // 657 // 16 -- "natural" 16-bit type (always short) 658 // 32 -- "natural" 32-bit type (always int) 659 // 64 -- "natural" 64-bit type (long or long long) 660 // LONG32 -- 32-bit type, traditionally long 661 // QUAD -- 64-bit type, traditionally long long 662 // WORD -- natural type of __WORDSIZE bits (int or long) 663 // LONGWORD -- type of __WORDSIZE bits, traditionally long 664 // 665 // We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the 666 // conventional uses of `long' or `long long' type modifiers match the 667 // types we define, even when a less-adorned type would be the same size. 668 // This matters for (somewhat) portably writing printf/scanf formats for 669 // these types, where using the appropriate l or ll format modifiers can 670 // make the typedefs and the formats match up across all GNU platforms. If 671 // we used `long' when it's 64 bits where `long long' is expected, then the 672 // compiler would warn about the formats not matching the argument types, 673 // and the programmer changing them to shut up the compiler would break the 674 // program's portability. 675 // 676 // Here we assume what is presently the case in all the GCC configurations 677 // we support: long long is always 64 bits, long is always word/address size, 678 // and int is always 32 bits. 679 680 // We want __extension__ before typedef's that use nonstandard base types 681 // such as `long long' in C89 mode. 682 // bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. 683 // Copyright (C) 2012-2020 Free Software Foundation, Inc. 684 // This file is part of the GNU C Library. 685 // 686 // The GNU C Library is free software; you can redistribute it and/or 687 // modify it under the terms of the GNU Lesser General Public 688 // License as published by the Free Software Foundation; either 689 // version 2.1 of the License, or (at your option) any later version. 690 // 691 // The GNU C Library is distributed in the hope that it will be useful, 692 // but WITHOUT ANY WARRANTY; without even the implied warranty of 693 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 694 // Lesser General Public License for more details. 695 // 696 // You should have received a copy of the GNU Lesser General Public 697 // License along with the GNU C Library; if not, see 698 // <https://www.gnu.org/licenses/>. 699 700 // See <bits/types.h> for the meaning of these macros. This file exists so 701 // that <bits/types.h> need not vary across different GNU platforms. 702 703 // X32 kernel interface is 64-bit. 704 705 // Number of descriptors that can fit in an `fd_set'. 706 707 // bits/time64.h -- underlying types for __time64_t. Generic version. 708 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 709 // This file is part of the GNU C Library. 710 // 711 // The GNU C Library is free software; you can redistribute it and/or 712 // modify it under the terms of the GNU Lesser General Public 713 // License as published by the Free Software Foundation; either 714 // version 2.1 of the License, or (at your option) any later version. 715 // 716 // The GNU C Library is distributed in the hope that it will be useful, 717 // but WITHOUT ANY WARRANTY; without even the implied warranty of 718 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 719 // Lesser General Public License for more details. 720 // 721 // You should have received a copy of the GNU Lesser General Public 722 // License along with the GNU C Library; if not, see 723 // <https://www.gnu.org/licenses/>. 724 725 // Define __TIME64_T_TYPE so that it is always a 64-bit type. 726 727 // Define a 64-bit time type alongsize the 32-bit one. 728 729 type X__dev_t = X__uint64_t /* types.h:145:25 */ // Type of device numbers. 730 type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications. 731 type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications. 732 type X__ino_t = uint32 /* types.h:148:25 */ // Type of file serial numbers. 733 type X__ino64_t = X__uint64_t /* types.h:149:27 */ // Type of file serial numbers (LFS). 734 type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks. 735 type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts. 736 type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets. 737 type X__off64_t = X__int64_t /* types.h:153:27 */ // Type of file sizes and offsets (LFS). 738 type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications. 739 type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. 740 type X__clock_t = int32 /* types.h:156:27 */ // Type of CPU usage counts. 741 type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement. 742 type X__rlim64_t = X__uint64_t /* types.h:158:28 */ // Type for resource measurement (LFS). 743 type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs. 744 type X__time_t = int32 /* types.h:160:26 */ // Seconds since the Epoch. 745 type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds. 746 type X__suseconds_t = int32 /* types.h:162:31 */ // Signed count of microseconds. 747 748 type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address. 749 type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key. 750 751 // Clock ID used in clock and timer functions. 752 type X__clockid_t = int32 /* types.h:168:29 */ 753 754 // Timer ID returned by `timer_create'. 755 type X__timer_t = uintptr /* types.h:171:12 */ 756 757 // Type to represent block size. 758 type X__blksize_t = int32 /* types.h:174:29 */ 759 760 // Types from the Large File Support interface. 761 762 // Type to count number of disk blocks. 763 type X__blkcnt_t = int32 /* types.h:179:28 */ 764 type X__blkcnt64_t = X__int64_t /* types.h:180:30 */ 765 766 // Type to count file system blocks. 767 type X__fsblkcnt_t = uint32 /* types.h:183:30 */ 768 type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */ 769 770 // Type to count file system nodes. 771 type X__fsfilcnt_t = uint32 /* types.h:187:30 */ 772 type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */ 773 774 // Type of miscellaneous file system fields. 775 type X__fsword_t = int32 /* types.h:191:28 */ 776 777 type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error. 778 779 // Signed long type used in system calls. 780 type X__syscall_slong_t = int32 /* types.h:196:33 */ 781 // Unsigned long type used in system calls. 782 type X__syscall_ulong_t = uint32 /* types.h:198:33 */ 783 784 // These few don't really vary by system, they always correspond 785 // 786 // to one of the other defined types. 787 type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS). 788 type X__caddr_t = uintptr /* types.h:203:14 */ 789 790 // Duplicates info from stdint.h but this is used in unistd.h. 791 type X__intptr_t = int32 /* types.h:206:25 */ 792 793 // Duplicate info from sys/socket.h. 794 type X__socklen_t = uint32 /* types.h:209:23 */ 795 796 // C99: An integer type that can be accessed as an atomic entity, 797 // 798 // even in the presence of asynchronous interrupts. 799 // It is not currently necessary for this to be machine-specific. 800 type X__sig_atomic_t = int32 /* types.h:214:13 */ 801 802 // Seconds since the Epoch, visible to user code when time_t is too 803 // 804 // narrow only for consistency with the old way of widening too-narrow 805 // types. User code should never use __time64_t. 806 type X__time64_t = X__int64_t /* types.h:222:28 */ 807 808 // Some versions of stddef.h provide wint_t, even though neither the 809 // C nor C++ standards, nor POSIX, specifies this. We assume that 810 // stddef.h will define the macro _WINT_T if and only if it provides 811 // wint_t, and conversely, that it will avoid providing wint_t if 812 // _WINT_T is already defined. 813 814 // Integral type unchanged by default argument promotions that can 815 // hold any value corresponding to members of the extended character 816 // set, as well as at least one value that does not correspond to any 817 // member of the extended character set. 818 819 type Wint_t = uint32 /* wint_t.h:20:23 */ 820 821 // Constant expression of type `wint_t' whose value does not correspond 822 // to any member of the extended character set. 823 824 // Some definitions from this header also appear in <wchar.h> in 825 // Unix98 mode. 826 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 827 // This file is part of the GNU C Library. 828 // 829 // The GNU C Library is free software; you can redistribute it and/or 830 // modify it under the terms of the GNU Lesser General Public 831 // License as published by the Free Software Foundation; either 832 // version 2.1 of the License, or (at your option) any later version. 833 // 834 // The GNU C Library is distributed in the hope that it will be useful, 835 // but WITHOUT ANY WARRANTY; without even the implied warranty of 836 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 837 // Lesser General Public License for more details. 838 // 839 // You should have received a copy of the GNU Lesser General Public 840 // License along with the GNU C Library; if not, see 841 // <https://www.gnu.org/licenses/>. 842 843 // ISO C99 Standard: 7.25 844 // Wide character classification and mapping utilities <wctype.h> 845 846 // bits/types.h -- definitions of __*_t types underlying *_t types. 847 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 848 // This file is part of the GNU C Library. 849 // 850 // The GNU C Library is free software; you can redistribute it and/or 851 // modify it under the terms of the GNU Lesser General Public 852 // License as published by the Free Software Foundation; either 853 // version 2.1 of the License, or (at your option) any later version. 854 // 855 // The GNU C Library is distributed in the hope that it will be useful, 856 // but WITHOUT ANY WARRANTY; without even the implied warranty of 857 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 858 // Lesser General Public License for more details. 859 // 860 // You should have received a copy of the GNU Lesser General Public 861 // License along with the GNU C Library; if not, see 862 // <https://www.gnu.org/licenses/>. 863 864 // Never include this file directly; use <sys/types.h> instead. 865 866 // The definitions in this header are specified to appear in <wctype.h> 867 // in ISO C99, but in <wchar.h> in Unix98. _GNU_SOURCE follows C99. 868 869 // Scalar type that can hold values which represent locale-specific 870 // 871 // character classifications. 872 type Wctype_t = uint32 /* wctype-wchar.h:38:27 */ 873 874 // Extensible wide-character mapping functions: 7.15.3.2. 875 876 // Scalar type that can hold values which represent locale-specific 877 // 878 // character mappings. 879 type Wctrans_t = uintptr /* wctype.h:48:25 */ 880 881 // POSIX.1-2008 extended locale interface (see locale.h). 882 // Definition of locale_t. 883 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 884 // This file is part of the GNU C Library. 885 // 886 // The GNU C Library is free software; you can redistribute it and/or 887 // modify it under the terms of the GNU Lesser General Public 888 // License as published by the Free Software Foundation; either 889 // version 2.1 of the License, or (at your option) any later version. 890 // 891 // The GNU C Library is distributed in the hope that it will be useful, 892 // but WITHOUT ANY WARRANTY; without even the implied warranty of 893 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 894 // Lesser General Public License for more details. 895 // 896 // You should have received a copy of the GNU Lesser General Public 897 // License along with the GNU C Library; if not, see 898 // <https://www.gnu.org/licenses/>. 899 900 // Definition of struct __locale_struct and __locale_t. 901 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 902 // This file is part of the GNU C Library. 903 // Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 904 // 905 // The GNU C Library is free software; you can redistribute it and/or 906 // modify it under the terms of the GNU Lesser General Public 907 // License as published by the Free Software Foundation; either 908 // version 2.1 of the License, or (at your option) any later version. 909 // 910 // The GNU C Library is distributed in the hope that it will be useful, 911 // but WITHOUT ANY WARRANTY; without even the implied warranty of 912 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 913 // Lesser General Public License for more details. 914 // 915 // You should have received a copy of the GNU Lesser General Public 916 // License along with the GNU C Library; if not, see 917 // <https://www.gnu.org/licenses/>. 918 919 // POSIX.1-2008: the locale_t type, representing a locale context 920 // (implementation-namespace version). This type should be treated 921 // as opaque by applications; some details are exposed for the sake of 922 // efficiency in e.g. ctype functions. 923 924 type X__locale_struct = struct { 925 F__locales [13]uintptr 926 F__ctype_b uintptr 927 F__ctype_tolower uintptr 928 F__ctype_toupper uintptr 929 F__names [13]uintptr 930 } /* __locale_t.h:28:1 */ 931 932 type X__locale_t = uintptr /* __locale_t.h:42:32 */ 933 934 type Locale_t = X__locale_t /* locale_t.h:24:20 */ 935 936 var _ int8 /* gen.c:2:13: */