gtsocial-umbx

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

limits_linux_amd64.go (44098B)


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