gtsocial-umbx

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

limits_linux_386.go (39745B)


      1 // Code generated by 'ccgo limits/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 limits/limits_linux_386.go -pkgname limits', DO NOT EDIT.
      2 
      3 package limits
      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 	AIO_PRIO_DELTA_MAX                   = 20
     19 	BC_BASE_MAX                          = 99
     20 	BC_DIM_MAX                           = 2048
     21 	BC_SCALE_MAX                         = 99
     22 	BC_STRING_MAX                        = 1000
     23 	CHARCLASS_NAME_MAX                   = 2048
     24 	CHAR_BIT                             = 8
     25 	CHAR_MAX                             = 127
     26 	CHAR_MIN                             = -128
     27 	COLL_WEIGHTS_MAX                     = 255
     28 	DELAYTIMER_MAX                       = 2147483647
     29 	EXPR_NEST_MAX                        = 32
     30 	HOST_NAME_MAX                        = 64
     31 	INT_MAX                              = 2147483647
     32 	INT_MIN                              = -2147483648
     33 	LINE_MAX                             = 2048
     34 	LLONG_MAX                            = 9223372036854775807
     35 	LLONG_MIN                            = -9223372036854775808
     36 	LOGIN_NAME_MAX                       = 256
     37 	LONG_MAX                             = 2147483647
     38 	LONG_MIN                             = -2147483648
     39 	MAX_CANON                            = 255
     40 	MAX_INPUT                            = 255
     41 	MB_LEN_MAX                           = 16
     42 	MQ_PRIO_MAX                          = 32768
     43 	NAME_MAX                             = 255
     44 	NGROUPS_MAX                          = 65536
     45 	PATH_MAX                             = 4096
     46 	PIPE_BUF                             = 4096
     47 	PTHREAD_DESTRUCTOR_ITERATIONS        = 4
     48 	PTHREAD_KEYS_MAX                     = 1024
     49 	PTHREAD_STACK_MIN                    = 16384
     50 	RE_DUP_MAX                           = 32767
     51 	RTSIG_MAX                            = 32
     52 	SCHAR_MAX                            = 127
     53 	SCHAR_MIN                            = -128
     54 	SEM_VALUE_MAX                        = 2147483647
     55 	SHRT_MAX                             = 32767
     56 	SHRT_MIN                             = -32768
     57 	SSIZE_MAX                            = 2147483647
     58 	TTY_NAME_MAX                         = 32
     59 	UCHAR_MAX                            = 255
     60 	UINT_MAX                             = 4294967295
     61 	ULLONG_MAX                           = 18446744073709551615
     62 	ULONG_MAX                            = 4294967295
     63 	USHRT_MAX                            = 65535
     64 	XATTR_LIST_MAX                       = 65536
     65 	XATTR_NAME_MAX                       = 255
     66 	XATTR_SIZE_MAX                       = 65536
     67 	X_ATFILE_SOURCE                      = 1
     68 	X_BITS_POSIX1_LIM_H                  = 1
     69 	X_BITS_POSIX2_LIM_H                  = 1
     70 	X_DEFAULT_SOURCE                     = 1
     71 	X_FEATURES_H                         = 1
     72 	X_FILE_OFFSET_BITS                   = 64
     73 	X_GCC_LIMITS_H_                      = 0
     74 	X_ILP32                              = 1
     75 	X_LIBC_LIMITS_H_                     = 1
     76 	X_LIMITS_H___                        = 0
     77 	X_LINUX_LIMITS_H                     = 0
     78 	X_POSIX2_BC_BASE_MAX                 = 99
     79 	X_POSIX2_BC_DIM_MAX                  = 2048
     80 	X_POSIX2_BC_SCALE_MAX                = 99
     81 	X_POSIX2_BC_STRING_MAX               = 1000
     82 	X_POSIX2_CHARCLASS_NAME_MAX          = 14
     83 	X_POSIX2_COLL_WEIGHTS_MAX            = 2
     84 	X_POSIX2_EXPR_NEST_MAX               = 32
     85 	X_POSIX2_LINE_MAX                    = 2048
     86 	X_POSIX2_RE_DUP_MAX                  = 255
     87 	X_POSIX_AIO_LISTIO_MAX               = 2
     88 	X_POSIX_AIO_MAX                      = 1
     89 	X_POSIX_ARG_MAX                      = 4096
     90 	X_POSIX_CHILD_MAX                    = 25
     91 	X_POSIX_CLOCKRES_MIN                 = 20000000
     92 	X_POSIX_C_SOURCE                     = 200809
     93 	X_POSIX_DELAYTIMER_MAX               = 32
     94 	X_POSIX_HOST_NAME_MAX                = 255
     95 	X_POSIX_LINK_MAX                     = 8
     96 	X_POSIX_LOGIN_NAME_MAX               = 9
     97 	X_POSIX_MAX_CANON                    = 255
     98 	X_POSIX_MAX_INPUT                    = 255
     99 	X_POSIX_MQ_OPEN_MAX                  = 8
    100 	X_POSIX_MQ_PRIO_MAX                  = 32
    101 	X_POSIX_NAME_MAX                     = 14
    102 	X_POSIX_NGROUPS_MAX                  = 8
    103 	X_POSIX_OPEN_MAX                     = 20
    104 	X_POSIX_PATH_MAX                     = 256
    105 	X_POSIX_PIPE_BUF                     = 512
    106 	X_POSIX_RE_DUP_MAX                   = 255
    107 	X_POSIX_RTSIG_MAX                    = 8
    108 	X_POSIX_SEM_NSEMS_MAX                = 256
    109 	X_POSIX_SEM_VALUE_MAX                = 32767
    110 	X_POSIX_SIGQUEUE_MAX                 = 32
    111 	X_POSIX_SOURCE                       = 1
    112 	X_POSIX_SSIZE_MAX                    = 32767
    113 	X_POSIX_STREAM_MAX                   = 8
    114 	X_POSIX_SYMLINK_MAX                  = 255
    115 	X_POSIX_SYMLOOP_MAX                  = 8
    116 	X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
    117 	X_POSIX_THREAD_KEYS_MAX              = 128
    118 	X_POSIX_THREAD_THREADS_MAX           = 64
    119 	X_POSIX_TIMER_MAX                    = 32
    120 	X_POSIX_TTY_NAME_MAX                 = 9
    121 	X_POSIX_TZNAME_MAX                   = 6
    122 	X_STDC_PREDEF_H                      = 1
    123 	X_SYS_CDEFS_H                        = 1
    124 	I386                                 = 1
    125 	Linux                                = 1
    126 	Unix                                 = 1
    127 )
    128 
    129 type Ptrdiff_t = int32 /* <builtin>:3:26 */
    130 
    131 type Size_t = uint32 /* <builtin>:9:23 */
    132 
    133 type Wchar_t = int32 /* <builtin>:15:24 */
    134 
    135 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    136 type X__float128 = float64        /* <builtin>:47:21 */
    137 
    138 // Copyright (C) 1992-2020 Free Software Foundation, Inc.
    139 //
    140 // This file is part of GCC.
    141 //
    142 // GCC is free software; you can redistribute it and/or modify it under
    143 // the terms of the GNU General Public License as published by the Free
    144 // Software Foundation; either version 3, or (at your option) any later
    145 // version.
    146 //
    147 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    148 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    149 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    150 // for more details.
    151 //
    152 // Under Section 7 of GPL version 3, you are granted additional
    153 // permissions described in the GCC Runtime Library Exception, version
    154 // 3.1, as published by the Free Software Foundation.
    155 //
    156 // You should have received a copy of the GNU General Public License and
    157 // a copy of the GCC Runtime Library Exception along with this program;
    158 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    159 // <http://www.gnu.org/licenses/>.
    160 
    161 // This administrivia gets added to the beginning of limits.h
    162 //    if the system has its own version of limits.h.
    163 
    164 // We use _GCC_LIMITS_H_ because we want this not to match
    165 //    any macros that the system's limits.h uses for its own purposes.
    166 
    167 // Use "..." so that we find syslimits.h only in this same directory.
    168 // syslimits.h stands for the system's own limits.h file.
    169 //    If we can use it ok unmodified, then we install this text.
    170 //    If fixincludes fixes it, then the fixed version is installed
    171 //    instead of this text.
    172 
    173 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    174 //    This file is part of the GNU C Library.
    175 //
    176 //    The GNU C Library is free software; you can redistribute it and/or
    177 //    modify it under the terms of the GNU Lesser General Public
    178 //    License as published by the Free Software Foundation; either
    179 //    version 2.1 of the License, or (at your option) any later version.
    180 //
    181 //    The GNU C Library is distributed in the hope that it will be useful,
    182 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    183 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    184 //    Lesser General Public License for more details.
    185 //
    186 //    You should have received a copy of the GNU Lesser General Public
    187 //    License along with the GNU C Library; if not, see
    188 //    <https://www.gnu.org/licenses/>.
    189 
    190 //	ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types	<limits.h>
    191 
    192 // Handle feature test macros at the start of a header.
    193 //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
    194 //    This file is part of the GNU C Library.
    195 //
    196 //    The GNU C Library is free software; you can redistribute it and/or
    197 //    modify it under the terms of the GNU Lesser General Public
    198 //    License as published by the Free Software Foundation; either
    199 //    version 2.1 of the License, or (at your option) any later version.
    200 //
    201 //    The GNU C Library is distributed in the hope that it will be useful,
    202 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    203 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    204 //    Lesser General Public License for more details.
    205 //
    206 //    You should have received a copy of the GNU Lesser General Public
    207 //    License along with the GNU C Library; if not, see
    208 //    <https://www.gnu.org/licenses/>.
    209 
    210 // This header is internal to glibc and should not be included outside
    211 //    of glibc headers.  Headers including it must define
    212 //    __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION first.  This header
    213 //    cannot have multiple include guards because ISO C feature test
    214 //    macros depend on the definition of the macro when an affected
    215 //    header is included, not when the first system header is
    216 //    included.
    217 
    218 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    219 //    This file is part of the GNU C Library.
    220 //
    221 //    The GNU C Library is free software; you can redistribute it and/or
    222 //    modify it under the terms of the GNU Lesser General Public
    223 //    License as published by the Free Software Foundation; either
    224 //    version 2.1 of the License, or (at your option) any later version.
    225 //
    226 //    The GNU C Library is distributed in the hope that it will be useful,
    227 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    228 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    229 //    Lesser General Public License for more details.
    230 //
    231 //    You should have received a copy of the GNU Lesser General Public
    232 //    License along with the GNU C Library; if not, see
    233 //    <https://www.gnu.org/licenses/>.
    234 
    235 // These are defined by the user (or the compiler)
    236 //    to specify the desired environment:
    237 //
    238 //    __STRICT_ANSI__	ISO Standard C.
    239 //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99.
    240 //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11.
    241 //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X.
    242 //    __STDC_WANT_LIB_EXT2__
    243 // 			Extensions to ISO C99 from TR 27431-2:2010.
    244 //    __STDC_WANT_IEC_60559_BFP_EXT__
    245 // 			Extensions to ISO C11 from TS 18661-1:2014.
    246 //    __STDC_WANT_IEC_60559_FUNCS_EXT__
    247 // 			Extensions to ISO C11 from TS 18661-4:2015.
    248 //    __STDC_WANT_IEC_60559_TYPES_EXT__
    249 // 			Extensions to ISO C11 from TS 18661-3:2015.
    250 //
    251 //    _POSIX_SOURCE	IEEE Std 1003.1.
    252 //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
    253 // 			if >=199309L, add IEEE Std 1003.1b-1993;
    254 // 			if >=199506L, add IEEE Std 1003.1c-1995;
    255 // 			if >=200112L, all of IEEE 1003.1-2004
    256 // 			if >=200809L, all of IEEE 1003.1-2008
    257 //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if
    258 // 			Single Unix conformance is wanted, to 600 for the
    259 // 			sixth revision, to 700 for the seventh revision.
    260 //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
    261 //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O.
    262 //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files.
    263 //    _FILE_OFFSET_BITS=N	Select default filesystem interface.
    264 //    _ATFILE_SOURCE	Additional *at interfaces.
    265 //    _GNU_SOURCE		All of the above, plus GNU extensions.
    266 //    _DEFAULT_SOURCE	The default set of features (taking precedence over
    267 // 			__STRICT_ANSI__).
    268 //
    269 //    _FORTIFY_SOURCE	Add security hardening to many library functions.
    270 // 			Set to 1 or 2; 2 performs stricter checks than 1.
    271 //
    272 //    _REENTRANT, _THREAD_SAFE
    273 // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
    274 //
    275 //    The `-ansi' switch to the GNU C compiler, and standards conformance
    276 //    options such as `-std=c99', define __STRICT_ANSI__.  If none of
    277 //    these are defined, or if _DEFAULT_SOURCE is defined, the default is
    278 //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
    279 //    200809L, as well as enabling miscellaneous functions from BSD and
    280 //    SVID.  If more than one of these are defined, they accumulate.  For
    281 //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
    282 //    give you ISO C, 1003.1, and 1003.2, but nothing else.
    283 //
    284 //    These are defined by this file and are used by the
    285 //    header files to decide what to declare or define:
    286 //
    287 //    __GLIBC_USE (F)	Define things from feature set F.  This is defined
    288 // 			to 1 or 0; the subsequent macros are either defined
    289 // 			or undefined, and those tests should be moved to
    290 // 			__GLIBC_USE.
    291 //    __USE_ISOC11		Define ISO C11 things.
    292 //    __USE_ISOC99		Define ISO C99 things.
    293 //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things.
    294 //    __USE_ISOCXX11	Define ISO C++11 things.
    295 //    __USE_POSIX		Define IEEE Std 1003.1 things.
    296 //    __USE_POSIX2		Define IEEE Std 1003.2 things.
    297 //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things.
    298 //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things.
    299 //    __USE_XOPEN		Define XPG things.
    300 //    __USE_XOPEN_EXTENDED	Define X/Open Unix things.
    301 //    __USE_UNIX98		Define Single Unix V2 things.
    302 //    __USE_XOPEN2K        Define XPG6 things.
    303 //    __USE_XOPEN2KXSI     Define XPG6 XSI things.
    304 //    __USE_XOPEN2K8       Define XPG7 things.
    305 //    __USE_XOPEN2K8XSI    Define XPG7 XSI things.
    306 //    __USE_LARGEFILE	Define correct standard I/O things.
    307 //    __USE_LARGEFILE64	Define LFS things with separate names.
    308 //    __USE_FILE_OFFSET64	Define 64bit interface as default.
    309 //    __USE_MISC		Define things from 4.3BSD or System V Unix.
    310 //    __USE_ATFILE		Define *at interfaces and AT_* constants for them.
    311 //    __USE_GNU		Define GNU extensions.
    312 //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level.
    313 //
    314 //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
    315 //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
    316 //    only for compatibility.  All new code should use the other symbols
    317 //    to test for features.
    318 //
    319 //    All macros listed above as possibly being defined by this file are
    320 //    explicitly undefined if they are not explicitly defined.
    321 //    Feature-test macros that are not defined by the user or compiler
    322 //    but are implied by the other feature-test macros defined (or by the
    323 //    lack of any definitions) are defined by the file.
    324 //
    325 //    ISO C feature test macros depend on the definition of the macro
    326 //    when an affected header is included, not when the first system
    327 //    header is included, and so they are handled in
    328 //    <bits/libc-header-start.h>, which does not have a multiple include
    329 //    guard.  Feature test macros that can be handled from the first
    330 //    system header included are handled here.
    331 
    332 // Undefine everything, so we get a clean slate.
    333 
    334 // Suppress kernel-name space pollution unless user expressedly asks
    335 //    for it.
    336 
    337 // Convenience macro to test the version of gcc.
    338 //    Use like this:
    339 //    #if __GNUC_PREREQ (2,8)
    340 //    ... code requiring gcc 2.8 or later ...
    341 //    #endif
    342 //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
    343 //    added in 2.0.
    344 
    345 // Similarly for clang.  Features added to GCC after version 4.2 may
    346 //    or may not also be available in clang, and clang's definitions of
    347 //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such
    348 //    features can be queried via __has_extension/__has_feature.
    349 
    350 // Whether to use feature set F.
    351 
    352 // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
    353 //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not
    354 //    issue a warning; the expectation is that the source is being
    355 //    transitioned to use the new macro.
    356 
    357 // If _GNU_SOURCE was defined by the user, turn on all the other features.
    358 
    359 // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
    360 //    define _DEFAULT_SOURCE.
    361 
    362 // This is to enable the ISO C2X extension.
    363 
    364 // This is to enable the ISO C11 extension.
    365 
    366 // This is to enable the ISO C99 extension.
    367 
    368 // This is to enable the ISO C90 Amendment 1:1995 extension.
    369 
    370 // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
    371 //    is defined, use POSIX.1-2008 (or another version depending on
    372 //    _XOPEN_SOURCE).
    373 
    374 // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
    375 //    defined in all multithreaded code.  GNU libc has not required this
    376 //    for many years.  We now treat them as compatibility synonyms for
    377 //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
    378 //    comprehensive support for multithreaded code.  Using them never
    379 //    lowers the selected level of POSIX conformance, only raises it.
    380 
    381 // The function 'gets' existed in C89, but is impossible to use
    382 //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for
    383 //    compatibility with various implementations of <cstdio>, this test
    384 //    must consider only the value of __cplusplus when compiling C++.
    385 
    386 // GNU formerly extended the scanf functions with modified format
    387 //    specifiers %as, %aS, and %a[...] that allocate a buffer for the
    388 //    input using malloc.  This extension conflicts with ISO C99, which
    389 //    defines %a as a standalone format specifier that reads a floating-
    390 //    point number; moreover, POSIX.1-2008 provides the same feature
    391 //    using the modifier letter 'm' instead (%ms, %mS, %m[...]).
    392 //
    393 //    We now follow C99 unless GNU extensions are active and the compiler
    394 //    is specifically in C89 or C++98 mode (strict or not).  For
    395 //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with
    396 //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
    397 //    old extension.
    398 
    399 // Get definitions of __STDC_* predefined macros, if the compiler has
    400 //    not preincluded this header automatically.
    401 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    402 //    This file is part of the GNU C Library.
    403 //
    404 //    The GNU C Library is free software; you can redistribute it and/or
    405 //    modify it under the terms of the GNU Lesser General Public
    406 //    License as published by the Free Software Foundation; either
    407 //    version 2.1 of the License, or (at your option) any later version.
    408 //
    409 //    The GNU C Library is distributed in the hope that it will be useful,
    410 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    411 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    412 //    Lesser General Public License for more details.
    413 //
    414 //    You should have received a copy of the GNU Lesser General Public
    415 //    License along with the GNU C Library; if not, see
    416 //    <https://www.gnu.org/licenses/>.
    417 
    418 // This macro indicates that the installed library is the GNU C Library.
    419 //    For historic reasons the value now is 6 and this will stay from now
    420 //    on.  The use of this variable is deprecated.  Use __GLIBC__ and
    421 //    __GLIBC_MINOR__ now (see below) when you want to test for a specific
    422 //    GNU C library version and use the values in <gnu/lib-names.h> to get
    423 //    the sonames of the shared libraries.
    424 
    425 // Major and minor version number of the GNU C library package.  Use
    426 //    these macros to test for features in specific releases.
    427 
    428 // This is here only because every header file already includes this one.
    429 // Copyright (C) 1992-2020 Free Software Foundation, Inc.
    430 //    This file is part of the GNU C Library.
    431 //
    432 //    The GNU C Library is free software; you can redistribute it and/or
    433 //    modify it under the terms of the GNU Lesser General Public
    434 //    License as published by the Free Software Foundation; either
    435 //    version 2.1 of the License, or (at your option) any later version.
    436 //
    437 //    The GNU C Library is distributed in the hope that it will be useful,
    438 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    439 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    440 //    Lesser General Public License for more details.
    441 //
    442 //    You should have received a copy of the GNU Lesser General Public
    443 //    License along with the GNU C Library; if not, see
    444 //    <https://www.gnu.org/licenses/>.
    445 
    446 // We are almost always included from features.h.
    447 
    448 // The GNU libc does not support any K&R compilers or the traditional mode
    449 //    of ISO C compilers anymore.  Check for some of the combinations not
    450 //    anymore supported.
    451 
    452 // Some user header file might have defined this before.
    453 
    454 // All functions, except those with callbacks or those that
    455 //    synchronize memory, are leaf functions.
    456 
    457 // GCC can always grok prototypes.  For C++ programs we add throw()
    458 //    to help it optimize the function calls.  But this works only with
    459 //    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
    460 //    as non-throwing using a function attribute since programs can use
    461 //    the -fexceptions options for C code as well.
    462 
    463 // Compilers that are not clang may object to
    464 //        #if defined __clang__ && __has_extension(...)
    465 //    even though they do not need to evaluate the right-hand side of the &&.
    466 
    467 // These two macros are not used in glibc anymore.  They are kept here
    468 //    only because some other projects expect the macros to be defined.
    469 
    470 // For these things, GCC behaves the ANSI way normally,
    471 //    and the non-ANSI way under -traditional.
    472 
    473 // This is not a typedef so `const __ptr_t' does the right thing.
    474 
    475 // C++ needs to know that types and declarations are C, not C++.
    476 
    477 // Fortify support.
    478 
    479 // Support for flexible arrays.
    480 //    Headers that should use flexible arrays only if they're "real"
    481 //    (e.g. only if they won't affect sizeof()) should test
    482 //    #if __glibc_c99_flexarr_available.
    483 
    484 // __asm__ ("xyz") is used throughout the headers to rename functions
    485 //    at the assembly language level.  This is wrapped by the __REDIRECT
    486 //    macro, in order to support compilers that can do this some other
    487 //    way.  When compilers don't support asm-names at all, we have to do
    488 //    preprocessor tricks instead (which don't have exactly the right
    489 //    semantics, but it's the best we can do).
    490 //
    491 //    Example:
    492 //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
    493 
    494 //
    495 // #elif __SOME_OTHER_COMPILER__
    496 //
    497 // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias)
    498 
    499 // GCC has various useful declarations that can be made with the
    500 //    `__attribute__' syntax.  All of the ways we use this do fine if
    501 //    they are omitted for compilers that don't understand it.
    502 
    503 // At some point during the gcc 2.96 development the `malloc' attribute
    504 //    for functions was introduced.  We don't want to use it unconditionally
    505 //    (although this would be possible) since it generates warnings.
    506 
    507 // Tell the compiler which arguments to an allocation function
    508 //    indicate the size of the allocation.
    509 
    510 // At some point during the gcc 2.96 development the `pure' attribute
    511 //    for functions was introduced.  We don't want to use it unconditionally
    512 //    (although this would be possible) since it generates warnings.
    513 
    514 // This declaration tells the compiler that the value is constant.
    515 
    516 // At some point during the gcc 3.1 development the `used' attribute
    517 //    for functions was introduced.  We don't want to use it unconditionally
    518 //    (although this would be possible) since it generates warnings.
    519 
    520 // Since version 3.2, gcc allows marking deprecated functions.
    521 
    522 // Since version 4.5, gcc also allows one to specify the message printed
    523 //    when a deprecated function is used.  clang claims to be gcc 4.2, but
    524 //    may also support this feature.
    525 
    526 // At some point during the gcc 2.8 development the `format_arg' attribute
    527 //    for functions was introduced.  We don't want to use it unconditionally
    528 //    (although this would be possible) since it generates warnings.
    529 //    If several `format_arg' attributes are given for the same function, in
    530 //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs,
    531 //    all designated arguments are considered.
    532 
    533 // At some point during the gcc 2.97 development the `strfmon' format
    534 //    attribute for functions was introduced.  We don't want to use it
    535 //    unconditionally (although this would be possible) since it
    536 //    generates warnings.
    537 
    538 // The nonull function attribute allows to mark pointer parameters which
    539 //    must not be NULL.
    540 
    541 // If fortification mode, we warn about unused results of certain
    542 //    function calls which can lead to problems.
    543 
    544 // Forces a function to be always inlined.
    545 // The Linux kernel defines __always_inline in stddef.h (283d7573), and
    546 //    it conflicts with this definition.  Therefore undefine it first to
    547 //    allow either header to be included first.
    548 
    549 // Associate error messages with the source location of the call site rather
    550 //    than with the source location inside the function.
    551 
    552 // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
    553 //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__
    554 //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
    555 //    older than 4.3 may define these macros and still not guarantee GNU inlining
    556 //    semantics.
    557 //
    558 //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
    559 //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
    560 //    __GNUC_GNU_INLINE__ macro definitions.
    561 
    562 // GCC 4.3 and above allow passing all anonymous arguments of an
    563 //    __extern_always_inline function to some other vararg function.
    564 
    565 // It is possible to compile containing GCC extensions even if GCC is
    566 //    run in pedantic mode if the uses are carefully marked using the
    567 //    `__extension__' keyword.  But this is not generally available before
    568 //    version 2.8.
    569 
    570 // __restrict is known in EGCS 1.2 and above.
    571 
    572 // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
    573 //      array_name[restrict]
    574 //    GCC 3.1 supports this.
    575 
    576 // Describes a char array whose address can safely be passed as the first
    577 //    argument to strncpy and strncat, as the char array is not necessarily
    578 //    a NUL-terminated string.
    579 
    580 // Undefine (also defined in libc-symbols.h).
    581 // Copies attributes from the declaration or type referenced by
    582 //    the argument.
    583 
    584 // Determine the wordsize from the preprocessor defines.
    585 
    586 // Properties of long double type.  ldbl-96 version.
    587 //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
    588 //    This file is part of the GNU C Library.
    589 //
    590 //    The GNU C Library is free software; you can redistribute it and/or
    591 //    modify it under the terms of the GNU Lesser General Public
    592 //    License  published by the Free Software Foundation; either
    593 //    version 2.1 of the License, or (at your option) any later version.
    594 //
    595 //    The GNU C Library is distributed in the hope that it will be useful,
    596 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    597 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    598 //    Lesser General Public License for more details.
    599 //
    600 //    You should have received a copy of the GNU Lesser General Public
    601 //    License along with the GNU C Library; if not, see
    602 //    <https://www.gnu.org/licenses/>.
    603 
    604 // long double is distinct from double, so there is nothing to
    605 //    define here.
    606 
    607 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is
    608 //    intended for use in preprocessor macros.
    609 //
    610 //    Note: MESSAGE must be a _single_ string; concatenation of string
    611 //    literals is not supported.
    612 
    613 // Generic selection (ISO C11) is a C-only feature, available in GCC
    614 //    since version 4.9.  Previous versions do not provide generic
    615 //    selection, even though they might set __STDC_VERSION__ to 201112L,
    616 //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__
    617 //    when testing __STDC_VERSION__ for generic selection support.
    618 //    On the other hand, Clang also defines __GNUC__, so a clang-specific
    619 //    check is required to enable the use of generic selection.
    620 
    621 // If we don't have __REDIRECT, prototypes will be missing if
    622 //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
    623 
    624 // Decide whether we can define 'extern inline' functions in headers.
    625 
    626 // This is here only because every header file already includes this one.
    627 //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
    628 //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
    629 //    that will always return failure (and set errno to ENOSYS).
    630 // This file is automatically generated.
    631 //    This file selects the right generated file of `__stub_FUNCTION' macros
    632 //    based on the architecture being compiled for.
    633 
    634 // This file is automatically generated.
    635 //    It defines a symbol `__stub_FUNCTION' for each function
    636 //    in the C library which is a stub, meaning it will fail
    637 //    every time called, usually setting errno to ENOSYS.
    638 
    639 // ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__
    640 //    macro.
    641 
    642 // ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
    643 //    macro.  Most but not all symbols enabled by that macro in TS
    644 //    18661-1 are enabled unconditionally in C2X; the symbols in Annex F
    645 //    still require that macro in C2X.
    646 
    647 // ISO/IEC TS 18661-4:2015 defines the
    648 //    __STDC_WANT_IEC_60559_FUNCS_EXT__ macro.  Other than the reduction
    649 //    functions, the symbols from this TS are enabled unconditionally in
    650 //    C2X.
    651 
    652 // ISO/IEC TS 18661-3:2015 defines the
    653 //    __STDC_WANT_IEC_60559_TYPES_EXT__ macro.
    654 
    655 // Maximum length of any multibyte character in any locale.
    656 //    We define this value here since the gcc header does not define
    657 //    the correct value.
    658 
    659 // If we are not using GNU CC we have to define all the symbols ourself.
    660 //    Otherwise use gcc's definitions (see below).
    661 
    662 // Get the compiler's limits.h, which defines almost all the ISO constants.
    663 //
    664 //     We put this #include_next outside the double inclusion check because
    665 //     it should be possible to include this file more than once and still get
    666 //     the definitions from gcc's header.
    667 
    668 // The <limits.h> files in some gcc versions don't define LLONG_MIN,
    669 //    LLONG_MAX, and ULLONG_MAX.  Instead only the values gcc defined for
    670 //    ages are available.
    671 
    672 // The integer width macros are not defined by GCC's <limits.h> before
    673 //    GCC 7, or if _GNU_SOURCE rather than
    674 //    __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature.
    675 
    676 // POSIX adds things to <limits.h>.
    677 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    678 //    This file is part of the GNU C Library.
    679 //
    680 //    The GNU C Library is free software; you can redistribute it and/or
    681 //    modify it under the terms of the GNU Lesser General Public
    682 //    License as published by the Free Software Foundation; either
    683 //    version 2.1 of the License, or (at your option) any later version.
    684 //
    685 //    The GNU C Library is distributed in the hope that it will be useful,
    686 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    687 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    688 //    Lesser General Public License for more details.
    689 //
    690 //    You should have received a copy of the GNU Lesser General Public
    691 //    License along with the GNU C Library; if not, see
    692 //    <https://www.gnu.org/licenses/>.
    693 
    694 //	POSIX Standard: 2.9.2 Minimum Values	Added to <limits.h>
    695 //
    696 //	Never include this file directly; use <limits.h> instead.
    697 
    698 // Determine the wordsize from the preprocessor defines.
    699 
    700 // These are the standard-mandated minimum values.
    701 
    702 // Minimum number of operations in one list I/O call.
    703 
    704 // Minimal number of outstanding asynchronous I/O operations.
    705 
    706 // Maximum length of arguments to `execve', including environment.
    707 
    708 // Maximum simultaneous processes per real user ID.
    709 
    710 // Minimal number of timer expiration overruns.
    711 
    712 // Maximum length of a host name (not including the terminating null)
    713 //    as returned from the GETHOSTNAME function.
    714 
    715 // Maximum link count of a file.
    716 
    717 // Maximum length of login name.
    718 
    719 // Number of bytes in a terminal canonical input queue.
    720 
    721 // Number of bytes for which space will be
    722 //    available in a terminal input queue.
    723 
    724 // Maximum number of message queues open for a process.
    725 
    726 // Maximum number of supported message priorities.
    727 
    728 // Number of bytes in a filename.
    729 
    730 // Number of simultaneous supplementary group IDs per process.
    731 
    732 // Number of files one process can have open at once.
    733 
    734 // Number of bytes in a pathname.
    735 
    736 // Number of bytes than can be written atomically to a pipe.
    737 
    738 // The number of repeated occurrences of a BRE permitted by the
    739 //    REGEXEC and REGCOMP functions when using the interval notation.
    740 
    741 // Minimal number of realtime signals reserved for the application.
    742 
    743 // Number of semaphores a process can have.
    744 
    745 // Maximal value of a semaphore.
    746 
    747 // Number of pending realtime signals.
    748 
    749 // Largest value of a `ssize_t'.
    750 
    751 // Number of streams a process can have open at once.
    752 
    753 // The number of bytes in a symbolic link.
    754 
    755 // The number of symbolic links that can be traversed in the
    756 //    resolution of a pathname in the absence of a loop.
    757 
    758 // Number of timer for a process.
    759 
    760 // Maximum number of characters in a tty name.
    761 
    762 // Maximum length of a timezone name (element of `tzname').
    763 
    764 // Maximum clock resolution in nanoseconds.
    765 
    766 // Get the implementation-specific values for the above.
    767 // Minimum guaranteed maximum values for system limits.  Linux version.
    768 //    Copyright (C) 1993-2020 Free Software Foundation, Inc.
    769 //    This file is part of the GNU C Library.
    770 //
    771 //    The GNU C Library is free software; you can redistribute it and/or
    772 //    modify it under the terms of the GNU Lesser General Public License as
    773 //    published by the Free Software Foundation; either version 2.1 of the
    774 //    License, or (at your option) any later version.
    775 //
    776 //    The GNU C Library is distributed in the hope that it will be useful,
    777 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    778 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    779 //    Lesser General Public License for more details.
    780 //
    781 //    You should have received a copy of the GNU Lesser General Public
    782 //    License along with the GNU C Library; see the file COPYING.LIB.  If
    783 //    not, see <https://www.gnu.org/licenses/>.
    784 
    785 // The kernel header pollutes the namespace with the NR_OPEN symbol
    786 //    and defines LINK_MAX although filesystems have different maxima.  A
    787 //    similar thing is true for OPEN_MAX: the limit can be changed at
    788 //    runtime and therefore the macro must not be defined.  Remove this
    789 //    after including the header if necessary.
    790 
    791 // The kernel sources contain a file with all the needed information.
    792 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
    793 
    794 // Have to remove NR_OPEN?
    795 // Have to remove LINK_MAX?
    796 // Have to remove OPEN_MAX?
    797 // Have to remove ARG_MAX?
    798 
    799 // The number of data keys per process.
    800 // This is the value this implementation supports.
    801 
    802 // Controlling the iterations of destructors for thread-specific data.
    803 // Number of iterations this implementation does.
    804 
    805 // The number of threads per process.
    806 // We have no predefined limit on the number of threads.
    807 
    808 // Maximum amount by which a process can descrease its asynchronous I/O
    809 //    priority level.
    810 
    811 // Minimum size for a thread.  We are free to choose a reasonable value.
    812 
    813 // Maximum number of timer expiration overruns.
    814 
    815 // Maximum tty name length.
    816 
    817 // Maximum login name length.  This is arbitrary.
    818 
    819 // Maximum host name length.
    820 
    821 // Maximum message queue priority level.
    822 
    823 // Maximum value the semaphore can have.
    824 
    825 // ssize_t is not formally required to be the signed type
    826 //    corresponding to size_t, but it is for all configurations supported
    827 //    by glibc.
    828 
    829 // This value is a guaranteed minimum maximum.
    830 //    The current maximum can be got from `sysconf'.
    831 
    832 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    833 //    This file is part of the GNU C Library.
    834 //
    835 //    The GNU C Library is free software; you can redistribute it and/or
    836 //    modify it under the terms of the GNU Lesser General Public
    837 //    License as published by the Free Software Foundation; either
    838 //    version 2.1 of the License, or (at your option) any later version.
    839 //
    840 //    The GNU C Library is distributed in the hope that it will be useful,
    841 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    842 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    843 //    Lesser General Public License for more details.
    844 //
    845 //    You should have received a copy of the GNU Lesser General Public
    846 //    License along with the GNU C Library; if not, see
    847 //    <https://www.gnu.org/licenses/>.
    848 
    849 // Never include this file directly; include <limits.h> instead.
    850 
    851 // The maximum `ibase' and `obase' values allowed by the `bc' utility.
    852 
    853 // The maximum number of elements allowed in an array by the `bc' utility.
    854 
    855 // The maximum `scale' value allowed by the `bc' utility.
    856 
    857 // The maximum length of a string constant accepted by the `bc' utility.
    858 
    859 // The maximum number of weights that can be assigned to an entry of
    860 //    the LC_COLLATE `order' keyword in the locale definition file.
    861 
    862 // The maximum number of expressions that can be nested
    863 //    within parentheses by the `expr' utility.
    864 
    865 // The maximum length, in bytes, of an input line.
    866 
    867 // The maximum number of repeated occurrences of a regular expression
    868 //    permitted when using the interval notation `\{M,N\}'.
    869 
    870 // The maximum number of bytes in a character class name.  We have no
    871 //    fixed limit, 2048 is a high number.
    872 
    873 // These values are implementation-specific,
    874 //    and may vary within the implementation.
    875 //    Their precise values can be obtained from sysconf.
    876 
    877 // This value is defined like this in regex.h.
    878 
    879 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    880 //
    881 // This file is part of GCC.
    882 //
    883 // GCC is free software; you can redistribute it and/or modify it under
    884 // the terms of the GNU General Public License as published by the Free
    885 // Software Foundation; either version 3, or (at your option) any later
    886 // version.
    887 //
    888 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    889 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    890 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    891 // for more details.
    892 //
    893 // Under Section 7 of GPL version 3, you are granted additional
    894 // permissions described in the GCC Runtime Library Exception, version
    895 // 3.1, as published by the Free Software Foundation.
    896 //
    897 // You should have received a copy of the GNU General Public License and
    898 // a copy of the GCC Runtime Library Exception along with this program;
    899 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    900 // <http://www.gnu.org/licenses/>.
    901 
    902 // Number of bits in a `char'.
    903 
    904 // Maximum length of a multibyte character.
    905 
    906 // Minimum and maximum values a `signed char' can hold.
    907 
    908 // Maximum value an `unsigned char' can hold.  (Minimum is 0).
    909 
    910 // Minimum and maximum values a `char' can hold.
    911 
    912 // Minimum and maximum values a `signed short int' can hold.
    913 
    914 // Maximum value an `unsigned short int' can hold.  (Minimum is 0).
    915 
    916 // Minimum and maximum values a `signed int' can hold.
    917 
    918 // Maximum value an `unsigned int' can hold.  (Minimum is 0).
    919 
    920 // Minimum and maximum values a `signed long int' can hold.
    921 //    (Same as `int').
    922 
    923 // Maximum value an `unsigned long int' can hold.  (Minimum is 0).
    924 
    925 // Minimum and maximum values a `signed long long int' can hold.
    926 
    927 // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
    928 
    929 // This administrivia gets added to the end of limits.h
    930 //    if the system has its own version of limits.h.
    931 
    932 var _ int8 /* gen.c:2:13: */