gtsocial-umbx

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

poll_linux_arm64.go (25410B)


      1 // Code generated by 'ccgo poll/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 poll/poll_linux_arm64.go -pkgname poll', DO NOT EDIT.
      2 
      3 package poll
      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 	POLLERR            = 0x008
     19 	POLLHUP            = 0x010
     20 	POLLIN             = 0x001
     21 	POLLNVAL           = 0x020
     22 	POLLOUT            = 0x004
     23 	POLLPRI            = 0x002
     24 	POLLRDBAND         = 0x080
     25 	POLLRDNORM         = 0x040
     26 	POLLWRBAND         = 0x200
     27 	POLLWRNORM         = 0x100
     28 	X_ATFILE_SOURCE    = 1
     29 	X_DEFAULT_SOURCE   = 1
     30 	X_FEATURES_H       = 1
     31 	X_FILE_OFFSET_BITS = 64
     32 	X_LP64             = 1
     33 	X_POSIX_C_SOURCE   = 200809
     34 	X_POSIX_SOURCE     = 1
     35 	X_STDC_PREDEF_H    = 1
     36 	X_SYS_CDEFS_H      = 1
     37 	X_SYS_POLL_H       = 1
     38 	Linux              = 1
     39 	Unix               = 1
     40 )
     41 
     42 type Ptrdiff_t = int64 /* <builtin>:3:26 */
     43 
     44 type Size_t = uint64 /* <builtin>:9:23 */
     45 
     46 type Wchar_t = uint32 /* <builtin>:15:24 */
     47 
     48 type X__int128_t = struct {
     49 	Flo int64
     50 	Fhi int64
     51 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
     52 type X__uint128_t = struct {
     53 	Flo uint64
     54 	Fhi uint64
     55 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
     56 
     57 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     58 type X__float128 = float64        /* <builtin>:47:21 */
     59 
     60 // Compatibility definitions for System V `poll' interface.
     61 //    Copyright (C) 1994-2020 Free Software Foundation, Inc.
     62 //    This file is part of the GNU C Library.
     63 //
     64 //    The GNU C Library is free software; you can redistribute it and/or
     65 //    modify it under the terms of the GNU Lesser General Public
     66 //    License as published by the Free Software Foundation; either
     67 //    version 2.1 of the License, or (at your option) any later version.
     68 //
     69 //    The GNU C Library is distributed in the hope that it will be useful,
     70 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
     71 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     72 //    Lesser General Public License for more details.
     73 //
     74 //    You should have received a copy of the GNU Lesser General Public
     75 //    License along with the GNU C Library; if not, see
     76 //    <https://www.gnu.org/licenses/>.
     77 
     78 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
     79 //    This file is part of the GNU C Library.
     80 //
     81 //    The GNU C Library is free software; you can redistribute it and/or
     82 //    modify it under the terms of the GNU Lesser General Public
     83 //    License as published by the Free Software Foundation; either
     84 //    version 2.1 of the License, or (at your option) any later version.
     85 //
     86 //    The GNU C Library is distributed in the hope that it will be useful,
     87 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
     88 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     89 //    Lesser General Public License for more details.
     90 //
     91 //    You should have received a copy of the GNU Lesser General Public
     92 //    License along with the GNU C Library; if not, see
     93 //    <https://www.gnu.org/licenses/>.
     94 
     95 // These are defined by the user (or the compiler)
     96 //    to specify the desired environment:
     97 //
     98 //    __STRICT_ANSI__	ISO Standard C.
     99 //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99.
    100 //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11.
    101 //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X.
    102 //    __STDC_WANT_LIB_EXT2__
    103 // 			Extensions to ISO C99 from TR 27431-2:2010.
    104 //    __STDC_WANT_IEC_60559_BFP_EXT__
    105 // 			Extensions to ISO C11 from TS 18661-1:2014.
    106 //    __STDC_WANT_IEC_60559_FUNCS_EXT__
    107 // 			Extensions to ISO C11 from TS 18661-4:2015.
    108 //    __STDC_WANT_IEC_60559_TYPES_EXT__
    109 // 			Extensions to ISO C11 from TS 18661-3:2015.
    110 //
    111 //    _POSIX_SOURCE	IEEE Std 1003.1.
    112 //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
    113 // 			if >=199309L, add IEEE Std 1003.1b-1993;
    114 // 			if >=199506L, add IEEE Std 1003.1c-1995;
    115 // 			if >=200112L, all of IEEE 1003.1-2004
    116 // 			if >=200809L, all of IEEE 1003.1-2008
    117 //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if
    118 // 			Single Unix conformance is wanted, to 600 for the
    119 // 			sixth revision, to 700 for the seventh revision.
    120 //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
    121 //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O.
    122 //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files.
    123 //    _FILE_OFFSET_BITS=N	Select default filesystem interface.
    124 //    _ATFILE_SOURCE	Additional *at interfaces.
    125 //    _GNU_SOURCE		All of the above, plus GNU extensions.
    126 //    _DEFAULT_SOURCE	The default set of features (taking precedence over
    127 // 			__STRICT_ANSI__).
    128 //
    129 //    _FORTIFY_SOURCE	Add security hardening to many library functions.
    130 // 			Set to 1 or 2; 2 performs stricter checks than 1.
    131 //
    132 //    _REENTRANT, _THREAD_SAFE
    133 // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
    134 //
    135 //    The `-ansi' switch to the GNU C compiler, and standards conformance
    136 //    options such as `-std=c99', define __STRICT_ANSI__.  If none of
    137 //    these are defined, or if _DEFAULT_SOURCE is defined, the default is
    138 //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
    139 //    200809L, as well as enabling miscellaneous functions from BSD and
    140 //    SVID.  If more than one of these are defined, they accumulate.  For
    141 //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
    142 //    give you ISO C, 1003.1, and 1003.2, but nothing else.
    143 //
    144 //    These are defined by this file and are used by the
    145 //    header files to decide what to declare or define:
    146 //
    147 //    __GLIBC_USE (F)	Define things from feature set F.  This is defined
    148 // 			to 1 or 0; the subsequent macros are either defined
    149 // 			or undefined, and those tests should be moved to
    150 // 			__GLIBC_USE.
    151 //    __USE_ISOC11		Define ISO C11 things.
    152 //    __USE_ISOC99		Define ISO C99 things.
    153 //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things.
    154 //    __USE_ISOCXX11	Define ISO C++11 things.
    155 //    __USE_POSIX		Define IEEE Std 1003.1 things.
    156 //    __USE_POSIX2		Define IEEE Std 1003.2 things.
    157 //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things.
    158 //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things.
    159 //    __USE_XOPEN		Define XPG things.
    160 //    __USE_XOPEN_EXTENDED	Define X/Open Unix things.
    161 //    __USE_UNIX98		Define Single Unix V2 things.
    162 //    __USE_XOPEN2K        Define XPG6 things.
    163 //    __USE_XOPEN2KXSI     Define XPG6 XSI things.
    164 //    __USE_XOPEN2K8       Define XPG7 things.
    165 //    __USE_XOPEN2K8XSI    Define XPG7 XSI things.
    166 //    __USE_LARGEFILE	Define correct standard I/O things.
    167 //    __USE_LARGEFILE64	Define LFS things with separate names.
    168 //    __USE_FILE_OFFSET64	Define 64bit interface as default.
    169 //    __USE_MISC		Define things from 4.3BSD or System V Unix.
    170 //    __USE_ATFILE		Define *at interfaces and AT_* constants for them.
    171 //    __USE_GNU		Define GNU extensions.
    172 //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level.
    173 //
    174 //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
    175 //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
    176 //    only for compatibility.  All new code should use the other symbols
    177 //    to test for features.
    178 //
    179 //    All macros listed above as possibly being defined by this file are
    180 //    explicitly undefined if they are not explicitly defined.
    181 //    Feature-test macros that are not defined by the user or compiler
    182 //    but are implied by the other feature-test macros defined (or by the
    183 //    lack of any definitions) are defined by the file.
    184 //
    185 //    ISO C feature test macros depend on the definition of the macro
    186 //    when an affected header is included, not when the first system
    187 //    header is included, and so they are handled in
    188 //    <bits/libc-header-start.h>, which does not have a multiple include
    189 //    guard.  Feature test macros that can be handled from the first
    190 //    system header included are handled here.
    191 
    192 // Undefine everything, so we get a clean slate.
    193 
    194 // Suppress kernel-name space pollution unless user expressedly asks
    195 //    for it.
    196 
    197 // Convenience macro to test the version of gcc.
    198 //    Use like this:
    199 //    #if __GNUC_PREREQ (2,8)
    200 //    ... code requiring gcc 2.8 or later ...
    201 //    #endif
    202 //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
    203 //    added in 2.0.
    204 
    205 // Similarly for clang.  Features added to GCC after version 4.2 may
    206 //    or may not also be available in clang, and clang's definitions of
    207 //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such
    208 //    features can be queried via __has_extension/__has_feature.
    209 
    210 // Whether to use feature set F.
    211 
    212 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
    213 //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not
    214 //    issue a warning; the expectation is that the source is being
    215 //    transitioned to use the new macro.
    216 
    217 // If _GNU_SOURCE was defined by the user, turn on all the other features.
    218 
    219 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
    220 //    define _DEFAULT_SOURCE.
    221 
    222 // This is to enable the ISO C2X extension.
    223 
    224 // This is to enable the ISO C11 extension.
    225 
    226 // This is to enable the ISO C99 extension.
    227 
    228 // This is to enable the ISO C90 Amendment 1:1995 extension.
    229 
    230 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
    231 //    is defined, use POSIX.1-2008 (or another version depending on
    232 //    _XOPEN_SOURCE).
    233 
    234 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
    235 //    defined in all multithreaded code.  GNU libc has not required this
    236 //    for many years.  We now treat them as compatibility synonyms for
    237 //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
    238 //    comprehensive support for multithreaded code.  Using them never
    239 //    lowers the selected level of POSIX conformance, only raises it.
    240 
    241 // The function 'gets' existed in C89, but is impossible to use
    242 //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for
    243 //    compatibility with various implementations of <cstdio>, this test
    244 //    must consider only the value of __cplusplus when compiling C++.
    245 
    246 // GNU formerly extended the scanf functions with modified format
    247 //    specifiers %as, %aS, and %a[...] that allocate a buffer for the
    248 //    input using malloc.  This extension conflicts with ISO C99, which
    249 //    defines %a as a standalone format specifier that reads a floating-
    250 //    point number; moreover, POSIX.1-2008 provides the same feature
    251 //    using the modifier letter 'm' instead (%ms, %mS, %m[...]).
    252 //
    253 //    We now follow C99 unless GNU extensions are active and the compiler
    254 //    is specifically in C89 or C++98 mode (strict or not).  For
    255 //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with
    256 //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
    257 //    old extension.
    258 
    259 // Get definitions of __STDC_* predefined macros, if the compiler has
    260 //    not preincluded this header automatically.
    261 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    262 //    This file is part of the GNU C Library.
    263 //
    264 //    The GNU C Library is free software; you can redistribute it and/or
    265 //    modify it under the terms of the GNU Lesser General Public
    266 //    License as published by the Free Software Foundation; either
    267 //    version 2.1 of the License, or (at your option) any later version.
    268 //
    269 //    The GNU C Library is distributed in the hope that it will be useful,
    270 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    271 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    272 //    Lesser General Public License for more details.
    273 //
    274 //    You should have received a copy of the GNU Lesser General Public
    275 //    License along with the GNU C Library; if not, see
    276 //    <https://www.gnu.org/licenses/>.
    277 
    278 // This macro indicates that the installed library is the GNU C Library.
    279 //    For historic reasons the value now is 6 and this will stay from now
    280 //    on.  The use of this variable is deprecated.  Use __GLIBC__ and
    281 //    __GLIBC_MINOR__ now (see below) when you want to test for a specific
    282 //    GNU C library version and use the values in <gnu/lib-names.h> to get
    283 //    the sonames of the shared libraries.
    284 
    285 // Major and minor version number of the GNU C library package.  Use
    286 //    these macros to test for features in specific releases.
    287 
    288 // This is here only because every header file already includes this one.
    289 // Copyright (C) 1992-2020 Free Software Foundation, Inc.
    290 //    This file is part of the GNU C Library.
    291 //
    292 //    The GNU C Library is free software; you can redistribute it and/or
    293 //    modify it under the terms of the GNU Lesser General Public
    294 //    License as published by the Free Software Foundation; either
    295 //    version 2.1 of the License, or (at your option) any later version.
    296 //
    297 //    The GNU C Library is distributed in the hope that it will be useful,
    298 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    299 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    300 //    Lesser General Public License for more details.
    301 //
    302 //    You should have received a copy of the GNU Lesser General Public
    303 //    License along with the GNU C Library; if not, see
    304 //    <https://www.gnu.org/licenses/>.
    305 
    306 // We are almost always included from features.h.
    307 
    308 // The GNU libc does not support any K&R compilers or the traditional mode
    309 //    of ISO C compilers anymore.  Check for some of the combinations not
    310 //    anymore supported.
    311 
    312 // Some user header file might have defined this before.
    313 
    314 // All functions, except those with callbacks or those that
    315 //    synchronize memory, are leaf functions.
    316 
    317 // GCC can always grok prototypes.  For C++ programs we add throw()
    318 //    to help it optimize the function calls.  But this works only with
    319 //    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
    320 //    as non-throwing using a function attribute since programs can use
    321 //    the -fexceptions options for C code as well.
    322 
    323 // Compilers that are not clang may object to
    324 //        #if defined __clang__ && __has_extension(...)
    325 //    even though they do not need to evaluate the right-hand side of the &&.
    326 
    327 // These two macros are not used in glibc anymore.  They are kept here
    328 //    only because some other projects expect the macros to be defined.
    329 
    330 // For these things, GCC behaves the ANSI way normally,
    331 //    and the non-ANSI way under -traditional.
    332 
    333 // This is not a typedef so `const __ptr_t' does the right thing.
    334 
    335 // C++ needs to know that types and declarations are C, not C++.
    336 
    337 // Fortify support.
    338 
    339 // Support for flexible arrays.
    340 //    Headers that should use flexible arrays only if they're "real"
    341 //    (e.g. only if they won't affect sizeof()) should test
    342 //    #if __glibc_c99_flexarr_available.
    343 
    344 // __asm__ ("xyz") is used throughout the headers to rename functions
    345 //    at the assembly language level.  This is wrapped by the __REDIRECT
    346 //    macro, in order to support compilers that can do this some other
    347 //    way.  When compilers don't support asm-names at all, we have to do
    348 //    preprocessor tricks instead (which don't have exactly the right
    349 //    semantics, but it's the best we can do).
    350 //
    351 //    Example:
    352 //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
    353 
    354 //
    355 // #elif __SOME_OTHER_COMPILER__
    356 //
    357 // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias)
    358 
    359 // GCC has various useful declarations that can be made with the
    360 //    `__attribute__' syntax.  All of the ways we use this do fine if
    361 //    they are omitted for compilers that don't understand it.
    362 
    363 // At some point during the gcc 2.96 development the `malloc' attribute
    364 //    for functions was introduced.  We don't want to use it unconditionally
    365 //    (although this would be possible) since it generates warnings.
    366 
    367 // Tell the compiler which arguments to an allocation function
    368 //    indicate the size of the allocation.
    369 
    370 // At some point during the gcc 2.96 development the `pure' 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 // This declaration tells the compiler that the value is constant.
    375 
    376 // At some point during the gcc 3.1 development the `used' attribute
    377 //    for functions was introduced.  We don't want to use it unconditionally
    378 //    (although this would be possible) since it generates warnings.
    379 
    380 // Since version 3.2, gcc allows marking deprecated functions.
    381 
    382 // Since version 4.5, gcc also allows one to specify the message printed
    383 //    when a deprecated function is used.  clang claims to be gcc 4.2, but
    384 //    may also support this feature.
    385 
    386 // At some point during the gcc 2.8 development the `format_arg' attribute
    387 //    for functions was introduced.  We don't want to use it unconditionally
    388 //    (although this would be possible) since it generates warnings.
    389 //    If several `format_arg' attributes are given for the same function, in
    390 //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs,
    391 //    all designated arguments are considered.
    392 
    393 // At some point during the gcc 2.97 development the `strfmon' format
    394 //    attribute for functions was introduced.  We don't want to use it
    395 //    unconditionally (although this would be possible) since it
    396 //    generates warnings.
    397 
    398 // The nonull function attribute allows to mark pointer parameters which
    399 //    must not be NULL.
    400 
    401 // If fortification mode, we warn about unused results of certain
    402 //    function calls which can lead to problems.
    403 
    404 // Forces a function to be always inlined.
    405 // The Linux kernel defines __always_inline in stddef.h (283d7573), and
    406 //    it conflicts with this definition.  Therefore undefine it first to
    407 //    allow either header to be included first.
    408 
    409 // Associate error messages with the source location of the call site rather
    410 //    than with the source location inside the function.
    411 
    412 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
    413 //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__
    414 //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
    415 //    older than 4.3 may define these macros and still not guarantee GNU inlining
    416 //    semantics.
    417 //
    418 //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
    419 //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
    420 //    __GNUC_GNU_INLINE__ macro definitions.
    421 
    422 // GCC 4.3 and above allow passing all anonymous arguments of an
    423 //    __extern_always_inline function to some other vararg function.
    424 
    425 // It is possible to compile containing GCC extensions even if GCC is
    426 //    run in pedantic mode if the uses are carefully marked using the
    427 //    `__extension__' keyword.  But this is not generally available before
    428 //    version 2.8.
    429 
    430 // __restrict is known in EGCS 1.2 and above.
    431 
    432 // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
    433 //      array_name[restrict]
    434 //    GCC 3.1 supports this.
    435 
    436 // Describes a char array whose address can safely be passed as the first
    437 //    argument to strncpy and strncat, as the char array is not necessarily
    438 //    a NUL-terminated string.
    439 
    440 // Undefine (also defined in libc-symbols.h).
    441 // Copies attributes from the declaration or type referenced by
    442 //    the argument.
    443 
    444 // Determine the wordsize from the preprocessor defines.
    445 //
    446 //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
    447 //    This file is part of the GNU C Library.
    448 //
    449 //    The GNU C Library is free software; you can redistribute it and/or
    450 //    modify it under the terms of the GNU Lesser General Public
    451 //    License as published by the Free Software Foundation; either
    452 //    version 2.1 of the License, or (at your option) any later version.
    453 //
    454 //    The GNU C Library is distributed in the hope that it will be useful,
    455 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    456 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    457 //    Lesser General Public License for more details.
    458 //
    459 //    You should have received a copy of the GNU Lesser General Public
    460 //    License along with the GNU C Library; if not, see
    461 //    <https://www.gnu.org/licenses/>.
    462 
    463 // Properties of long double type.  ldbl-128 version.
    464 //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
    465 //    This file is part of the GNU C Library.
    466 //
    467 //    The GNU C Library is free software; you can redistribute it and/or
    468 //    modify it under the terms of the GNU Lesser General Public
    469 //    License  published by the Free Software Foundation; either
    470 //    version 2.1 of the License, or (at your option) any later version.
    471 //
    472 //    The GNU C Library is distributed in the hope that it will be useful,
    473 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    474 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    475 //    Lesser General Public License for more details.
    476 //
    477 //    You should have received a copy of the GNU Lesser General Public
    478 //    License along with the GNU C Library; if not, see
    479 //    <https://www.gnu.org/licenses/>.
    480 
    481 // long double is distinct from double, so there is nothing to
    482 //    define here.
    483 
    484 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is
    485 //    intended for use in preprocessor macros.
    486 //
    487 //    Note: MESSAGE must be a _single_ string; concatenation of string
    488 //    literals is not supported.
    489 
    490 // Generic selection (ISO C11) is a C-only feature, available in GCC
    491 //    since version 4.9.  Previous versions do not provide generic
    492 //    selection, even though they might set __STDC_VERSION__ to 201112L,
    493 //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__
    494 //    when testing __STDC_VERSION__ for generic selection support.
    495 //    On the other hand, Clang also defines __GNUC__, so a clang-specific
    496 //    check is required to enable the use of generic selection.
    497 
    498 // If we don't have __REDIRECT, prototypes will be missing if
    499 //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
    500 
    501 // Decide whether we can define 'extern inline' functions in headers.
    502 
    503 // This is here only because every header file already includes this one.
    504 //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
    505 //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
    506 //    that will always return failure (and set errno to ENOSYS).
    507 // This file is automatically generated.
    508 //    This file selects the right generated file of `__stub_FUNCTION' macros
    509 //    based on the architecture being compiled for.
    510 
    511 // Determine the wordsize from the preprocessor defines.
    512 //
    513 //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
    514 //    This file is part of the GNU C Library.
    515 //
    516 //    The GNU C Library is free software; you can redistribute it and/or
    517 //    modify it under the terms of the GNU Lesser General Public
    518 //    License as published by the Free Software Foundation; either
    519 //    version 2.1 of the License, or (at your option) any later version.
    520 //
    521 //    The GNU C Library is distributed in the hope that it will be useful,
    522 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    523 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    524 //    Lesser General Public License for more details.
    525 //
    526 //    You should have received a copy of the GNU Lesser General Public
    527 //    License along with the GNU C Library; if not, see
    528 //    <https://www.gnu.org/licenses/>.
    529 
    530 // This file is automatically generated.
    531 //    It defines a symbol `__stub_FUNCTION' for each function
    532 //    in the C library which is a stub, meaning it will fail
    533 //    every time called, usually setting errno to ENOSYS.
    534 
    535 // Get the platform dependent bits of `poll'.
    536 // Copyright (C) 1997-2020 Free Software Foundation, Inc.
    537 //    This file is part of the GNU C Library.
    538 //
    539 //    The GNU C Library is free software; you can redistribute it and/or
    540 //    modify it under the terms of the GNU Lesser General Public
    541 //    License as published by the Free Software Foundation; either
    542 //    version 2.1 of the License, or (at your option) any later version.
    543 //
    544 //    The GNU C Library is distributed in the hope that it will be useful,
    545 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    546 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    547 //    Lesser General Public License for more details.
    548 //
    549 //    You should have received a copy of the GNU Lesser General Public
    550 //    License along with the GNU C Library; if not, see
    551 //    <https://www.gnu.org/licenses/>.
    552 
    553 // Event types that can be polled for.  These bits may be set in `events'
    554 //    to indicate the interesting event types; they will appear in `revents'
    555 //    to indicate the status of the file descriptor.
    556 
    557 // These values are defined in XPG4.2.
    558 
    559 // Event types always implicitly polled for.  These bits need not be set in
    560 //    `events', but they will appear in `revents' to indicate the status of
    561 //    the file descriptor.
    562 
    563 // Type used for the number of file descriptors.
    564 type Nfds_t = uint64 /* poll.h:33:27 */
    565 
    566 // Data structure describing a polling request.
    567 type Pollfd = struct {
    568 	Ffd      int32
    569 	Fevents  int16
    570 	Frevents int16
    571 } /* poll.h:36:1 */
    572 
    573 // Define some inlines helping to catch common problems.
    574 
    575 var _ uint8 /* gen.c:2:13: */