github.com/afumu/libc@v0.0.6/sys/types/types_linux_s390x.go (about)

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