gtsocial-umbx

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

pwd_linux_arm.go (37815B)


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