modernc.org/libc@v1.24.1/wctype/wctype_linux_arm.go (about)

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