github.com/afumu/libc@v0.0.6/sys/random/random_linux_amd64.go (about) 1 // Code generated by 'ccgo sys/random/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 sys/random/random_linux_amd64.go -pkgname random', DO NOT EDIT. 2 3 package random 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 BIG_ENDIAN = 4321 // endian.h:28:1: 19 BYTE_ORDER = 1234 // endian.h:30:1: 20 FD_SETSIZE = 1024 // select.h:73:1: 21 GRND_NONBLOCK = 0x01 // random.h:26:1: 22 GRND_RANDOM = 0x02 // random.h:27:1: 23 LITTLE_ENDIAN = 1234 // endian.h:27:1: 24 PDP_ENDIAN = 3412 // endian.h:29:1: 25 X_ATFILE_SOURCE = 1 // features.h:342:1: 26 X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: 27 X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: 28 X_BITS_ENDIAN_H = 1 // endian.h:20:1: 29 X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: 30 X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: 31 X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: 32 X_BITS_TIME64_H = 1 // time64.h:24:1: 33 X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: 34 X_BITS_TYPES_H = 1 // types.h:24:1: 35 X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: 36 X_BSD_SIZE_T_ = 0 // stddef.h:189:1: 37 X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: 38 X_DEFAULT_SOURCE = 1 // features.h:227:1: 39 X_ENDIAN_H = 1 // endian.h:19:1: 40 X_FEATURES_H = 1 // features.h:19:1: 41 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 42 X_GCC_SIZE_T = 0 // stddef.h:195:1: 43 X_LP64 = 1 // <predefined>:284:1: 44 X_POSIX_C_SOURCE = 200809 // features.h:281:1: 45 X_POSIX_SOURCE = 1 // features.h:279:1: 46 X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: 47 X_SIZET_ = 0 // stddef.h:196:1: 48 X_SIZE_T = 0 // stddef.h:183:1: 49 X_SIZE_T_ = 0 // stddef.h:188:1: 50 X_SIZE_T_DECLARED = 0 // stddef.h:193:1: 51 X_SIZE_T_DEFINED = 0 // stddef.h:191:1: 52 X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: 53 X_STDC_PREDEF_H = 1 // <predefined>:162:1: 54 X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: 55 X_SYS_CDEFS_H = 1 // cdefs.h:19:1: 56 X_SYS_RANDOM_H = 1 // random.h:20:1: 57 X_SYS_SELECT_H = 1 // select.h:22:1: 58 X_SYS_SIZE_T_H = 0 // stddef.h:184:1: 59 X_SYS_TYPES_H = 1 // types.h:23:1: 60 X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: 61 X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: 62 X_T_SIZE = 0 // stddef.h:186:1: 63 X_T_SIZE_ = 0 // stddef.h:185:1: 64 Linux = 1 // <predefined>:231:1: 65 Unix = 1 // <predefined>:177:1: 66 ) 67 68 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 69 70 type Size_t = uint64 /* <builtin>:9:23 */ 71 72 type Wchar_t = int32 /* <builtin>:15:24 */ 73 74 type X__int128_t = struct { 75 Flo int64 76 Fhi int64 77 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 78 type X__uint128_t = struct { 79 Flo uint64 80 Fhi uint64 81 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 82 83 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 84 type X__float128 = float64 /* <builtin>:47:21 */ 85 86 // Interfaces for obtaining random bytes. 87 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 88 // This file is part of the GNU C Library. 89 // 90 // The GNU C Library is free software; you can redistribute it and/or 91 // modify it under the terms of the GNU Lesser General Public 92 // License as published by the Free Software Foundation; either 93 // version 2.1 of the License, or (at your option) any later version. 94 // 95 // The GNU C Library is distributed in the hope that it will be useful, 96 // but WITHOUT ANY WARRANTY; without even the implied warranty of 97 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 98 // Lesser General Public License for more details. 99 // 100 // You should have received a copy of the GNU Lesser General Public 101 // License along with the GNU C Library; if not, see 102 // <https://www.gnu.org/licenses/>. 103 104 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 105 // This file is part of the GNU C Library. 106 // 107 // The GNU C Library is free software; you can redistribute it and/or 108 // modify it under the terms of the GNU Lesser General Public 109 // License as published by the Free Software Foundation; either 110 // version 2.1 of the License, or (at your option) any later version. 111 // 112 // The GNU C Library is distributed in the hope that it will be useful, 113 // but WITHOUT ANY WARRANTY; without even the implied warranty of 114 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 115 // Lesser General Public License for more details. 116 // 117 // You should have received a copy of the GNU Lesser General Public 118 // License along with the GNU C Library; if not, see 119 // <https://www.gnu.org/licenses/>. 120 121 // These are defined by the user (or the compiler) 122 // to specify the desired environment: 123 // 124 // __STRICT_ANSI__ ISO Standard C. 125 // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99. 126 // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11. 127 // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X. 128 // __STDC_WANT_LIB_EXT2__ 129 // Extensions to ISO C99 from TR 27431-2:2010. 130 // __STDC_WANT_IEC_60559_BFP_EXT__ 131 // Extensions to ISO C11 from TS 18661-1:2014. 132 // __STDC_WANT_IEC_60559_FUNCS_EXT__ 133 // Extensions to ISO C11 from TS 18661-4:2015. 134 // __STDC_WANT_IEC_60559_TYPES_EXT__ 135 // Extensions to ISO C11 from TS 18661-3:2015. 136 // 137 // _POSIX_SOURCE IEEE Std 1003.1. 138 // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; 139 // if >=199309L, add IEEE Std 1003.1b-1993; 140 // if >=199506L, add IEEE Std 1003.1c-1995; 141 // if >=200112L, all of IEEE 1003.1-2004 142 // if >=200809L, all of IEEE 1003.1-2008 143 // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if 144 // Single Unix conformance is wanted, to 600 for the 145 // sixth revision, to 700 for the seventh revision. 146 // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. 147 // _LARGEFILE_SOURCE Some more functions for correct standard I/O. 148 // _LARGEFILE64_SOURCE Additional functionality from LFS for large files. 149 // _FILE_OFFSET_BITS=N Select default filesystem interface. 150 // _ATFILE_SOURCE Additional *at interfaces. 151 // _GNU_SOURCE All of the above, plus GNU extensions. 152 // _DEFAULT_SOURCE The default set of features (taking precedence over 153 // __STRICT_ANSI__). 154 // 155 // _FORTIFY_SOURCE Add security hardening to many library functions. 156 // Set to 1 or 2; 2 performs stricter checks than 1. 157 // 158 // _REENTRANT, _THREAD_SAFE 159 // Obsolete; equivalent to _POSIX_C_SOURCE=199506L. 160 // 161 // The `-ansi' switch to the GNU C compiler, and standards conformance 162 // options such as `-std=c99', define __STRICT_ANSI__. If none of 163 // these are defined, or if _DEFAULT_SOURCE is defined, the default is 164 // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to 165 // 200809L, as well as enabling miscellaneous functions from BSD and 166 // SVID. If more than one of these are defined, they accumulate. For 167 // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together 168 // give you ISO C, 1003.1, and 1003.2, but nothing else. 169 // 170 // These are defined by this file and are used by the 171 // header files to decide what to declare or define: 172 // 173 // __GLIBC_USE (F) Define things from feature set F. This is defined 174 // to 1 or 0; the subsequent macros are either defined 175 // or undefined, and those tests should be moved to 176 // __GLIBC_USE. 177 // __USE_ISOC11 Define ISO C11 things. 178 // __USE_ISOC99 Define ISO C99 things. 179 // __USE_ISOC95 Define ISO C90 AMD1 (C95) things. 180 // __USE_ISOCXX11 Define ISO C++11 things. 181 // __USE_POSIX Define IEEE Std 1003.1 things. 182 // __USE_POSIX2 Define IEEE Std 1003.2 things. 183 // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. 184 // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things. 185 // __USE_XOPEN Define XPG things. 186 // __USE_XOPEN_EXTENDED Define X/Open Unix things. 187 // __USE_UNIX98 Define Single Unix V2 things. 188 // __USE_XOPEN2K Define XPG6 things. 189 // __USE_XOPEN2KXSI Define XPG6 XSI things. 190 // __USE_XOPEN2K8 Define XPG7 things. 191 // __USE_XOPEN2K8XSI Define XPG7 XSI things. 192 // __USE_LARGEFILE Define correct standard I/O things. 193 // __USE_LARGEFILE64 Define LFS things with separate names. 194 // __USE_FILE_OFFSET64 Define 64bit interface as default. 195 // __USE_MISC Define things from 4.3BSD or System V Unix. 196 // __USE_ATFILE Define *at interfaces and AT_* constants for them. 197 // __USE_GNU Define GNU extensions. 198 // __USE_FORTIFY_LEVEL Additional security measures used, according to level. 199 // 200 // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are 201 // defined by this file unconditionally. `__GNU_LIBRARY__' is provided 202 // only for compatibility. All new code should use the other symbols 203 // to test for features. 204 // 205 // All macros listed above as possibly being defined by this file are 206 // explicitly undefined if they are not explicitly defined. 207 // Feature-test macros that are not defined by the user or compiler 208 // but are implied by the other feature-test macros defined (or by the 209 // lack of any definitions) are defined by the file. 210 // 211 // ISO C feature test macros depend on the definition of the macro 212 // when an affected header is included, not when the first system 213 // header is included, and so they are handled in 214 // <bits/libc-header-start.h>, which does not have a multiple include 215 // guard. Feature test macros that can be handled from the first 216 // system header included are handled here. 217 218 // Undefine everything, so we get a clean slate. 219 220 // Suppress kernel-name space pollution unless user expressedly asks 221 // for it. 222 223 // Convenience macro to test the version of gcc. 224 // Use like this: 225 // #if __GNUC_PREREQ (2,8) 226 // ... code requiring gcc 2.8 or later ... 227 // #endif 228 // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was 229 // added in 2.0. 230 231 // Similarly for clang. Features added to GCC after version 4.2 may 232 // or may not also be available in clang, and clang's definitions of 233 // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such 234 // features can be queried via __has_extension/__has_feature. 235 236 // Whether to use feature set F. 237 238 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for 239 // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not 240 // issue a warning; the expectation is that the source is being 241 // transitioned to use the new macro. 242 243 // If _GNU_SOURCE was defined by the user, turn on all the other features. 244 245 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, 246 // define _DEFAULT_SOURCE. 247 248 // This is to enable the ISO C2X extension. 249 250 // This is to enable the ISO C11 extension. 251 252 // This is to enable the ISO C99 extension. 253 254 // This is to enable the ISO C90 Amendment 1:1995 extension. 255 256 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE 257 // is defined, use POSIX.1-2008 (or another version depending on 258 // _XOPEN_SOURCE). 259 260 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be 261 // defined in all multithreaded code. GNU libc has not required this 262 // for many years. We now treat them as compatibility synonyms for 263 // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with 264 // comprehensive support for multithreaded code. Using them never 265 // lowers the selected level of POSIX conformance, only raises it. 266 267 // The function 'gets' existed in C89, but is impossible to use 268 // safely. It has been removed from ISO C11 and ISO C++14. Note: for 269 // compatibility with various implementations of <cstdio>, this test 270 // must consider only the value of __cplusplus when compiling C++. 271 272 // GNU formerly extended the scanf functions with modified format 273 // specifiers %as, %aS, and %a[...] that allocate a buffer for the 274 // input using malloc. This extension conflicts with ISO C99, which 275 // defines %a as a standalone format specifier that reads a floating- 276 // point number; moreover, POSIX.1-2008 provides the same feature 277 // using the modifier letter 'm' instead (%ms, %mS, %m[...]). 278 // 279 // We now follow C99 unless GNU extensions are active and the compiler 280 // is specifically in C89 or C++98 mode (strict or not). For 281 // instance, with GCC, -std=gnu11 will have C99-compliant scanf with 282 // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the 283 // old extension. 284 285 // Get definitions of __STDC_* predefined macros, if the compiler has 286 // not preincluded this header automatically. 287 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 288 // This file is part of the GNU C Library. 289 // 290 // The GNU C Library is free software; you can redistribute it and/or 291 // modify it under the terms of the GNU Lesser General Public 292 // License as published by the Free Software Foundation; either 293 // version 2.1 of the License, or (at your option) any later version. 294 // 295 // The GNU C Library is distributed in the hope that it will be useful, 296 // but WITHOUT ANY WARRANTY; without even the implied warranty of 297 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 298 // Lesser General Public License for more details. 299 // 300 // You should have received a copy of the GNU Lesser General Public 301 // License along with the GNU C Library; if not, see 302 // <https://www.gnu.org/licenses/>. 303 304 // This macro indicates that the installed library is the GNU C Library. 305 // For historic reasons the value now is 6 and this will stay from now 306 // on. The use of this variable is deprecated. Use __GLIBC__ and 307 // __GLIBC_MINOR__ now (see below) when you want to test for a specific 308 // GNU C library version and use the values in <gnu/lib-names.h> to get 309 // the sonames of the shared libraries. 310 311 // Major and minor version number of the GNU C library package. Use 312 // these macros to test for features in specific releases. 313 314 // This is here only because every header file already includes this one. 315 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 316 // This file is part of the GNU C Library. 317 // 318 // The GNU C Library is free software; you can redistribute it and/or 319 // modify it under the terms of the GNU Lesser General Public 320 // License as published by the Free Software Foundation; either 321 // version 2.1 of the License, or (at your option) any later version. 322 // 323 // The GNU C Library is distributed in the hope that it will be useful, 324 // but WITHOUT ANY WARRANTY; without even the implied warranty of 325 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 326 // Lesser General Public License for more details. 327 // 328 // You should have received a copy of the GNU Lesser General Public 329 // License along with the GNU C Library; if not, see 330 // <https://www.gnu.org/licenses/>. 331 332 // We are almost always included from features.h. 333 334 // The GNU libc does not support any K&R compilers or the traditional mode 335 // of ISO C compilers anymore. Check for some of the combinations not 336 // anymore supported. 337 338 // Some user header file might have defined this before. 339 340 // All functions, except those with callbacks or those that 341 // synchronize memory, are leaf functions. 342 343 // GCC can always grok prototypes. For C++ programs we add throw() 344 // to help it optimize the function calls. But this works only with 345 // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions 346 // as non-throwing using a function attribute since programs can use 347 // the -fexceptions options for C code as well. 348 349 // Compilers that are not clang may object to 350 // #if defined __clang__ && __has_extension(...) 351 // even though they do not need to evaluate the right-hand side of the &&. 352 353 // These two macros are not used in glibc anymore. They are kept here 354 // only because some other projects expect the macros to be defined. 355 356 // For these things, GCC behaves the ANSI way normally, 357 // and the non-ANSI way under -traditional. 358 359 // This is not a typedef so `const __ptr_t' does the right thing. 360 361 // C++ needs to know that types and declarations are C, not C++. 362 363 // Fortify support. 364 365 // Support for flexible arrays. 366 // Headers that should use flexible arrays only if they're "real" 367 // (e.g. only if they won't affect sizeof()) should test 368 // #if __glibc_c99_flexarr_available. 369 370 // __asm__ ("xyz") is used throughout the headers to rename functions 371 // at the assembly language level. This is wrapped by the __REDIRECT 372 // macro, in order to support compilers that can do this some other 373 // way. When compilers don't support asm-names at all, we have to do 374 // preprocessor tricks instead (which don't have exactly the right 375 // semantics, but it's the best we can do). 376 // 377 // Example: 378 // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); 379 380 // 381 // #elif __SOME_OTHER_COMPILER__ 382 // 383 // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias) 384 385 // GCC has various useful declarations that can be made with the 386 // `__attribute__' syntax. All of the ways we use this do fine if 387 // they are omitted for compilers that don't understand it. 388 389 // At some point during the gcc 2.96 development the `malloc' attribute 390 // for functions was introduced. We don't want to use it unconditionally 391 // (although this would be possible) since it generates warnings. 392 393 // Tell the compiler which arguments to an allocation function 394 // indicate the size of the allocation. 395 396 // At some point during the gcc 2.96 development the `pure' attribute 397 // for functions was introduced. We don't want to use it unconditionally 398 // (although this would be possible) since it generates warnings. 399 400 // This declaration tells the compiler that the value is constant. 401 402 // At some point during the gcc 3.1 development the `used' attribute 403 // for functions was introduced. We don't want to use it unconditionally 404 // (although this would be possible) since it generates warnings. 405 406 // Since version 3.2, gcc allows marking deprecated functions. 407 408 // Since version 4.5, gcc also allows one to specify the message printed 409 // when a deprecated function is used. clang claims to be gcc 4.2, but 410 // may also support this feature. 411 412 // At some point during the gcc 2.8 development the `format_arg' attribute 413 // for functions was introduced. We don't want to use it unconditionally 414 // (although this would be possible) since it generates warnings. 415 // If several `format_arg' attributes are given for the same function, in 416 // gcc-3.0 and older, all but the last one are ignored. In newer gccs, 417 // all designated arguments are considered. 418 419 // At some point during the gcc 2.97 development the `strfmon' format 420 // attribute for functions was introduced. We don't want to use it 421 // unconditionally (although this would be possible) since it 422 // generates warnings. 423 424 // The nonull function attribute allows to mark pointer parameters which 425 // must not be NULL. 426 427 // If fortification mode, we warn about unused results of certain 428 // function calls which can lead to problems. 429 430 // Forces a function to be always inlined. 431 // The Linux kernel defines __always_inline in stddef.h (283d7573), and 432 // it conflicts with this definition. Therefore undefine it first to 433 // allow either header to be included first. 434 435 // Associate error messages with the source location of the call site rather 436 // than with the source location inside the function. 437 438 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 439 // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ 440 // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions 441 // older than 4.3 may define these macros and still not guarantee GNU inlining 442 // semantics. 443 // 444 // clang++ identifies itself as gcc-4.2, but has support for GNU inlining 445 // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and 446 // __GNUC_GNU_INLINE__ macro definitions. 447 448 // GCC 4.3 and above allow passing all anonymous arguments of an 449 // __extern_always_inline function to some other vararg function. 450 451 // It is possible to compile containing GCC extensions even if GCC is 452 // run in pedantic mode if the uses are carefully marked using the 453 // `__extension__' keyword. But this is not generally available before 454 // version 2.8. 455 456 // __restrict is known in EGCS 1.2 and above. 457 458 // ISO C99 also allows to declare arrays as non-overlapping. The syntax is 459 // array_name[restrict] 460 // GCC 3.1 supports this. 461 462 // Describes a char array whose address can safely be passed as the first 463 // argument to strncpy and strncat, as the char array is not necessarily 464 // a NUL-terminated string. 465 466 // Undefine (also defined in libc-symbols.h). 467 // Copies attributes from the declaration or type referenced by 468 // the argument. 469 470 // Determine the wordsize from the preprocessor defines. 471 472 // Both x86-64 and x32 use the 64-bit system call interface. 473 // Properties of long double type. ldbl-96 version. 474 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 475 // This file is part of the GNU C Library. 476 // 477 // The GNU C Library is free software; you can redistribute it and/or 478 // modify it under the terms of the GNU Lesser General Public 479 // License published by the Free Software Foundation; either 480 // version 2.1 of the License, or (at your option) any later version. 481 // 482 // The GNU C Library is distributed in the hope that it will be useful, 483 // but WITHOUT ANY WARRANTY; without even the implied warranty of 484 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 485 // Lesser General Public License for more details. 486 // 487 // You should have received a copy of the GNU Lesser General Public 488 // License along with the GNU C Library; if not, see 489 // <https://www.gnu.org/licenses/>. 490 491 // long double is distinct from double, so there is nothing to 492 // define here. 493 494 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is 495 // intended for use in preprocessor macros. 496 // 497 // Note: MESSAGE must be a _single_ string; concatenation of string 498 // literals is not supported. 499 500 // Generic selection (ISO C11) is a C-only feature, available in GCC 501 // since version 4.9. Previous versions do not provide generic 502 // selection, even though they might set __STDC_VERSION__ to 201112L, 503 // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ 504 // when testing __STDC_VERSION__ for generic selection support. 505 // On the other hand, Clang also defines __GNUC__, so a clang-specific 506 // check is required to enable the use of generic selection. 507 508 // If we don't have __REDIRECT, prototypes will be missing if 509 // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. 510 511 // Decide whether we can define 'extern inline' functions in headers. 512 513 // This is here only because every header file already includes this one. 514 // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. 515 // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub 516 // that will always return failure (and set errno to ENOSYS). 517 // This file is automatically generated. 518 // This file selects the right generated file of `__stub_FUNCTION' macros 519 // based on the architecture being compiled for. 520 521 // This file is automatically generated. 522 // It defines a symbol `__stub_FUNCTION' for each function 523 // in the C library which is a stub, meaning it will fail 524 // every time called, usually setting errno to ENOSYS. 525 526 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 527 // This file is part of the GNU C Library. 528 // 529 // The GNU C Library is free software; you can redistribute it and/or 530 // modify it under the terms of the GNU Lesser General Public 531 // License as published by the Free Software Foundation; either 532 // version 2.1 of the License, or (at your option) any later version. 533 // 534 // The GNU C Library is distributed in the hope that it will be useful, 535 // but WITHOUT ANY WARRANTY; without even the implied warranty of 536 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 537 // Lesser General Public License for more details. 538 // 539 // You should have received a copy of the GNU Lesser General Public 540 // License along with the GNU C Library; if not, see 541 // <https://www.gnu.org/licenses/>. 542 543 // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> 544 545 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 546 // This file is part of the GNU C Library. 547 // 548 // The GNU C Library is free software; you can redistribute it and/or 549 // modify it under the terms of the GNU Lesser General Public 550 // License as published by the Free Software Foundation; either 551 // version 2.1 of the License, or (at your option) any later version. 552 // 553 // The GNU C Library is distributed in the hope that it will be useful, 554 // but WITHOUT ANY WARRANTY; without even the implied warranty of 555 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 556 // Lesser General Public License for more details. 557 // 558 // You should have received a copy of the GNU Lesser General Public 559 // License along with the GNU C Library; if not, see 560 // <https://www.gnu.org/licenses/>. 561 562 // bits/types.h -- definitions of __*_t types underlying *_t types. 563 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 564 // This file is part of the GNU C Library. 565 // 566 // The GNU C Library is free software; you can redistribute it and/or 567 // modify it under the terms of the GNU Lesser General Public 568 // License as published by the Free Software Foundation; either 569 // version 2.1 of the License, or (at your option) any later version. 570 // 571 // The GNU C Library is distributed in the hope that it will be useful, 572 // but WITHOUT ANY WARRANTY; without even the implied warranty of 573 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 574 // Lesser General Public License for more details. 575 // 576 // You should have received a copy of the GNU Lesser General Public 577 // License along with the GNU C Library; if not, see 578 // <https://www.gnu.org/licenses/>. 579 580 // Never include this file directly; use <sys/types.h> instead. 581 582 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 583 // This file is part of the GNU C Library. 584 // 585 // The GNU C Library is free software; you can redistribute it and/or 586 // modify it under the terms of the GNU Lesser General Public 587 // License as published by the Free Software Foundation; either 588 // version 2.1 of the License, or (at your option) any later version. 589 // 590 // The GNU C Library is distributed in the hope that it will be useful, 591 // but WITHOUT ANY WARRANTY; without even the implied warranty of 592 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 593 // Lesser General Public License for more details. 594 // 595 // You should have received a copy of the GNU Lesser General Public 596 // License along with the GNU C Library; if not, see 597 // <https://www.gnu.org/licenses/>. 598 599 // Determine the wordsize from the preprocessor defines. 600 601 // Both x86-64 and x32 use the 64-bit system call interface. 602 // Bit size of the time_t type at glibc build time, x86-64 and x32 case. 603 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 604 // This file is part of the GNU C Library. 605 // 606 // The GNU C Library is free software; you can redistribute it and/or 607 // modify it under the terms of the GNU Lesser General Public 608 // License as published by the Free Software Foundation; either 609 // version 2.1 of the License, or (at your option) any later version. 610 // 611 // The GNU C Library is distributed in the hope that it will be useful, 612 // but WITHOUT ANY WARRANTY; without even the implied warranty of 613 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 614 // Lesser General Public License for more details. 615 // 616 // You should have received a copy of the GNU Lesser General Public 617 // License along with the GNU C Library; if not, see 618 // <https://www.gnu.org/licenses/>. 619 620 // For others, time size is word size. 621 622 // Convenience types. 623 type X__u_char = uint8 /* types.h:31:23 */ 624 type X__u_short = uint16 /* types.h:32:28 */ 625 type X__u_int = uint32 /* types.h:33:22 */ 626 type X__u_long = uint64 /* types.h:34:27 */ 627 628 // Fixed-size types, underlying types depend on word size and compiler. 629 type X__int8_t = int8 /* types.h:37:21 */ 630 type X__uint8_t = uint8 /* types.h:38:23 */ 631 type X__int16_t = int16 /* types.h:39:26 */ 632 type X__uint16_t = uint16 /* types.h:40:28 */ 633 type X__int32_t = int32 /* types.h:41:20 */ 634 type X__uint32_t = uint32 /* types.h:42:22 */ 635 type X__int64_t = int64 /* types.h:44:25 */ 636 type X__uint64_t = uint64 /* types.h:45:27 */ 637 638 // Smallest types with at least a given width. 639 type X__int_least8_t = X__int8_t /* types.h:52:18 */ 640 type X__uint_least8_t = X__uint8_t /* types.h:53:19 */ 641 type X__int_least16_t = X__int16_t /* types.h:54:19 */ 642 type X__uint_least16_t = X__uint16_t /* types.h:55:20 */ 643 type X__int_least32_t = X__int32_t /* types.h:56:19 */ 644 type X__uint_least32_t = X__uint32_t /* types.h:57:20 */ 645 type X__int_least64_t = X__int64_t /* types.h:58:19 */ 646 type X__uint_least64_t = X__uint64_t /* types.h:59:20 */ 647 648 // quad_t is also 64 bits. 649 type X__quad_t = int64 /* types.h:63:18 */ 650 type X__u_quad_t = uint64 /* types.h:64:27 */ 651 652 // Largest integral types. 653 type X__intmax_t = int64 /* types.h:72:18 */ 654 type X__uintmax_t = uint64 /* types.h:73:27 */ 655 656 // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE 657 // macros for each of the OS types we define below. The definitions 658 // of those macros must use the following macros for underlying types. 659 // We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned 660 // variants of each of the following integer types on this machine. 661 // 662 // 16 -- "natural" 16-bit type (always short) 663 // 32 -- "natural" 32-bit type (always int) 664 // 64 -- "natural" 64-bit type (long or long long) 665 // LONG32 -- 32-bit type, traditionally long 666 // QUAD -- 64-bit type, traditionally long long 667 // WORD -- natural type of __WORDSIZE bits (int or long) 668 // LONGWORD -- type of __WORDSIZE bits, traditionally long 669 // 670 // We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the 671 // conventional uses of `long' or `long long' type modifiers match the 672 // types we define, even when a less-adorned type would be the same size. 673 // This matters for (somewhat) portably writing printf/scanf formats for 674 // these types, where using the appropriate l or ll format modifiers can 675 // make the typedefs and the formats match up across all GNU platforms. If 676 // we used `long' when it's 64 bits where `long long' is expected, then the 677 // compiler would warn about the formats not matching the argument types, 678 // and the programmer changing them to shut up the compiler would break the 679 // program's portability. 680 // 681 // Here we assume what is presently the case in all the GCC configurations 682 // we support: long long is always 64 bits, long is always word/address size, 683 // and int is always 32 bits. 684 685 // No need to mark the typedef with __extension__. 686 // bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. 687 // Copyright (C) 2012-2020 Free Software Foundation, Inc. 688 // This file is part of the GNU C Library. 689 // 690 // The GNU C Library is free software; you can redistribute it and/or 691 // modify it under the terms of the GNU Lesser General Public 692 // License as published by the Free Software Foundation; either 693 // version 2.1 of the License, or (at your option) any later version. 694 // 695 // The GNU C Library is distributed in the hope that it will be useful, 696 // but WITHOUT ANY WARRANTY; without even the implied warranty of 697 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 698 // Lesser General Public License for more details. 699 // 700 // You should have received a copy of the GNU Lesser General Public 701 // License along with the GNU C Library; if not, see 702 // <https://www.gnu.org/licenses/>. 703 704 // See <bits/types.h> for the meaning of these macros. This file exists so 705 // that <bits/types.h> need not vary across different GNU platforms. 706 707 // X32 kernel interface is 64-bit. 708 709 // Tell the libc code that off_t and off64_t are actually the same type 710 // for all ABI purposes, even if possibly expressed as different base types 711 // for C type-checking purposes. 712 713 // Same for ino_t and ino64_t. 714 715 // And for __rlim_t and __rlim64_t. 716 717 // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. 718 719 // Number of descriptors that can fit in an `fd_set'. 720 721 // bits/time64.h -- underlying types for __time64_t. Generic version. 722 // Copyright (C) 2018-2020 Free Software Foundation, Inc. 723 // This file is part of the GNU C Library. 724 // 725 // The GNU C Library is free software; you can redistribute it and/or 726 // modify it under the terms of the GNU Lesser General Public 727 // License as published by the Free Software Foundation; either 728 // version 2.1 of the License, or (at your option) any later version. 729 // 730 // The GNU C Library is distributed in the hope that it will be useful, 731 // but WITHOUT ANY WARRANTY; without even the implied warranty of 732 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 733 // Lesser General Public License for more details. 734 // 735 // You should have received a copy of the GNU Lesser General Public 736 // License along with the GNU C Library; if not, see 737 // <https://www.gnu.org/licenses/>. 738 739 // Define __TIME64_T_TYPE so that it is always a 64-bit type. 740 741 // If we already have 64-bit time type then use it. 742 743 type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers. 744 type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications. 745 type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications. 746 type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers. 747 type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS). 748 type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks. 749 type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts. 750 type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets. 751 type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS). 752 type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications. 753 type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. 754 type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts. 755 type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement. 756 type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS). 757 type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs. 758 type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch. 759 type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds. 760 type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds. 761 762 type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address. 763 type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key. 764 765 // Clock ID used in clock and timer functions. 766 type X__clockid_t = int32 /* types.h:168:29 */ 767 768 // Timer ID returned by `timer_create'. 769 type X__timer_t = uintptr /* types.h:171:12 */ 770 771 // Type to represent block size. 772 type X__blksize_t = int64 /* types.h:174:29 */ 773 774 // Types from the Large File Support interface. 775 776 // Type to count number of disk blocks. 777 type X__blkcnt_t = int64 /* types.h:179:28 */ 778 type X__blkcnt64_t = int64 /* types.h:180:30 */ 779 780 // Type to count file system blocks. 781 type X__fsblkcnt_t = uint64 /* types.h:183:30 */ 782 type X__fsblkcnt64_t = uint64 /* types.h:184:32 */ 783 784 // Type to count file system nodes. 785 type X__fsfilcnt_t = uint64 /* types.h:187:30 */ 786 type X__fsfilcnt64_t = uint64 /* types.h:188:32 */ 787 788 // Type of miscellaneous file system fields. 789 type X__fsword_t = int64 /* types.h:191:28 */ 790 791 type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error. 792 793 // Signed long type used in system calls. 794 type X__syscall_slong_t = int64 /* types.h:196:33 */ 795 // Unsigned long type used in system calls. 796 type X__syscall_ulong_t = uint64 /* types.h:198:33 */ 797 798 // These few don't really vary by system, they always correspond 799 // 800 // to one of the other defined types. 801 type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS). 802 type X__caddr_t = uintptr /* types.h:203:14 */ 803 804 // Duplicates info from stdint.h but this is used in unistd.h. 805 type X__intptr_t = int64 /* types.h:206:25 */ 806 807 // Duplicate info from sys/socket.h. 808 type X__socklen_t = uint32 /* types.h:209:23 */ 809 810 // C99: An integer type that can be accessed as an atomic entity, 811 // 812 // even in the presence of asynchronous interrupts. 813 // It is not currently necessary for this to be machine-specific. 814 type X__sig_atomic_t = int32 /* types.h:214:13 */ 815 816 // Seconds since the Epoch, visible to user code when time_t is too 817 // narrow only for consistency with the old way of widening too-narrow 818 // types. User code should never use __time64_t. 819 820 type U_char = X__u_char /* types.h:33:18 */ 821 type U_short = X__u_short /* types.h:34:19 */ 822 type U_int = X__u_int /* types.h:35:17 */ 823 type U_long = X__u_long /* types.h:36:18 */ 824 type Quad_t = X__quad_t /* types.h:37:18 */ 825 type U_quad_t = X__u_quad_t /* types.h:38:20 */ 826 type Fsid_t = X__fsid_t /* types.h:39:18 */ 827 type Loff_t = X__loff_t /* types.h:42:18 */ 828 829 type Ino_t = X__ino64_t /* types.h:49:19 */ 830 831 type Dev_t = X__dev_t /* types.h:59:17 */ 832 833 type Gid_t = X__gid_t /* types.h:64:17 */ 834 835 type Mode_t = X__mode_t /* types.h:69:18 */ 836 837 type Nlink_t = X__nlink_t /* types.h:74:19 */ 838 839 type Uid_t = X__uid_t /* types.h:79:17 */ 840 841 type Off_t = X__off64_t /* types.h:87:19 */ 842 843 type Pid_t = X__pid_t /* types.h:97:17 */ 844 845 type Id_t = X__id_t /* types.h:103:16 */ 846 847 type Ssize_t = X__ssize_t /* types.h:108:19 */ 848 849 type Daddr_t = X__daddr_t /* types.h:114:19 */ 850 type Caddr_t = X__caddr_t /* types.h:115:19 */ 851 852 type Key_t = X__key_t /* types.h:121:17 */ 853 854 // bits/types.h -- definitions of __*_t types underlying *_t types. 855 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 856 // This file is part of the GNU C Library. 857 // 858 // The GNU C Library is free software; you can redistribute it and/or 859 // modify it under the terms of the GNU Lesser General Public 860 // License as published by the Free Software Foundation; either 861 // version 2.1 of the License, or (at your option) any later version. 862 // 863 // The GNU C Library is distributed in the hope that it will be useful, 864 // but WITHOUT ANY WARRANTY; without even the implied warranty of 865 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 866 // Lesser General Public License for more details. 867 // 868 // You should have received a copy of the GNU Lesser General Public 869 // License along with the GNU C Library; if not, see 870 // <https://www.gnu.org/licenses/>. 871 872 // Never include this file directly; use <sys/types.h> instead. 873 874 // Returned by `clock'. 875 type Clock_t = X__clock_t /* clock_t.h:7:19 */ 876 877 // bits/types.h -- definitions of __*_t types underlying *_t types. 878 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 879 // This file is part of the GNU C Library. 880 // 881 // The GNU C Library is free software; you can redistribute it and/or 882 // modify it under the terms of the GNU Lesser General Public 883 // License as published by the Free Software Foundation; either 884 // version 2.1 of the License, or (at your option) any later version. 885 // 886 // The GNU C Library is distributed in the hope that it will be useful, 887 // but WITHOUT ANY WARRANTY; without even the implied warranty of 888 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 889 // Lesser General Public License for more details. 890 // 891 // You should have received a copy of the GNU Lesser General Public 892 // License along with the GNU C Library; if not, see 893 // <https://www.gnu.org/licenses/>. 894 895 // Never include this file directly; use <sys/types.h> instead. 896 897 // Clock ID used in clock and timer functions. 898 type Clockid_t = X__clockid_t /* clockid_t.h:7:21 */ 899 900 // bits/types.h -- definitions of __*_t types underlying *_t types. 901 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 902 // This file is part of the GNU C Library. 903 // 904 // The GNU C Library is free software; you can redistribute it and/or 905 // modify it under the terms of the GNU Lesser General Public 906 // License as published by the Free Software Foundation; either 907 // version 2.1 of the License, or (at your option) any later version. 908 // 909 // The GNU C Library is distributed in the hope that it will be useful, 910 // but WITHOUT ANY WARRANTY; without even the implied warranty of 911 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 912 // Lesser General Public License for more details. 913 // 914 // You should have received a copy of the GNU Lesser General Public 915 // License along with the GNU C Library; if not, see 916 // <https://www.gnu.org/licenses/>. 917 918 // Never include this file directly; use <sys/types.h> instead. 919 920 // Returned by `time'. 921 type Time_t = X__time_t /* time_t.h:7:18 */ 922 923 // bits/types.h -- definitions of __*_t types underlying *_t types. 924 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 925 // This file is part of the GNU C Library. 926 // 927 // The GNU C Library is free software; you can redistribute it and/or 928 // modify it under the terms of the GNU Lesser General Public 929 // License as published by the Free Software Foundation; either 930 // version 2.1 of the License, or (at your option) any later version. 931 // 932 // The GNU C Library is distributed in the hope that it will be useful, 933 // but WITHOUT ANY WARRANTY; without even the implied warranty of 934 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 935 // Lesser General Public License for more details. 936 // 937 // You should have received a copy of the GNU Lesser General Public 938 // License along with the GNU C Library; if not, see 939 // <https://www.gnu.org/licenses/>. 940 941 // Never include this file directly; use <sys/types.h> instead. 942 943 // Timer ID returned by `timer_create'. 944 type Timer_t = X__timer_t /* timer_t.h:7:19 */ 945 946 // Wide character type. 947 // Locale-writers should change this as necessary to 948 // be big enough to hold unique values not between 0 and 127, 949 // and not (wchar_t) -1, for each defined multibyte character. 950 951 // Define this type if we are doing the whole job, 952 // or if we want this type in particular. 953 954 // A null pointer constant. 955 956 // Old compatibility names for C types. 957 type Ulong = uint64 /* types.h:148:27 */ 958 type Ushort = uint16 /* types.h:149:28 */ 959 type Uint = uint32 /* types.h:150:22 */ 960 961 // These size-specific names are used by some of the inet code. 962 963 // Define intN_t types. 964 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 965 // This file is part of the GNU C Library. 966 // 967 // The GNU C Library is free software; you can redistribute it and/or 968 // modify it under the terms of the GNU Lesser General Public 969 // License as published by the Free Software Foundation; either 970 // version 2.1 of the License, or (at your option) any later version. 971 // 972 // The GNU C Library is distributed in the hope that it will be useful, 973 // but WITHOUT ANY WARRANTY; without even the implied warranty of 974 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 975 // Lesser General Public License for more details. 976 // 977 // You should have received a copy of the GNU Lesser General Public 978 // License along with the GNU C Library; if not, see 979 // <https://www.gnu.org/licenses/>. 980 981 // bits/types.h -- definitions of __*_t types underlying *_t types. 982 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 983 // This file is part of the GNU C Library. 984 // 985 // The GNU C Library is free software; you can redistribute it and/or 986 // modify it under the terms of the GNU Lesser General Public 987 // License as published by the Free Software Foundation; either 988 // version 2.1 of the License, or (at your option) any later version. 989 // 990 // The GNU C Library is distributed in the hope that it will be useful, 991 // but WITHOUT ANY WARRANTY; without even the implied warranty of 992 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 993 // Lesser General Public License for more details. 994 // 995 // You should have received a copy of the GNU Lesser General Public 996 // License along with the GNU C Library; if not, see 997 // <https://www.gnu.org/licenses/>. 998 999 // Never include this file directly; use <sys/types.h> instead. 1000 1001 type Int8_t = X__int8_t /* stdint-intn.h:24:18 */ 1002 type Int16_t = X__int16_t /* stdint-intn.h:25:19 */ 1003 type Int32_t = X__int32_t /* stdint-intn.h:26:19 */ 1004 type Int64_t = X__int64_t /* stdint-intn.h:27:19 */ 1005 1006 // These were defined by ISO C without the first `_'. 1007 type U_int8_t = X__uint8_t /* types.h:158:19 */ 1008 type U_int16_t = X__uint16_t /* types.h:159:20 */ 1009 type U_int32_t = X__uint32_t /* types.h:160:20 */ 1010 type U_int64_t = X__uint64_t /* types.h:161:20 */ 1011 1012 type Register_t = int32 /* types.h:164:13 */ 1013 1014 // It also defines `fd_set' and the FD_* macros for `select'. 1015 // `fd_set' type and related macros, and `select'/`pselect' declarations. 1016 // Copyright (C) 1996-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 // POSIX 1003.1g: 6.2 Select from File Descriptor Sets <sys/select.h> 1034 1035 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 1036 // This file is part of the GNU C Library. 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 // Get definition of needed basic types. 1053 // bits/types.h -- definitions of __*_t types underlying *_t types. 1054 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1055 // This file is part of the GNU C Library. 1056 // 1057 // The GNU C Library is free software; you can redistribute it and/or 1058 // modify it under the terms of the GNU Lesser General Public 1059 // License as published by the Free Software Foundation; either 1060 // version 2.1 of the License, or (at your option) any later version. 1061 // 1062 // The GNU C Library is distributed in the hope that it will be useful, 1063 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1064 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1065 // Lesser General Public License for more details. 1066 // 1067 // You should have received a copy of the GNU Lesser General Public 1068 // License along with the GNU C Library; if not, see 1069 // <https://www.gnu.org/licenses/>. 1070 1071 // Never include this file directly; use <sys/types.h> instead. 1072 1073 // Get __FD_* definitions. 1074 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 1075 // This file is part of the GNU C Library. 1076 // 1077 // The GNU C Library is free software; you can redistribute it and/or 1078 // modify it under the terms of the GNU Lesser General Public 1079 // License as published by the Free Software Foundation; either 1080 // version 2.1 of the License, or (at your option) any later version. 1081 // 1082 // The GNU C Library is distributed in the hope that it will be useful, 1083 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1084 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1085 // Lesser General Public License for more details. 1086 // 1087 // You should have received a copy of the GNU Lesser General Public 1088 // License along with the GNU C Library; if not, see 1089 // <https://www.gnu.org/licenses/>. 1090 1091 // Determine the wordsize from the preprocessor defines. 1092 1093 // Both x86-64 and x32 use the 64-bit system call interface. 1094 1095 // Get sigset_t. 1096 1097 type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */ 1098 1099 // A set of signals to be blocked, unblocked, or waited for. 1100 type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */ 1101 1102 // Get definition of timer specification structures. 1103 1104 // bits/types.h -- definitions of __*_t types underlying *_t types. 1105 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1106 // This file is part of the GNU C Library. 1107 // 1108 // The GNU C Library is free software; you can redistribute it and/or 1109 // modify it under the terms of the GNU Lesser General Public 1110 // License as published by the Free Software Foundation; either 1111 // version 2.1 of the License, or (at your option) any later version. 1112 // 1113 // The GNU C Library is distributed in the hope that it will be useful, 1114 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1115 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1116 // Lesser General Public License for more details. 1117 // 1118 // You should have received a copy of the GNU Lesser General Public 1119 // License along with the GNU C Library; if not, see 1120 // <https://www.gnu.org/licenses/>. 1121 1122 // Never include this file directly; use <sys/types.h> instead. 1123 1124 // A time value that is accurate to the nearest 1125 // 1126 // microsecond but also has a range of years. 1127 type Timeval = struct { 1128 Ftv_sec X__time_t 1129 Ftv_usec X__suseconds_t 1130 } /* struct_timeval.h:8:1 */ 1131 1132 // NB: Include guard matches what <linux/time.h> uses. 1133 1134 // bits/types.h -- definitions of __*_t types underlying *_t types. 1135 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1136 // This file is part of the GNU C Library. 1137 // 1138 // The GNU C Library is free software; you can redistribute it and/or 1139 // modify it under the terms of the GNU Lesser General Public 1140 // License as published by the Free Software Foundation; either 1141 // version 2.1 of the License, or (at your option) any later version. 1142 // 1143 // The GNU C Library is distributed in the hope that it will be useful, 1144 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1145 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1146 // Lesser General Public License for more details. 1147 // 1148 // You should have received a copy of the GNU Lesser General Public 1149 // License along with the GNU C Library; if not, see 1150 // <https://www.gnu.org/licenses/>. 1151 1152 // Never include this file directly; use <sys/types.h> instead. 1153 1154 // Endian macros for string.h functions 1155 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 1156 // This file is part of the GNU C Library. 1157 // 1158 // The GNU C Library is free software; you can redistribute it and/or 1159 // modify it under the terms of the GNU Lesser General Public 1160 // License as published by the Free Software Foundation; either 1161 // version 2.1 of the License, or (at your option) any later version. 1162 // 1163 // The GNU C Library is distributed in the hope that it will be useful, 1164 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1165 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1166 // Lesser General Public License for more details. 1167 // 1168 // You should have received a copy of the GNU Lesser General Public 1169 // License along with the GNU C Library; if not, see 1170 // <http://www.gnu.org/licenses/>. 1171 1172 // POSIX.1b structure for a time value. This is like a `struct timeval' but 1173 // 1174 // has nanoseconds instead of microseconds. 1175 type Timespec = struct { 1176 Ftv_sec X__time_t 1177 Ftv_nsec X__syscall_slong_t 1178 } /* struct_timespec.h:10:1 */ 1179 1180 type Suseconds_t = X__suseconds_t /* select.h:43:23 */ 1181 1182 // The fd_set member is required to be an array of longs. 1183 type X__fd_mask = int64 /* select.h:49:18 */ 1184 1185 // Some versions of <linux/posix_types.h> define this macros. 1186 // It's easier to assume 8-bit bytes than to get CHAR_BIT. 1187 1188 // fd_set for select and pselect. 1189 type Fd_set = struct{ F__fds_bits [16]X__fd_mask } /* select.h:70:5 */ 1190 1191 // Maximum number of file descriptors in `fd_set'. 1192 1193 // Sometimes the fd_set member is assumed to have this type. 1194 type Fd_mask = X__fd_mask /* select.h:77:19 */ 1195 1196 // Define some inlines helping to catch common problems. 1197 1198 type Blksize_t = X__blksize_t /* types.h:185:21 */ 1199 1200 // Types from the Large File Support interface. 1201 type Blkcnt_t = X__blkcnt64_t /* types.h:205:22 */ // Type to count number of disk blocks. 1202 type Fsblkcnt_t = X__fsblkcnt64_t /* types.h:209:24 */ // Type to count file system blocks. 1203 type Fsfilcnt_t = X__fsfilcnt64_t /* types.h:213:24 */ // Type to count file system inodes. 1204 1205 // Now add the thread types. 1206 // Declaration of common pthread types for all architectures. 1207 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1208 // This file is part of the GNU C Library. 1209 // 1210 // The GNU C Library is free software; you can redistribute it and/or 1211 // modify it under the terms of the GNU Lesser General Public 1212 // License as published by the Free Software Foundation; either 1213 // version 2.1 of the License, or (at your option) any later version. 1214 // 1215 // The GNU C Library is distributed in the hope that it will be useful, 1216 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1217 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1218 // Lesser General Public License for more details. 1219 // 1220 // You should have received a copy of the GNU Lesser General Public 1221 // License along with the GNU C Library; if not, see 1222 // <https://www.gnu.org/licenses/>. 1223 1224 // For internal mutex and condition variable definitions. 1225 // Common threading primitives definitions for both POSIX and C11. 1226 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1227 // This file is part of the GNU C Library. 1228 // 1229 // The GNU C Library is free software; you can redistribute it and/or 1230 // modify it under the terms of the GNU Lesser General Public 1231 // License as published by the Free Software Foundation; either 1232 // version 2.1 of the License, or (at your option) any later version. 1233 // 1234 // The GNU C Library is distributed in the hope that it will be useful, 1235 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1236 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1237 // Lesser General Public License for more details. 1238 // 1239 // You should have received a copy of the GNU Lesser General Public 1240 // License along with the GNU C Library; if not, see 1241 // <https://www.gnu.org/licenses/>. 1242 1243 // Arch-specific definitions. Each architecture must define the following 1244 // macros to define the expected sizes of pthread data types: 1245 // 1246 // __SIZEOF_PTHREAD_ATTR_T - size of pthread_attr_t. 1247 // __SIZEOF_PTHREAD_MUTEX_T - size of pthread_mutex_t. 1248 // __SIZEOF_PTHREAD_MUTEXATTR_T - size of pthread_mutexattr_t. 1249 // __SIZEOF_PTHREAD_COND_T - size of pthread_cond_t. 1250 // __SIZEOF_PTHREAD_CONDATTR_T - size of pthread_condattr_t. 1251 // __SIZEOF_PTHREAD_RWLOCK_T - size of pthread_rwlock_t. 1252 // __SIZEOF_PTHREAD_RWLOCKATTR_T - size of pthread_rwlockattr_t. 1253 // __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t. 1254 // __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t. 1255 // 1256 // The additional macro defines any constraint for the lock alignment 1257 // inside the thread structures: 1258 // 1259 // __LOCK_ALIGNMENT - for internal lock/futex usage. 1260 // 1261 // Same idea but for the once locking primitive: 1262 // 1263 // __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. 1264 1265 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1266 // This file is part of the GNU C Library. 1267 // 1268 // The GNU C Library is free software; you can redistribute it and/or 1269 // modify it under the terms of the GNU Lesser General Public 1270 // License as published by the Free Software Foundation; either 1271 // version 2.1 of the License, or (at your option) any later version. 1272 // 1273 // The GNU C Library is distributed in the hope that it will be useful, 1274 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1275 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1276 // Lesser General Public License for more details. 1277 // 1278 // You should have received a copy of the GNU Lesser General Public 1279 // License along with the GNU C Library; if not, see 1280 // <https://www.gnu.org/licenses/>. 1281 1282 // Determine the wordsize from the preprocessor defines. 1283 1284 // Both x86-64 and x32 use the 64-bit system call interface. 1285 1286 // Common definition of pthread_mutex_t. 1287 1288 type X__pthread_internal_list = struct { 1289 F__prev uintptr 1290 F__next uintptr 1291 } /* thread-shared-types.h:49:9 */ 1292 1293 // Type to count file system inodes. 1294 1295 // Now add the thread types. 1296 // Declaration of common pthread types for all architectures. 1297 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1298 // This file is part of the GNU C Library. 1299 // 1300 // The GNU C Library is free software; you can redistribute it and/or 1301 // modify it under the terms of the GNU Lesser General Public 1302 // License as published by the Free Software Foundation; either 1303 // version 2.1 of the License, or (at your option) any later version. 1304 // 1305 // The GNU C Library is distributed in the hope that it will be useful, 1306 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1307 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1308 // Lesser General Public License for more details. 1309 // 1310 // You should have received a copy of the GNU Lesser General Public 1311 // License along with the GNU C Library; if not, see 1312 // <https://www.gnu.org/licenses/>. 1313 1314 // For internal mutex and condition variable definitions. 1315 // Common threading primitives definitions for both POSIX and C11. 1316 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1317 // This file is part of the GNU C Library. 1318 // 1319 // The GNU C Library is free software; you can redistribute it and/or 1320 // modify it under the terms of the GNU Lesser General Public 1321 // License as published by the Free Software Foundation; either 1322 // version 2.1 of the License, or (at your option) any later version. 1323 // 1324 // The GNU C Library is distributed in the hope that it will be useful, 1325 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1326 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1327 // Lesser General Public License for more details. 1328 // 1329 // You should have received a copy of the GNU Lesser General Public 1330 // License along with the GNU C Library; if not, see 1331 // <https://www.gnu.org/licenses/>. 1332 1333 // Arch-specific definitions. Each architecture must define the following 1334 // macros to define the expected sizes of pthread data types: 1335 // 1336 // __SIZEOF_PTHREAD_ATTR_T - size of pthread_attr_t. 1337 // __SIZEOF_PTHREAD_MUTEX_T - size of pthread_mutex_t. 1338 // __SIZEOF_PTHREAD_MUTEXATTR_T - size of pthread_mutexattr_t. 1339 // __SIZEOF_PTHREAD_COND_T - size of pthread_cond_t. 1340 // __SIZEOF_PTHREAD_CONDATTR_T - size of pthread_condattr_t. 1341 // __SIZEOF_PTHREAD_RWLOCK_T - size of pthread_rwlock_t. 1342 // __SIZEOF_PTHREAD_RWLOCKATTR_T - size of pthread_rwlockattr_t. 1343 // __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t. 1344 // __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t. 1345 // 1346 // The additional macro defines any constraint for the lock alignment 1347 // inside the thread structures: 1348 // 1349 // __LOCK_ALIGNMENT - for internal lock/futex usage. 1350 // 1351 // Same idea but for the once locking primitive: 1352 // 1353 // __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. 1354 1355 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1356 // This file is part of the GNU C Library. 1357 // 1358 // The GNU C Library is free software; you can redistribute it and/or 1359 // modify it under the terms of the GNU Lesser General Public 1360 // License as published by the Free Software Foundation; either 1361 // version 2.1 of the License, or (at your option) any later version. 1362 // 1363 // The GNU C Library is distributed in the hope that it will be useful, 1364 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1365 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1366 // Lesser General Public License for more details. 1367 // 1368 // You should have received a copy of the GNU Lesser General Public 1369 // License along with the GNU C Library; if not, see 1370 // <https://www.gnu.org/licenses/>. 1371 1372 // Determine the wordsize from the preprocessor defines. 1373 1374 // Both x86-64 and x32 use the 64-bit system call interface. 1375 1376 // Common definition of pthread_mutex_t. 1377 1378 type X__pthread_list_t = X__pthread_internal_list /* thread-shared-types.h:53:3 */ 1379 1380 type X__pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */ 1381 1382 type X__pthread_slist_t = X__pthread_internal_slist /* thread-shared-types.h:58:3 */ 1383 1384 // Arch-specific mutex definitions. A generic implementation is provided 1385 // by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture 1386 // can override it by defining: 1387 // 1388 // 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t 1389 // definition). It should contains at least the internal members 1390 // defined in the generic version. 1391 // 1392 // 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with 1393 // atomic operations. 1394 // 1395 // 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization. 1396 // It should initialize the mutex internal flag. 1397 1398 // x86 internal mutex struct definitions. 1399 // Copyright (C) 2019-2020 Free Software Foundation, Inc. 1400 // This file is part of the GNU C Library. 1401 // 1402 // The GNU C Library is free software; you can redistribute it and/or 1403 // modify it under the terms of the GNU Lesser General Public 1404 // License as published by the Free Software Foundation; either 1405 // version 2.1 of the License, or (at your option) any later version. 1406 // 1407 // The GNU C Library is distributed in the hope that it will be useful, 1408 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1409 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1410 // Lesser General Public License for more details. 1411 // 1412 // You should have received a copy of the GNU Lesser General Public 1413 // License along with the GNU C Library; if not, see 1414 // <http://www.gnu.org/licenses/>. 1415 1416 type X__pthread_mutex_s = struct { 1417 F__lock int32 1418 F__count uint32 1419 F__owner int32 1420 F__nusers uint32 1421 F__kind int32 1422 F__spins int16 1423 F__elision int16 1424 F__list X__pthread_list_t 1425 } /* struct_mutex.h:22:1 */ 1426 1427 // Arch-sepecific read-write lock definitions. A generic implementation is 1428 // provided by struct_rwlock.h. If required, an architecture can override it 1429 // by defining: 1430 // 1431 // 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition). 1432 // It should contain at least the internal members defined in the 1433 // generic version. 1434 // 1435 // 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization. 1436 // It should initialize the rwlock internal type. 1437 1438 // x86 internal rwlock struct definitions. 1439 // Copyright (C) 2019-2020 Free Software Foundation, Inc. 1440 // 1441 // This file is part of the GNU C Library. 1442 // 1443 // The GNU C Library is free software; you can redistribute it and/or 1444 // modify it under the terms of the GNU Lesser General Public 1445 // License as published by the Free Software Foundation; either 1446 // version 2.1 of the License, or (at your option) any later version. 1447 // 1448 // The GNU C Library is distributed in the hope that it will be useful, 1449 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1450 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1451 // Lesser General Public License for more details. 1452 // 1453 // You should have received a copy of the GNU Lesser General Public 1454 // License along with the GNU C Library; if not, see 1455 // <http://www.gnu.org/licenses/>. 1456 1457 type X__pthread_rwlock_arch_t = struct { 1458 F__readers uint32 1459 F__writers uint32 1460 F__wrphase_futex uint32 1461 F__writers_futex uint32 1462 F__pad3 uint32 1463 F__pad4 uint32 1464 F__cur_writer int32 1465 F__shared int32 1466 F__rwelision int8 1467 F__pad1 [7]uint8 1468 F__pad2 uint64 1469 F__flags uint32 1470 F__ccgo_pad1 [4]byte 1471 } /* struct_rwlock.h:23:1 */ 1472 1473 // Common definition of pthread_cond_t. 1474 1475 type X__pthread_cond_s = struct { 1476 F__0 struct{ F__wseq uint64 } 1477 F__8 struct{ F__g1_start uint64 } 1478 F__g_refs [2]uint32 1479 F__g_size [2]uint32 1480 F__g1_orig_size uint32 1481 F__wrefs uint32 1482 F__g_signals [2]uint32 1483 } /* thread-shared-types.h:92:1 */ 1484 1485 // Thread identifiers. The structure of the attribute type is not 1486 // 1487 // exposed on purpose. 1488 type Pthread_t = uint64 /* pthreadtypes.h:27:27 */ 1489 1490 // Data structures for mutex handling. The structure of the attribute 1491 // 1492 // type is not exposed on purpose. 1493 type Pthread_mutexattr_t = struct { 1494 F__ccgo_pad1 [0]uint32 1495 F__size [4]int8 1496 } /* pthreadtypes.h:36:3 */ 1497 1498 // Data structure for condition variable handling. The structure of 1499 // 1500 // the attribute type is not exposed on purpose. 1501 type Pthread_condattr_t = struct { 1502 F__ccgo_pad1 [0]uint32 1503 F__size [4]int8 1504 } /* pthreadtypes.h:45:3 */ 1505 1506 // Keys for thread-specific data 1507 type Pthread_key_t = uint32 /* pthreadtypes.h:49:22 */ 1508 1509 // Once-only execution 1510 type Pthread_once_t = int32 /* pthreadtypes.h:53:30 */ 1511 1512 type Pthread_attr_t1 = struct { 1513 F__ccgo_pad1 [0]uint64 1514 F__size [56]int8 1515 } /* pthreadtypes.h:56:1 */ 1516 1517 type Pthread_attr_t = Pthread_attr_t1 /* pthreadtypes.h:62:30 */ 1518 1519 type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72:3 */ 1520 1521 type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */ 1522 1523 // Data structure for reader-writer lock variable handling. The 1524 // 1525 // structure of the attribute type is deliberately not exposed. 1526 type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */ 1527 1528 type Pthread_rwlockattr_t = struct { 1529 F__ccgo_pad1 [0]uint64 1530 F__size [8]int8 1531 } /* pthreadtypes.h:97:3 */ 1532 1533 // POSIX spinlock data type. 1534 type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */ 1535 1536 // POSIX barriers data type. The structure of the type is 1537 // 1538 // deliberately not exposed. 1539 type Pthread_barrier_t = struct { 1540 F__ccgo_pad1 [0]uint64 1541 F__size [32]int8 1542 } /* pthreadtypes.h:112:3 */ 1543 1544 type Pthread_barrierattr_t = struct { 1545 F__ccgo_pad1 [0]uint32 1546 F__size [4]int8 1547 } /* pthreadtypes.h:118:3 */ 1548 1549 var _ int8 /* gen.c:2:13: */