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