limits_linux_s390x.go (39952B)
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_s390x.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 = 255 26 CHAR_MIN = 0 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 = 9223372036854775807 38 LONG_MIN = -9223372036854775808 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 = 9223372036854775807 58 TTY_NAME_MAX = 32 59 UCHAR_MAX = 255 60 UINT_MAX = 4294967295 61 ULLONG_MAX = 18446744073709551615 62 ULONG_MAX = 18446744073709551615 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_LIBC_LIMITS_H_ = 1 75 X_LIMITS_H___ = 0 76 X_LINUX_LIMITS_H = 0 77 X_LP64 = 1 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 Linux = 1 125 Unix = 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 // Properties of long double type. ldbl-opt version. 595 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 596 // This file is part of the GNU C Library. 597 // 598 // The GNU C Library is free software; you can redistribute it and/or 599 // modify it under the terms of the GNU Lesser General Public 600 // License published by the Free Software Foundation; either 601 // version 2.1 of the License, or (at your option) any later version. 602 // 603 // The GNU C Library is distributed in the hope that it will be useful, 604 // but WITHOUT ANY WARRANTY; without even the implied warranty of 605 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 606 // Lesser General Public License for more details. 607 // 608 // You should have received a copy of the GNU Lesser General Public 609 // License along with the GNU C Library; if not, see 610 // <https://www.gnu.org/licenses/>. 611 612 // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is 613 // intended for use in preprocessor macros. 614 // 615 // Note: MESSAGE must be a _single_ string; concatenation of string 616 // literals is not supported. 617 618 // Generic selection (ISO C11) is a C-only feature, available in GCC 619 // since version 4.9. Previous versions do not provide generic 620 // selection, even though they might set __STDC_VERSION__ to 201112L, 621 // when in -std=c11 mode. Thus, we must check for !defined __GNUC__ 622 // when testing __STDC_VERSION__ for generic selection support. 623 // On the other hand, Clang also defines __GNUC__, so a clang-specific 624 // check is required to enable the use of generic selection. 625 626 // If we don't have __REDIRECT, prototypes will be missing if 627 // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. 628 629 // Decide whether we can define 'extern inline' functions in headers. 630 631 // This is here only because every header file already includes this one. 632 // Get the definitions of all the appropriate `__stub_FUNCTION' symbols. 633 // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub 634 // that will always return failure (and set errno to ENOSYS). 635 // This file is automatically generated. 636 // This file selects the right generated file of `__stub_FUNCTION' macros 637 // based on the architecture being compiled for. 638 639 // Determine the wordsize from the preprocessor defines. 640 641 // This file is automatically generated. 642 // It defines a symbol `__stub_FUNCTION' for each function 643 // in the C library which is a stub, meaning it will fail 644 // every time called, usually setting errno to ENOSYS. 645 646 // ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__ 647 // macro. 648 649 // ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__ 650 // macro. Most but not all symbols enabled by that macro in TS 651 // 18661-1 are enabled unconditionally in C2X; the symbols in Annex F 652 // still require that macro in C2X. 653 654 // ISO/IEC TS 18661-4:2015 defines the 655 // __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction 656 // functions, the symbols from this TS are enabled unconditionally in 657 // C2X. 658 659 // ISO/IEC TS 18661-3:2015 defines the 660 // __STDC_WANT_IEC_60559_TYPES_EXT__ macro. 661 662 // Maximum length of any multibyte character in any locale. 663 // We define this value here since the gcc header does not define 664 // the correct value. 665 666 // If we are not using GNU CC we have to define all the symbols ourself. 667 // Otherwise use gcc's definitions (see below). 668 669 // Get the compiler's limits.h, which defines almost all the ISO constants. 670 // 671 // We put this #include_next outside the double inclusion check because 672 // it should be possible to include this file more than once and still get 673 // the definitions from gcc's header. 674 675 // The <limits.h> files in some gcc versions don't define LLONG_MIN, 676 // LLONG_MAX, and ULLONG_MAX. Instead only the values gcc defined for 677 // ages are available. 678 679 // The integer width macros are not defined by GCC's <limits.h> before 680 // GCC 7, or if _GNU_SOURCE rather than 681 // __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature. 682 683 // POSIX adds things to <limits.h>. 684 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 685 // This file is part of the GNU C Library. 686 // 687 // The GNU C Library is free software; you can redistribute it and/or 688 // modify it under the terms of the GNU Lesser General Public 689 // License as published by the Free Software Foundation; either 690 // version 2.1 of the License, or (at your option) any later version. 691 // 692 // The GNU C Library is distributed in the hope that it will be useful, 693 // but WITHOUT ANY WARRANTY; without even the implied warranty of 694 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 695 // Lesser General Public License for more details. 696 // 697 // You should have received a copy of the GNU Lesser General Public 698 // License along with the GNU C Library; if not, see 699 // <https://www.gnu.org/licenses/>. 700 701 // POSIX Standard: 2.9.2 Minimum Values Added to <limits.h> 702 // 703 // Never include this file directly; use <limits.h> instead. 704 705 // Determine the wordsize from the preprocessor defines. 706 707 // These are the standard-mandated minimum values. 708 709 // Minimum number of operations in one list I/O call. 710 711 // Minimal number of outstanding asynchronous I/O operations. 712 713 // Maximum length of arguments to `execve', including environment. 714 715 // Maximum simultaneous processes per real user ID. 716 717 // Minimal number of timer expiration overruns. 718 719 // Maximum length of a host name (not including the terminating null) 720 // as returned from the GETHOSTNAME function. 721 722 // Maximum link count of a file. 723 724 // Maximum length of login name. 725 726 // Number of bytes in a terminal canonical input queue. 727 728 // Number of bytes for which space will be 729 // available in a terminal input queue. 730 731 // Maximum number of message queues open for a process. 732 733 // Maximum number of supported message priorities. 734 735 // Number of bytes in a filename. 736 737 // Number of simultaneous supplementary group IDs per process. 738 739 // Number of files one process can have open at once. 740 741 // Number of bytes in a pathname. 742 743 // Number of bytes than can be written atomically to a pipe. 744 745 // The number of repeated occurrences of a BRE permitted by the 746 // REGEXEC and REGCOMP functions when using the interval notation. 747 748 // Minimal number of realtime signals reserved for the application. 749 750 // Number of semaphores a process can have. 751 752 // Maximal value of a semaphore. 753 754 // Number of pending realtime signals. 755 756 // Largest value of a `ssize_t'. 757 758 // Number of streams a process can have open at once. 759 760 // The number of bytes in a symbolic link. 761 762 // The number of symbolic links that can be traversed in the 763 // resolution of a pathname in the absence of a loop. 764 765 // Number of timer for a process. 766 767 // Maximum number of characters in a tty name. 768 769 // Maximum length of a timezone name (element of `tzname'). 770 771 // Maximum clock resolution in nanoseconds. 772 773 // Get the implementation-specific values for the above. 774 // Minimum guaranteed maximum values for system limits. Linux version. 775 // Copyright (C) 1993-2020 Free Software Foundation, Inc. 776 // This file is part of the GNU C Library. 777 // 778 // The GNU C Library is free software; you can redistribute it and/or 779 // modify it under the terms of the GNU Lesser General Public License as 780 // published by the Free Software Foundation; either version 2.1 of the 781 // License, or (at your option) any later version. 782 // 783 // The GNU C Library is distributed in the hope that it will be useful, 784 // but WITHOUT ANY WARRANTY; without even the implied warranty of 785 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 786 // Lesser General Public License for more details. 787 // 788 // You should have received a copy of the GNU Lesser General Public 789 // License along with the GNU C Library; see the file COPYING.LIB. If 790 // not, see <https://www.gnu.org/licenses/>. 791 792 // The kernel header pollutes the namespace with the NR_OPEN symbol 793 // and defines LINK_MAX although filesystems have different maxima. A 794 // similar thing is true for OPEN_MAX: the limit can be changed at 795 // runtime and therefore the macro must not be defined. Remove this 796 // after including the header if necessary. 797 798 // The kernel sources contain a file with all the needed information. 799 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 800 801 // Have to remove NR_OPEN? 802 // Have to remove LINK_MAX? 803 // Have to remove OPEN_MAX? 804 // Have to remove ARG_MAX? 805 806 // The number of data keys per process. 807 // This is the value this implementation supports. 808 809 // Controlling the iterations of destructors for thread-specific data. 810 // Number of iterations this implementation does. 811 812 // The number of threads per process. 813 // We have no predefined limit on the number of threads. 814 815 // Maximum amount by which a process can descrease its asynchronous I/O 816 // priority level. 817 818 // Minimum size for a thread. We are free to choose a reasonable value. 819 820 // Maximum number of timer expiration overruns. 821 822 // Maximum tty name length. 823 824 // Maximum login name length. This is arbitrary. 825 826 // Maximum host name length. 827 828 // Maximum message queue priority level. 829 830 // Maximum value the semaphore can have. 831 832 // ssize_t is not formally required to be the signed type 833 // corresponding to size_t, but it is for all configurations supported 834 // by glibc. 835 836 // This value is a guaranteed minimum maximum. 837 // The current maximum can be got from `sysconf'. 838 839 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 840 // This file is part of the GNU C Library. 841 // 842 // The GNU C Library is free software; you can redistribute it and/or 843 // modify it under the terms of the GNU Lesser General Public 844 // License as published by the Free Software Foundation; either 845 // version 2.1 of the License, or (at your option) any later version. 846 // 847 // The GNU C Library is distributed in the hope that it will be useful, 848 // but WITHOUT ANY WARRANTY; without even the implied warranty of 849 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 850 // Lesser General Public License for more details. 851 // 852 // You should have received a copy of the GNU Lesser General Public 853 // License along with the GNU C Library; if not, see 854 // <https://www.gnu.org/licenses/>. 855 856 // Never include this file directly; include <limits.h> instead. 857 858 // The maximum `ibase' and `obase' values allowed by the `bc' utility. 859 860 // The maximum number of elements allowed in an array by the `bc' utility. 861 862 // The maximum `scale' value allowed by the `bc' utility. 863 864 // The maximum length of a string constant accepted by the `bc' utility. 865 866 // The maximum number of weights that can be assigned to an entry of 867 // the LC_COLLATE `order' keyword in the locale definition file. 868 869 // The maximum number of expressions that can be nested 870 // within parentheses by the `expr' utility. 871 872 // The maximum length, in bytes, of an input line. 873 874 // The maximum number of repeated occurrences of a regular expression 875 // permitted when using the interval notation `\{M,N\}'. 876 877 // The maximum number of bytes in a character class name. We have no 878 // fixed limit, 2048 is a high number. 879 880 // These values are implementation-specific, 881 // and may vary within the implementation. 882 // Their precise values can be obtained from sysconf. 883 884 // This value is defined like this in regex.h. 885 886 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 887 // 888 // This file is part of GCC. 889 // 890 // GCC is free software; you can redistribute it and/or modify it under 891 // the terms of the GNU General Public License as published by the Free 892 // Software Foundation; either version 3, or (at your option) any later 893 // version. 894 // 895 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY 896 // WARRANTY; without even the implied warranty of MERCHANTABILITY or 897 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 898 // for more details. 899 // 900 // Under Section 7 of GPL version 3, you are granted additional 901 // permissions described in the GCC Runtime Library Exception, version 902 // 3.1, as published by the Free Software Foundation. 903 // 904 // You should have received a copy of the GNU General Public License and 905 // a copy of the GCC Runtime Library Exception along with this program; 906 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 907 // <http://www.gnu.org/licenses/>. 908 909 // Number of bits in a `char'. 910 911 // Maximum length of a multibyte character. 912 913 // Minimum and maximum values a `signed char' can hold. 914 915 // Maximum value an `unsigned char' can hold. (Minimum is 0). 916 917 // Minimum and maximum values a `char' can hold. 918 919 // Minimum and maximum values a `signed short int' can hold. 920 921 // Maximum value an `unsigned short int' can hold. (Minimum is 0). 922 923 // Minimum and maximum values a `signed int' can hold. 924 925 // Maximum value an `unsigned int' can hold. (Minimum is 0). 926 927 // Minimum and maximum values a `signed long int' can hold. 928 // (Same as `int'). 929 930 // Maximum value an `unsigned long int' can hold. (Minimum is 0). 931 932 // Minimum and maximum values a `signed long long int' can hold. 933 934 // Maximum value an `unsigned long long int' can hold. (Minimum is 0). 935 936 // This administrivia gets added to the end of limits.h 937 // if the system has its own version of limits.h. 938 939 var _ uint8 /* gen.c:2:13: */