limits_darwin_arm64.go 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932
  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_darwin_arm64.go -pkgname limits', DO NOT EDIT.
  2. package limits
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. ARG_MAX = 1048576
  15. BC_BASE_MAX = 99
  16. BC_DIM_MAX = 2048
  17. BC_SCALE_MAX = 99
  18. BC_STRING_MAX = 1000
  19. CHARCLASS_NAME_MAX = 14
  20. CHAR_BIT = 8
  21. CHAR_MAX = 127
  22. CHAR_MIN = -128
  23. CHILD_MAX = 266
  24. CLK_TCK = 100
  25. COLL_WEIGHTS_MAX = 2
  26. EQUIV_CLASS_MAX = 2
  27. EXPR_NEST_MAX = 32
  28. GID_MAX = 2147483647
  29. INT_MAX = 2147483647
  30. INT_MIN = -2147483648
  31. IOV_MAX = 1024
  32. LINE_MAX = 2048
  33. LINK_MAX = 32767
  34. LLONG_MAX = 9223372036854775807
  35. LLONG_MIN = -9223372036854775808
  36. LONG_BIT = 64
  37. LONG_LONG_MAX = 9223372036854775807
  38. LONG_LONG_MIN = -9223372036854775808
  39. LONG_MAX = 9223372036854775807
  40. LONG_MIN = -9223372036854775808
  41. MAX_CANON = 1024
  42. MAX_INPUT = 1024
  43. MB_LEN_MAX = 6
  44. NAME_MAX = 255
  45. NGROUPS_MAX = 16
  46. NL_ARGMAX = 9
  47. NL_LANGMAX = 14
  48. NL_MSGMAX = 32767
  49. NL_NMAX = 1
  50. NL_SETMAX = 255
  51. NL_TEXTMAX = 2048
  52. NZERO = 20
  53. OFF_MAX = 9223372036854775807
  54. OFF_MIN = -9223372036854775808
  55. OPEN_MAX = 10240
  56. PASS_MAX = 128
  57. PATH_MAX = 1024
  58. PIPE_BUF = 512
  59. PTHREAD_DESTRUCTOR_ITERATIONS = 4
  60. PTHREAD_KEYS_MAX = 512
  61. PTHREAD_STACK_MIN = 16384
  62. QUAD_MAX = 9223372036854775807
  63. QUAD_MIN = -9223372036854775808
  64. RE_DUP_MAX = 255
  65. SCHAR_MAX = 127
  66. SCHAR_MIN = -128
  67. SHRT_MAX = 32767
  68. SHRT_MIN = -32768
  69. SIZE_T_MAX = 18446744073709551615
  70. SSIZE_MAX = 9223372036854775807
  71. UCHAR_MAX = 255
  72. UID_MAX = 2147483647
  73. UINT_MAX = 4294967295
  74. ULLONG_MAX = 18446744073709551615
  75. ULONG_LONG_MAX = 18446744073709551615
  76. ULONG_MAX = 18446744073709551615
  77. UQUAD_MAX = 18446744073709551615
  78. USHRT_MAX = 65535
  79. WORD_BIT = 32
  80. X_ARM_LIMITS_H_ = 0
  81. X_ARM__LIMITS_H_ = 0
  82. X_BSD_MACHINE_LIMITS_H_ = 0
  83. X_CDEFS_H_ = 0
  84. X_DARWIN_FEATURE_64_BIT_INODE = 1
  85. X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
  86. X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
  87. X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
  88. X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
  89. X_FILE_OFFSET_BITS = 64
  90. X_GCC_LIMITS_H_ = 0
  91. X_LIMITS_H_ = 0
  92. X_LIMITS_H___ = 0
  93. X_LP64 = 1
  94. X_Nonnull = 0
  95. X_Null_unspecified = 0
  96. X_Nullable = 0
  97. X_POSIX2_BC_BASE_MAX = 99
  98. X_POSIX2_BC_DIM_MAX = 2048
  99. X_POSIX2_BC_SCALE_MAX = 99
  100. X_POSIX2_BC_STRING_MAX = 1000
  101. X_POSIX2_CHARCLASS_NAME_MAX = 14
  102. X_POSIX2_COLL_WEIGHTS_MAX = 2
  103. X_POSIX2_EQUIV_CLASS_MAX = 2
  104. X_POSIX2_EXPR_NEST_MAX = 32
  105. X_POSIX2_LINE_MAX = 2048
  106. X_POSIX2_RE_DUP_MAX = 255
  107. X_POSIX_AIO_LISTIO_MAX = 2
  108. X_POSIX_AIO_MAX = 1
  109. X_POSIX_ARG_MAX = 4096
  110. X_POSIX_CHILD_MAX = 25
  111. X_POSIX_CLOCKRES_MIN = 20000000
  112. X_POSIX_DELAYTIMER_MAX = 32
  113. X_POSIX_HOST_NAME_MAX = 255
  114. X_POSIX_LINK_MAX = 8
  115. X_POSIX_LOGIN_NAME_MAX = 9
  116. X_POSIX_MAX_CANON = 255
  117. X_POSIX_MAX_INPUT = 255
  118. X_POSIX_MQ_OPEN_MAX = 8
  119. X_POSIX_MQ_PRIO_MAX = 32
  120. X_POSIX_NAME_MAX = 14
  121. X_POSIX_NGROUPS_MAX = 8
  122. X_POSIX_OPEN_MAX = 20
  123. X_POSIX_PATH_MAX = 256
  124. X_POSIX_PIPE_BUF = 512
  125. X_POSIX_RE_DUP_MAX = 255
  126. X_POSIX_RTSIG_MAX = 8
  127. X_POSIX_SEM_NSEMS_MAX = 256
  128. X_POSIX_SEM_VALUE_MAX = 32767
  129. X_POSIX_SIGQUEUE_MAX = 32
  130. X_POSIX_SSIZE_MAX = 32767
  131. X_POSIX_SS_REPL_MAX = 4
  132. X_POSIX_STREAM_MAX = 8
  133. X_POSIX_SYMLINK_MAX = 255
  134. X_POSIX_SYMLOOP_MAX = 8
  135. X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
  136. X_POSIX_THREAD_KEYS_MAX = 128
  137. X_POSIX_THREAD_THREADS_MAX = 64
  138. X_POSIX_TIMER_MAX = 32
  139. X_POSIX_TRACE_EVENT_NAME_MAX = 30
  140. X_POSIX_TRACE_NAME_MAX = 8
  141. X_POSIX_TRACE_SYS_MAX = 8
  142. X_POSIX_TRACE_USER_EVENT_MAX = 32
  143. X_POSIX_TTY_NAME_MAX = 9
  144. X_POSIX_TZNAME_MAX = 6
  145. X_SYS_SYSLIMITS_H_ = 0
  146. X_XOPEN_IOV_MAX = 16
  147. X_XOPEN_NAME_MAX = 255
  148. X_XOPEN_PATH_MAX = 1024
  149. )
  150. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  151. type Size_t = uint64 /* <builtin>:9:23 */
  152. type Wchar_t = int32 /* <builtin>:15:24 */
  153. type X__int128_t = struct {
  154. Flo int64
  155. Fhi int64
  156. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  157. type X__uint128_t = struct {
  158. Flo uint64
  159. Fhi uint64
  160. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  161. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  162. type X__float128 = float64 /* <builtin>:47:21 */
  163. // Copyright (C) 1992-2021 Free Software Foundation, Inc.
  164. //
  165. // This file is part of GCC.
  166. //
  167. // GCC is free software; you can redistribute it and/or modify it under
  168. // the terms of the GNU General Public License as published by the Free
  169. // Software Foundation; either version 3, or (at your option) any later
  170. // version.
  171. //
  172. // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  173. // WARRANTY; without even the implied warranty of MERCHANTABILITY or
  174. // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  175. // for more details.
  176. //
  177. // Under Section 7 of GPL version 3, you are granted additional
  178. // permissions described in the GCC Runtime Library Exception, version
  179. // 3.1, as published by the Free Software Foundation.
  180. //
  181. // You should have received a copy of the GNU General Public License and
  182. // a copy of the GCC Runtime Library Exception along with this program;
  183. // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  184. // <http://www.gnu.org/licenses/>.
  185. // This administrivia gets added to the beginning of limits.h
  186. // if the system has its own version of limits.h.
  187. // We use _GCC_LIMITS_H_ because we want this not to match
  188. // any macros that the system's limits.h uses for its own purposes.
  189. // Use "..." so that we find syslimits.h only in this same directory.
  190. // syslimits.h stands for the system's own limits.h file.
  191. // If we can use it ok unmodified, then we install this text.
  192. // If fixincludes fixes it, then the fixed version is installed
  193. // instead of this text.
  194. // Copyright (c) 2000, 2004-2007, 2009 Apple Inc. All rights reserved.
  195. //
  196. // @APPLE_LICENSE_HEADER_START@
  197. //
  198. // This file contains Original Code and/or Modifications of Original Code
  199. // as defined in and that are subject to the Apple Public Source License
  200. // Version 2.0 (the 'License'). You may not use this file except in
  201. // compliance with the License. Please obtain a copy of the License at
  202. // http://www.opensource.apple.com/apsl/ and read it before using this
  203. // file.
  204. //
  205. // The Original Code and all software distributed under the License are
  206. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  207. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  208. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  209. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  210. // Please see the License for the specific language governing rights and
  211. // limitations under the License.
  212. //
  213. // @APPLE_LICENSE_HEADER_END@
  214. // $NetBSD: limits.h,v 1.8 1996/10/21 05:10:50 jtc Exp $
  215. // Copyright (c) 1988, 1993
  216. // The Regents of the University of California. All rights reserved.
  217. //
  218. // Redistribution and use in source and binary forms, with or without
  219. // modification, are permitted provided that the following conditions
  220. // are met:
  221. // 1. Redistributions of source code must retain the above copyright
  222. // notice, this list of conditions and the following disclaimer.
  223. // 2. Redistributions in binary form must reproduce the above copyright
  224. // notice, this list of conditions and the following disclaimer in the
  225. // documentation and/or other materials provided with the distribution.
  226. // 3. All advertising materials mentioning features or use of this software
  227. // must display the following acknowledgement:
  228. // This product includes software developed by the University of
  229. // California, Berkeley and its contributors.
  230. // 4. Neither the name of the University nor the names of its contributors
  231. // may be used to endorse or promote products derived from this software
  232. // without specific prior written permission.
  233. //
  234. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  235. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  236. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  237. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  238. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  239. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  240. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  241. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  242. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  243. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  244. // SUCH DAMAGE.
  245. //
  246. // @(#)limits.h 8.2 (Berkeley) 1/4/94
  247. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  248. //
  249. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  250. //
  251. // This file contains Original Code and/or Modifications of Original Code
  252. // as defined in and that are subject to the Apple Public Source License
  253. // Version 2.0 (the 'License'). You may not use this file except in
  254. // compliance with the License. The rights granted to you under the License
  255. // may not be used to create, or enable the creation or redistribution of,
  256. // unlawful or unlicensed copies of an Apple operating system, or to
  257. // circumvent, violate, or enable the circumvention or violation of, any
  258. // terms of an Apple operating system software license agreement.
  259. //
  260. // Please obtain a copy of the License at
  261. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  262. //
  263. // The Original Code and all software distributed under the License are
  264. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  265. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  266. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  267. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  268. // Please see the License for the specific language governing rights and
  269. // limitations under the License.
  270. //
  271. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  272. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  273. // Copyright (c) 1991, 1993
  274. // The Regents of the University of California. All rights reserved.
  275. //
  276. // This code is derived from software contributed to Berkeley by
  277. // Berkeley Software Design, Inc.
  278. //
  279. // Redistribution and use in source and binary forms, with or without
  280. // modification, are permitted provided that the following conditions
  281. // are met:
  282. // 1. Redistributions of source code must retain the above copyright
  283. // notice, this list of conditions and the following disclaimer.
  284. // 2. Redistributions in binary form must reproduce the above copyright
  285. // notice, this list of conditions and the following disclaimer in the
  286. // documentation and/or other materials provided with the distribution.
  287. // 3. All advertising materials mentioning features or use of this software
  288. // must display the following acknowledgement:
  289. // This product includes software developed by the University of
  290. // California, Berkeley and its contributors.
  291. // 4. Neither the name of the University nor the names of its contributors
  292. // may be used to endorse or promote products derived from this software
  293. // without specific prior written permission.
  294. //
  295. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  296. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  297. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  298. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  299. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  300. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  301. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  302. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  303. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  304. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  305. // SUCH DAMAGE.
  306. //
  307. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  308. // This SDK is designed to work with clang and specific versions of
  309. // gcc >= 4.0 with Apple's patch sets
  310. // Compatibility with compilers and environments that don't support compiler
  311. // feature checking function-like macros.
  312. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  313. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  314. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  315. // in between its arguments. __CONCAT can also concatenate double-quoted
  316. // strings produced by the __STRING macro, but this only works with ANSI C.
  317. // __pure2 can be used for functions that are only a function of their scalar
  318. // arguments (meaning they can't dereference pointers).
  319. //
  320. // __stateful_pure can be used for functions that have no side effects,
  321. // but depend on the state of the memory.
  322. // __unused denotes variables and functions that may not be used, preventing
  323. // the compiler from warning about it if not used.
  324. // __used forces variables and functions to be included even if it appears
  325. // to the compiler that they are not used (and would thust be discarded).
  326. // __cold marks code used for debugging or that is rarely taken
  327. // and tells the compiler to optimize for size and outline code.
  328. // __exported denotes symbols that should be exported even when symbols
  329. // are hidden by default.
  330. // __exported_push/_exported_pop are pragmas used to delimit a range of
  331. // symbols that should be exported even when symbols are hidden by default.
  332. // __deprecated causes the compiler to produce a warning when encountering
  333. // code using the deprecated functionality.
  334. // __deprecated_msg() does the same, and compilers that support it will print
  335. // a message along with the deprecation warning.
  336. // This may require turning on such warning with the -Wdeprecated flag.
  337. // __deprecated_enum_msg() should be used on enums, and compilers that support
  338. // it will print the deprecation warning.
  339. // __kpi_deprecated() specifically indicates deprecation of kernel programming
  340. // interfaces in Kernel.framework used by KEXTs.
  341. // __unavailable causes the compiler to error out when encountering
  342. // code using the tagged function
  343. // Delete pseudo-keywords wherever they are not available or needed.
  344. // We use `__restrict' as a way to define the `restrict' type qualifier
  345. // without disturbing older software that is unaware of C99 keywords.
  346. // Compatibility with compilers and environments that don't support the
  347. // nullability feature.
  348. // __disable_tail_calls causes the compiler to not perform tail call
  349. // optimization inside the marked function.
  350. // __not_tail_called causes the compiler to prevent tail call optimization
  351. // on statically bound calls to the function. It has no effect on indirect
  352. // calls. Virtual functions, objective-c methods, and functions marked as
  353. // "always_inline" cannot be marked as __not_tail_called.
  354. // __result_use_check warns callers of a function that not using the function
  355. // return value is a bug, i.e. dismissing malloc() return value results in a
  356. // memory leak.
  357. // __swift_unavailable causes the compiler to mark a symbol as specifically
  358. // unavailable in Swift, regardless of any other availability in C.
  359. // __abortlike is the attribute to put on functions like abort() that are
  360. // typically used to mark assertions. These optimize the codegen
  361. // for outlining while still maintaining debugability.
  362. // Declaring inline functions within headers is error-prone due to differences
  363. // across various versions of the C language and extensions. __header_inline
  364. // can be used to declare inline functions within system headers. In cases
  365. // where you want to force inlining instead of letting the compiler make
  366. // the decision, you can use __header_always_inline.
  367. //
  368. // Be aware that using inline for functions which compilers may also provide
  369. // builtins can behave differently under various compilers. If you intend to
  370. // provide an inline version of such a function, you may want to use a macro
  371. // instead.
  372. //
  373. // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  374. // support c99 inline in some cases:
  375. // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  376. // Compiler-dependent macros that bracket portions of code where the
  377. // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  378. // Compiler-dependent macros to declare that functions take printf-like
  379. // or scanf-like arguments. They are null except for versions of gcc
  380. // that are known to support the features properly. Functions declared
  381. // with these attributes will cause compilation warnings if there is a
  382. // mismatch between the format string and subsequent function parameter
  383. // types.
  384. // Source compatibility only, ID string not emitted in object file
  385. // __alloc_size can be used to label function arguments that represent the
  386. // size of memory that the function allocates and returns. The one-argument
  387. // form labels a single argument that gives the allocation size (where the
  388. // arguments are numbered from 1):
  389. //
  390. // void *malloc(size_t __size) __alloc_size(1);
  391. //
  392. // The two-argument form handles the case where the size is calculated as the
  393. // product of two arguments:
  394. //
  395. // void *calloc(size_t __count, size_t __size) __alloc_size(1,2);
  396. // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  397. //
  398. // DEFAULT By default newly complied code will get POSIX APIs plus
  399. // Apple API extensions in scope.
  400. //
  401. // Most users will use this compilation environment to avoid
  402. // behavioral differences between 32 and 64 bit code.
  403. //
  404. // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  405. // API extensions in scope.
  406. //
  407. // This is generally equivalent to the Tiger release compilation
  408. // environment, except that it cannot be applied to 64 bit code;
  409. // its use is discouraged.
  410. //
  411. // We expect this environment to be deprecated in the future.
  412. //
  413. // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  414. // available APIs to exactly the set of APIs defined by the
  415. // corresponding standard, based on the value defined.
  416. //
  417. // A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  418. // A correct, portable definition for _XOPEN_SOURCE is 600L.
  419. //
  420. // Apple API extensions are not visible in this environment,
  421. // which can cause Apple specific code to fail to compile,
  422. // or behave incorrectly if prototypes are not in scope or
  423. // warnings about missing prototypes are not enabled or ignored.
  424. //
  425. // In any compilation environment, for correct symbol resolution to occur,
  426. // function prototypes must be in scope. It is recommended that all Apple
  427. // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  428. // compiler flags to their projects to be warned when a function is being
  429. // used without a prototype in scope.
  430. // These settings are particular to each product.
  431. // Platform: MacOSX
  432. // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  433. // legacy code to use the old symbol, thus maintaining binary compatibility
  434. // while new code can use a standards compliant version of the same function.
  435. //
  436. // __DARWIN_ALIAS is used by itself if the function signature has not
  437. // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  438. // if the signature has changed. Because the __LP64__ environment
  439. // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  440. // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  441. //
  442. // As a special case, when XCode is used to target a specific version of the
  443. // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  444. // will be defined by the compiler, with the digits representing major version
  445. // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting
  446. // pre-10.5, and it is the default compilation environment, revert the
  447. // compilation environment to pre-__DARWIN_UNIX03.
  448. // symbol suffixes used for symbol versioning
  449. // symbol versioning macros
  450. // symbol release macros
  451. // Copyright (c) 2010 Apple Inc. All rights reserved.
  452. //
  453. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  454. //
  455. // This file contains Original Code and/or Modifications of Original Code
  456. // as defined in and that are subject to the Apple Public Source License
  457. // Version 2.0 (the 'License'). You may not use this file except in
  458. // compliance with the License. The rights granted to you under the License
  459. // may not be used to create, or enable the creation or redistribution of,
  460. // unlawful or unlicensed copies of an Apple operating system, or to
  461. // circumvent, violate, or enable the circumvention or violation of, any
  462. // terms of an Apple operating system software license agreement.
  463. //
  464. // Please obtain a copy of the License at
  465. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  466. //
  467. // The Original Code and all software distributed under the License are
  468. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  469. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  470. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  471. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  472. // Please see the License for the specific language governing rights and
  473. // limitations under the License.
  474. //
  475. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  476. // POSIX.1 requires that the macros we test be defined before any standard
  477. // header file is included. This permits us to convert values for feature
  478. // testing, as necessary, using only _POSIX_C_SOURCE.
  479. //
  480. // Here's a quick run-down of the versions:
  481. // defined(_POSIX_SOURCE) 1003.1-1988
  482. // _POSIX_C_SOURCE == 1L 1003.1-1990
  483. // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option
  484. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  485. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  486. // and the omnibus ISO/IEC 9945-1: 1996
  487. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  488. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  489. //
  490. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  491. // Specification, defines a feature-test macro which indicates the version of
  492. // that specification, and which subsumes _POSIX_C_SOURCE.
  493. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  494. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  495. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  496. // Deal with all versions of POSIX. The ordering relative to the tests above is
  497. // important.
  498. // POSIX C deprecation macros
  499. // Copyright (c) 2010 Apple Inc. All rights reserved.
  500. //
  501. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  502. //
  503. // This file contains Original Code and/or Modifications of Original Code
  504. // as defined in and that are subject to the Apple Public Source License
  505. // Version 2.0 (the 'License'). You may not use this file except in
  506. // compliance with the License. The rights granted to you under the License
  507. // may not be used to create, or enable the creation or redistribution of,
  508. // unlawful or unlicensed copies of an Apple operating system, or to
  509. // circumvent, violate, or enable the circumvention or violation of, any
  510. // terms of an Apple operating system software license agreement.
  511. //
  512. // Please obtain a copy of the License at
  513. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  514. //
  515. // The Original Code and all software distributed under the License are
  516. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  517. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  518. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  519. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  520. // Please see the License for the specific language governing rights and
  521. // limitations under the License.
  522. //
  523. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  524. // Set a single macro which will always be defined and can be used to determine
  525. // the appropriate namespace. For POSIX, these values will correspond to
  526. // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding
  527. // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  528. // If the developer has neither requested a strict language mode nor a version
  529. // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  530. // of __DARWIN_C_FULL.
  531. // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  532. // c99 still want long longs. While not perfect, we allow long longs for
  533. // g++.
  534. // ****************************************
  535. //
  536. // Public darwin-specific feature macros
  537. //
  538. // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  539. // structures modified for 64-bit inodes (like struct stat) will be used.
  540. // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  541. // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  542. // (and non-zero). There is no struct stat64 either, as the regular
  543. // struct stat will already be the 64-bit version.
  544. // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  545. // in 10.5 exists; no pre-10.5 variants are available.
  546. // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  547. // are available (the legacy BSD APIs are not available)
  548. // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  549. // and specifies the conformance level (3 is SUSv3)
  550. // This macro casts away the qualifier from the variable
  551. //
  552. // Note: use at your own risk, removing qualifiers can result in
  553. // catastrophic run-time failures.
  554. // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  555. // used from other compilation units, but not other libraries or executables.
  556. // Architecture validation for current SDK
  557. // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  558. //
  559. // This provides more advanced type checking on compilers supporting
  560. // the proper extensions, even in C.
  561. // This is the `system' limits.h, independent of any particular
  562. // compiler. GCC provides its own limits.h which can be found in
  563. // /usr/lib/gcc, although it is not very informative.
  564. // This file is public domain.
  565. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  566. // Copyright (c) 1988, 1993
  567. // The Regents of the University of California. All rights reserved.
  568. //
  569. // Redistribution and use in source and binary forms, with or without
  570. // modification, are permitted provided that the following conditions
  571. // are met:
  572. // 1. Redistributions of source code must retain the above copyright
  573. // notice, this list of conditions and the following disclaimer.
  574. // 2. Redistributions in binary form must reproduce the above copyright
  575. // notice, this list of conditions and the following disclaimer in the
  576. // documentation and/or other materials provided with the distribution.
  577. // 3. All advertising materials mentioning features or use of this software
  578. // must display the following acknowledgement:
  579. // This product includes software developed by the University of
  580. // California, Berkeley and its contributors.
  581. // 4. Neither the name of the University nor the names of its contributors
  582. // may be used to endorse or promote products derived from this software
  583. // without specific prior written permission.
  584. //
  585. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  586. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  587. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  588. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  589. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  590. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  591. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  592. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  593. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  594. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  595. // SUCH DAMAGE.
  596. //
  597. // @(#)limits.h 8.3 (Berkeley) 1/4/94
  598. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  599. //
  600. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  601. //
  602. // This file contains Original Code and/or Modifications of Original Code
  603. // as defined in and that are subject to the Apple Public Source License
  604. // Version 2.0 (the 'License'). You may not use this file except in
  605. // compliance with the License. The rights granted to you under the License
  606. // may not be used to create, or enable the creation or redistribution of,
  607. // unlawful or unlicensed copies of an Apple operating system, or to
  608. // circumvent, violate, or enable the circumvention or violation of, any
  609. // terms of an Apple operating system software license agreement.
  610. //
  611. // Please obtain a copy of the License at
  612. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  613. //
  614. // The Original Code and all software distributed under the License are
  615. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  616. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  617. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  618. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  619. // Please see the License for the specific language governing rights and
  620. // limitations under the License.
  621. //
  622. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  623. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  624. // Copyright (c) 1991, 1993
  625. // The Regents of the University of California. All rights reserved.
  626. //
  627. // This code is derived from software contributed to Berkeley by
  628. // Berkeley Software Design, Inc.
  629. //
  630. // Redistribution and use in source and binary forms, with or without
  631. // modification, are permitted provided that the following conditions
  632. // are met:
  633. // 1. Redistributions of source code must retain the above copyright
  634. // notice, this list of conditions and the following disclaimer.
  635. // 2. Redistributions in binary form must reproduce the above copyright
  636. // notice, this list of conditions and the following disclaimer in the
  637. // documentation and/or other materials provided with the distribution.
  638. // 3. All advertising materials mentioning features or use of this software
  639. // must display the following acknowledgement:
  640. // This product includes software developed by the University of
  641. // California, Berkeley and its contributors.
  642. // 4. Neither the name of the University nor the names of its contributors
  643. // may be used to endorse or promote products derived from this software
  644. // without specific prior written permission.
  645. //
  646. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  647. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  648. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  649. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  650. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  651. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  652. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  653. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  654. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  655. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  656. // SUCH DAMAGE.
  657. //
  658. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  659. // Copyright (c) 2004-2007 Apple Inc. All rights reserved.
  660. // According to ANSI (section 2.2.4.2), the values below must be usable by
  661. // #if preprocessing directives. Additionally, the expression must have the
  662. // same type as would an expression that is an object of the corresponding
  663. // type converted according to the integral promotions. The subtraction for
  664. // INT_MIN and LONG_MIN is so the value is not unsigned; 2147483648 is an
  665. // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
  666. // These numbers work for pcc as well. The UINT_MAX and ULONG_MAX values
  667. // are written as hex so that GCC will be quiet about large integer constants.
  668. // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  669. //
  670. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  671. //
  672. // This file contains Original Code and/or Modifications of Original Code
  673. // as defined in and that are subject to the Apple Public Source License
  674. // Version 2.0 (the 'License'). You may not use this file except in
  675. // compliance with the License. The rights granted to you under the License
  676. // may not be used to create, or enable the creation or redistribution of,
  677. // unlawful or unlicensed copies of an Apple operating system, or to
  678. // circumvent, violate, or enable the circumvention or violation of, any
  679. // terms of an Apple operating system software license agreement.
  680. //
  681. // Please obtain a copy of the License at
  682. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  683. //
  684. // The Original Code and all software distributed under the License are
  685. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  686. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  687. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  688. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  689. // Please see the License for the specific language governing rights and
  690. // limitations under the License.
  691. //
  692. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  693. // $NetBSD: syslimits.h,v 1.15 1997/06/25 00:48:09 lukem Exp $
  694. // Copyright (c) 1988, 1993
  695. // The Regents of the University of California. All rights reserved.
  696. //
  697. // Redistribution and use in source and binary forms, with or without
  698. // modification, are permitted provided that the following conditions
  699. // are met:
  700. // 1. Redistributions of source code must retain the above copyright
  701. // notice, this list of conditions and the following disclaimer.
  702. // 2. Redistributions in binary form must reproduce the above copyright
  703. // notice, this list of conditions and the following disclaimer in the
  704. // documentation and/or other materials provided with the distribution.
  705. // 3. All advertising materials mentioning features or use of this software
  706. // must display the following acknowledgement:
  707. // This product includes software developed by the University of
  708. // California, Berkeley and its contributors.
  709. // 4. Neither the name of the University nor the names of its contributors
  710. // may be used to endorse or promote products derived from this software
  711. // without specific prior written permission.
  712. //
  713. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  714. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  715. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  716. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  717. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  718. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  719. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  720. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  721. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  722. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  723. // SUCH DAMAGE.
  724. //
  725. // @(#)syslimits.h 8.1 (Berkeley) 6/2/93
  726. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  727. //
  728. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  729. //
  730. // This file contains Original Code and/or Modifications of Original Code
  731. // as defined in and that are subject to the Apple Public Source License
  732. // Version 2.0 (the 'License'). You may not use this file except in
  733. // compliance with the License. The rights granted to you under the License
  734. // may not be used to create, or enable the creation or redistribution of,
  735. // unlawful or unlicensed copies of an Apple operating system, or to
  736. // circumvent, violate, or enable the circumvention or violation of, any
  737. // terms of an Apple operating system software license agreement.
  738. //
  739. // Please obtain a copy of the License at
  740. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  741. //
  742. // The Original Code and all software distributed under the License are
  743. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  744. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  745. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  746. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  747. // Please see the License for the specific language governing rights and
  748. // limitations under the License.
  749. //
  750. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  751. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  752. // Copyright (c) 1991, 1993
  753. // The Regents of the University of California. All rights reserved.
  754. //
  755. // This code is derived from software contributed to Berkeley by
  756. // Berkeley Software Design, Inc.
  757. //
  758. // Redistribution and use in source and binary forms, with or without
  759. // modification, are permitted provided that the following conditions
  760. // are met:
  761. // 1. Redistributions of source code must retain the above copyright
  762. // notice, this list of conditions and the following disclaimer.
  763. // 2. Redistributions in binary form must reproduce the above copyright
  764. // notice, this list of conditions and the following disclaimer in the
  765. // documentation and/or other materials provided with the distribution.
  766. // 3. All advertising materials mentioning features or use of this software
  767. // must display the following acknowledgement:
  768. // This product includes software developed by the University of
  769. // California, Berkeley and its contributors.
  770. // 4. Neither the name of the University nor the names of its contributors
  771. // may be used to endorse or promote products derived from this software
  772. // without specific prior written permission.
  773. //
  774. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  775. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  776. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  777. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  778. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  779. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  780. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  781. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  782. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  783. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  784. // SUCH DAMAGE.
  785. //
  786. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  787. // max bytes for an exec function
  788. // Note: CHILD_MAX *must* be less than hard_maxproc, which is set at
  789. // compile time; you *cannot* set it higher than the hard limit!!
  790. // = ((PRIO_MAX - PRIO_MIN) / 2) + 1
  791. // range: 0 - 39 [(2 * NZERO) - 1]
  792. // 0 is not actually used
  793. // Actually for XSI Visible
  794. // Removed in Issue 6
  795. // NZERO to be defined here. TBD. See also sys/param.h
  796. // Copyright (C) 1991-2021 Free Software Foundation, Inc.
  797. //
  798. // This file is part of GCC.
  799. //
  800. // GCC is free software; you can redistribute it and/or modify it under
  801. // the terms of the GNU General Public License as published by the Free
  802. // Software Foundation; either version 3, or (at your option) any later
  803. // version.
  804. //
  805. // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  806. // WARRANTY; without even the implied warranty of MERCHANTABILITY or
  807. // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  808. // for more details.
  809. //
  810. // Under Section 7 of GPL version 3, you are granted additional
  811. // permissions described in the GCC Runtime Library Exception, version
  812. // 3.1, as published by the Free Software Foundation.
  813. //
  814. // You should have received a copy of the GNU General Public License and
  815. // a copy of the GCC Runtime Library Exception along with this program;
  816. // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  817. // <http://www.gnu.org/licenses/>.
  818. // Number of bits in a `char'.
  819. // Maximum length of a multibyte character.
  820. // Minimum and maximum values a `signed char' can hold.
  821. // Maximum value an `unsigned char' can hold. (Minimum is 0).
  822. // Minimum and maximum values a `char' can hold.
  823. // Minimum and maximum values a `signed short int' can hold.
  824. // Maximum value an `unsigned short int' can hold. (Minimum is 0).
  825. // Minimum and maximum values a `signed int' can hold.
  826. // Maximum value an `unsigned int' can hold. (Minimum is 0).
  827. // Minimum and maximum values a `signed long int' can hold.
  828. // (Same as `int').
  829. // Maximum value an `unsigned long int' can hold. (Minimum is 0).
  830. // Minimum and maximum values a `signed long long int' can hold.
  831. // Maximum value an `unsigned long long int' can hold. (Minimum is 0).
  832. // Minimum and maximum values a `signed long long int' can hold.
  833. // Maximum value an `unsigned long long int' can hold. (Minimum is 0).
  834. // This administrivia gets added to the end of limits.h
  835. // if the system has its own version of limits.h.
  836. var _ int8 /* gen.c:2:13: */