gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

utime_linux_arm64.go (38774B)


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