gtsocial-umbx

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

utime_linux_ppc64le.go (36355B)


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