limits_freebsd_arm.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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_freebsd_arm.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 = 262144 // syslimits.h:54:1:
  15. BC_BASE_MAX = 99 // limits.h:65:1:
  16. BC_DIM_MAX = 2048 // limits.h:66:1:
  17. BC_SCALE_MAX = 99 // limits.h:67:1:
  18. BC_STRING_MAX = 1000 // limits.h:68:1:
  19. CHARCLASS_NAME_MAX = 14 // limits.h:69:1:
  20. CHAR_BIT = 8 // limits.h:40:1:
  21. CHAR_MAX = 255 // limits.h:48:1:
  22. CHAR_MIN = 0 // limits.h:49:1:
  23. CHILD_MAX = 40 // syslimits.h:57:1:
  24. COLL_WEIGHTS_MAX = 10 // limits.h:70:1:
  25. EXPR_NEST_MAX = 32 // limits.h:71:1:
  26. GID_MAX = 4294967295 // limits.h:85:1:
  27. INT_MAX = 2147483647 // limits.h:60:1:
  28. INT_MIN = -2147483648 // limits.h:61:1:
  29. IOV_MAX = 1024 // syslimits.h:70:1:
  30. LINE_MAX = 2048 // limits.h:72:1:
  31. LLONG_MAX = 9223372036854775807 // limits.h:69:1:
  32. LLONG_MIN = -9223372036854775808 // limits.h:70:1:
  33. LONG_BIT = 32 // limits.h:94:1:
  34. LONG_MAX = 2147483647 // limits.h:64:1:
  35. LONG_MIN = -2147483648 // limits.h:65:1:
  36. MAX_CANON = 255 // syslimits.h:59:1:
  37. MAX_INPUT = 255 // syslimits.h:60:1:
  38. MB_LEN_MAX = 6 // limits.h:141:1:
  39. MQ_PRIO_MAX = 64 // limits.h:99:1:
  40. NAME_MAX = 255 // syslimits.h:61:1:
  41. NGROUPS_MAX = 1023 // syslimits.h:63:1:
  42. NL_ARGMAX = 4096 // limits.h:125:1:
  43. NL_LANGMAX = 31 // limits.h:137:1:
  44. NL_MSGMAX = 32767 // limits.h:126:1:
  45. NL_NMAX = 1 // limits.h:138:1:
  46. NL_SETMAX = 255 // limits.h:127:1:
  47. NL_TEXTMAX = 2048 // limits.h:128:1:
  48. OFF_MAX = 9223372036854775807 // limits.h:80:1:
  49. OFF_MIN = -9223372036854775808 // limits.h:81:1:
  50. OPEN_MAX = 64 // syslimits.h:66:1:
  51. PASS_MAX = 128 // limits.h:135:1:
  52. PATH_MAX = 1024 // syslimits.h:68:1:
  53. PIPE_BUF = 512 // syslimits.h:69:1:
  54. QUAD_MAX = 9223372036854775807 // limits.h:89:1:
  55. QUAD_MIN = -9223372036854775808 // limits.h:90:1:
  56. RE_DUP_MAX = 255 // limits.h:73:1:
  57. SCHAR_MAX = 127 // limits.h:42:1:
  58. SCHAR_MIN = -128 // limits.h:43:1:
  59. SHRT_MAX = 32767 // limits.h:56:1:
  60. SHRT_MIN = -32768 // limits.h:57:1:
  61. SIZE_T_MAX = 4294967295 // limits.h:78:1:
  62. SSIZE_MAX = 2147483647 // limits.h:74:1:
  63. UCHAR_MAX = 255 // limits.h:45:1:
  64. UID_MAX = 4294967295 // limits.h:86:1:
  65. UINT_MAX = 4294967295 // limits.h:59:1:
  66. ULLONG_MAX = 18446744073709551615 // limits.h:68:1:
  67. ULONG_MAX = 4294967295 // limits.h:63:1:
  68. UQUAD_MAX = 18446744073709551615 // limits.h:88:1:
  69. USHRT_MAX = 65535 // limits.h:55:1:
  70. WORD_BIT = 32 // limits.h:95:1:
  71. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  72. X_ILP32 = 1 // <predefined>:1:1:
  73. X_LIMITS_H_ = 0 // limits.h:36:1:
  74. X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
  75. X_Nonnull = 0 // cdefs.h:790:1:
  76. X_Null_unspecified = 0 // cdefs.h:792:1:
  77. X_Nullable = 0 // cdefs.h:791:1:
  78. X_POSIX2_BC_BASE_MAX = 99 // limits.h:75:1:
  79. X_POSIX2_BC_DIM_MAX = 2048 // limits.h:76:1:
  80. X_POSIX2_BC_SCALE_MAX = 99 // limits.h:77:1:
  81. X_POSIX2_BC_STRING_MAX = 1000 // limits.h:78:1:
  82. X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:79:1:
  83. X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:80:1:
  84. X_POSIX2_EQUIV_CLASS_MAX = 2 // limits.h:81:1:
  85. X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:82:1:
  86. X_POSIX2_LINE_MAX = 2048 // limits.h:83:1:
  87. X_POSIX2_RE_DUP_MAX = 255 // limits.h:84:1:
  88. X_POSIX_AIO_LISTIO_MAX = 2 // limits.h:89:1:
  89. X_POSIX_AIO_MAX = 1 // limits.h:90:1:
  90. X_POSIX_ARG_MAX = 4096 // limits.h:41:1:
  91. X_POSIX_CHILD_MAX = 25 // limits.h:51:1:
  92. X_POSIX_CLOCKRES_MIN = 20000000 // limits.h:100:1:
  93. X_POSIX_DELAYTIMER_MAX = 32 // limits.h:91:1:
  94. X_POSIX_HOST_NAME_MAX = 255 // limits.h:110:1:
  95. X_POSIX_LINK_MAX = 8 // limits.h:42:1:
  96. X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:111:1:
  97. X_POSIX_MAX_CANON = 255 // limits.h:43:1:
  98. X_POSIX_MAX_INPUT = 255 // limits.h:44:1:
  99. X_POSIX_MQ_OPEN_MAX = 8 // limits.h:92:1:
  100. X_POSIX_MQ_PRIO_MAX = 32 // limits.h:93:1:
  101. X_POSIX_NAME_MAX = 14 // limits.h:45:1:
  102. X_POSIX_NGROUPS_MAX = 8 // limits.h:52:1:
  103. X_POSIX_OPEN_MAX = 20 // limits.h:53:1:
  104. X_POSIX_PATH_MAX = 256 // limits.h:54:1:
  105. X_POSIX_PIPE_BUF = 512 // limits.h:46:1:
  106. X_POSIX_RE_DUP_MAX = 255 // limits.h:121:1:
  107. X_POSIX_RTSIG_MAX = 8 // limits.h:94:1:
  108. X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:95:1:
  109. X_POSIX_SEM_VALUE_MAX = 32767 // limits.h:96:1:
  110. X_POSIX_SIGQUEUE_MAX = 32 // limits.h:97:1:
  111. X_POSIX_SSIZE_MAX = 32767 // limits.h:47:1:
  112. X_POSIX_SS_REPL_MAX = 4 // limits.h:112:1:
  113. X_POSIX_STREAM_MAX = 8 // limits.h:48:1:
  114. X_POSIX_SYMLINK_MAX = 255 // limits.h:113:1:
  115. X_POSIX_SYMLOOP_MAX = 8 // limits.h:114:1:
  116. X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:104:1:
  117. X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:105:1:
  118. X_POSIX_THREAD_THREADS_MAX = 64 // limits.h:106:1:
  119. X_POSIX_TIMER_MAX = 32 // limits.h:98:1:
  120. X_POSIX_TRACE_EVENT_NAME_MAX = 30 // limits.h:115:1:
  121. X_POSIX_TRACE_NAME_MAX = 8 // limits.h:116:1:
  122. X_POSIX_TRACE_SYS_MAX = 8 // limits.h:117:1:
  123. X_POSIX_TRACE_USER_EVENT_MAX = 32 // limits.h:118:1:
  124. X_POSIX_TTY_NAME_MAX = 9 // limits.h:119:1:
  125. X_POSIX_TZNAME_MAX = 6 // limits.h:55:1:
  126. X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
  127. X_SYS_LIMITS_H_ = 0 // limits.h:35:1:
  128. X_SYS_SYSLIMITS_H_ = 0 // syslimits.h:36:1:
  129. X_XOPEN_IOV_MAX = 16 // limits.h:132:1:
  130. X_XOPEN_NAME_MAX = 255 // limits.h:133:1:
  131. X_XOPEN_PATH_MAX = 1024 // limits.h:134:1:
  132. Unix = 1 // <predefined>:367:1:
  133. )
  134. type Ptrdiff_t = int32 /* <builtin>:3:26 */
  135. type Size_t = uint32 /* <builtin>:9:23 */
  136. type Wchar_t = uint32 /* <builtin>:15:24 */
  137. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  138. type X__float128 = float64 /* <builtin>:47:21 */
  139. // -
  140. // SPDX-License-Identifier: BSD-3-Clause
  141. //
  142. // Copyright (c) 1988, 1993
  143. // The Regents of the University of California. All rights reserved.
  144. //
  145. // Redistribution and use in source and binary forms, with or without
  146. // modification, are permitted provided that the following conditions
  147. // are met:
  148. // 1. Redistributions of source code must retain the above copyright
  149. // notice, this list of conditions and the following disclaimer.
  150. // 2. Redistributions in binary form must reproduce the above copyright
  151. // notice, this list of conditions and the following disclaimer in the
  152. // documentation and/or other materials provided with the distribution.
  153. // 3. Neither the name of the University nor the names of its contributors
  154. // may be used to endorse or promote products derived from this software
  155. // without specific prior written permission.
  156. //
  157. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  158. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  159. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  160. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  161. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  162. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  163. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  164. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  165. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  166. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  167. // SUCH DAMAGE.
  168. //
  169. // @(#)limits.h 8.2 (Berkeley) 1/4/94
  170. // $FreeBSD$
  171. // -
  172. // SPDX-License-Identifier: BSD-3-Clause
  173. //
  174. // Copyright (c) 1991, 1993
  175. // The Regents of the University of California. All rights reserved.
  176. //
  177. // This code is derived from software contributed to Berkeley by
  178. // Berkeley Software Design, Inc.
  179. //
  180. // Redistribution and use in source and binary forms, with or without
  181. // modification, are permitted provided that the following conditions
  182. // are met:
  183. // 1. Redistributions of source code must retain the above copyright
  184. // notice, this list of conditions and the following disclaimer.
  185. // 2. Redistributions in binary form must reproduce the above copyright
  186. // notice, this list of conditions and the following disclaimer in the
  187. // documentation and/or other materials provided with the distribution.
  188. // 3. Neither the name of the University nor the names of its contributors
  189. // may be used to endorse or promote products derived from this software
  190. // without specific prior written permission.
  191. //
  192. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  193. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  194. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  195. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  196. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  197. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  198. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  199. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  200. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  201. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  202. // SUCH DAMAGE.
  203. //
  204. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  205. // $FreeBSD$
  206. // Testing against Clang-specific extensions.
  207. // This code has been put in place to help reduce the addition of
  208. // compiler specific defines in FreeBSD code. It helps to aid in
  209. // having a compiler-agnostic source tree.
  210. // Compiler memory barriers, specific to gcc and clang.
  211. // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
  212. // Macro to test if we're using a specific version of gcc or later.
  213. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  214. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  215. // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
  216. // mode -- there must be no spaces between its arguments, and for nested
  217. // __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also
  218. // concatenate double-quoted strings produced by the __STRING macro, but
  219. // this only works with ANSI C.
  220. //
  221. // __XSTRING is like __STRING, but it expands any macros in its argument
  222. // first. It is only available with ANSI C.
  223. // Compiler-dependent macros to help declare dead (non-returning) and
  224. // pure (no side effects) functions, and unused variables. They are
  225. // null except for versions of gcc that are known to support the features
  226. // properly (old versions of gcc-2 supported the dead and pure features
  227. // in a different (wrong) way). If we do not provide an implementation
  228. // for a given compiler, let the compile fail if it is told to use
  229. // a feature that we cannot live without.
  230. // Keywords added in C11.
  231. // Emulation of C11 _Generic(). Unlike the previously defined C11
  232. // keywords, it is not possible to implement this using exactly the same
  233. // syntax. Therefore implement something similar under the name
  234. // __generic(). Unlike _Generic(), this macro can only distinguish
  235. // between a single type, so it requires nested invocations to
  236. // distinguish multiple cases.
  237. // C99 Static array indices in function parameter declarations. Syntax such as:
  238. // void bar(int myArray[static 10]);
  239. // is allowed in C99 but not in C++. Define __min_size appropriately so
  240. // headers using it can be compiled in either language. Use like this:
  241. // void bar(int myArray[__min_size(10)]);
  242. // XXX: should use `#if __STDC_VERSION__ < 199901'.
  243. // C++11 exposes a load of C99 stuff
  244. // GCC 2.95 provides `__restrict' as an extension to C90 to support the
  245. // C99-specific `restrict' type qualifier. We happen to use `__restrict' as
  246. // a way to define the `restrict' type qualifier without disturbing older
  247. // software that is unaware of C99 keywords.
  248. // GNU C version 2.96 adds explicit branch prediction so that
  249. // the CPU back-end can hint the processor and also so that
  250. // code blocks can be reordered such that the predicted path
  251. // sees a more linear flow, thus improving cache behavior, etc.
  252. //
  253. // The following two macros provide us with a way to utilize this
  254. // compiler feature. Use __predict_true() if you expect the expression
  255. // to evaluate to true, and __predict_false() if you expect the
  256. // expression to evaluate to false.
  257. //
  258. // A few notes about usage:
  259. //
  260. // * Generally, __predict_false() error condition checks (unless
  261. // you have some _strong_ reason to do otherwise, in which case
  262. // document it), and/or __predict_true() `no-error' condition
  263. // checks, assuming you want to optimize for the no-error case.
  264. //
  265. // * Other than that, if you don't know the likelihood of a test
  266. // succeeding from empirical or other `hard' evidence, don't
  267. // make predictions.
  268. //
  269. // * These are meant to be used in places that are run `a lot'.
  270. // It is wasteful to make predictions in code that is run
  271. // seldomly (e.g. at subsystem initialization time) as the
  272. // basic block reordering that this affects can often generate
  273. // larger code.
  274. // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
  275. // require it.
  276. // Given the pointer x to the member m of the struct s, return
  277. // a pointer to the containing structure. When using GCC, we first
  278. // assign pointer x to a local variable, to check that its type is
  279. // compatible with member m.
  280. // Compiler-dependent macros to declare that functions take printf-like
  281. // or scanf-like arguments. They are null except for versions of gcc
  282. // that are known to support the features properly (old versions of gcc-2
  283. // didn't permit keeping the keywords out of the application namespace).
  284. // Compiler-dependent macros that rely on FreeBSD-specific extensions.
  285. // Embed the rcs id of a source file in the resulting library. Note that in
  286. // more recent ELF binutils, we use .ident allowing the ID to be stripped.
  287. // Usage:
  288. // __FBSDID("$FreeBSD$");
  289. // -
  290. // The following definitions are an extension of the behavior originally
  291. // implemented in <sys/_posix.h>, but with a different level of granularity.
  292. // POSIX.1 requires that the macros we test be defined before any standard
  293. // header file is included.
  294. //
  295. // Here's a quick run-down of the versions:
  296. // defined(_POSIX_SOURCE) 1003.1-1988
  297. // _POSIX_C_SOURCE == 1 1003.1-1990
  298. // _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option
  299. // _POSIX_C_SOURCE == 199309 1003.1b-1993
  300. // _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995,
  301. // and the omnibus ISO/IEC 9945-1: 1996
  302. // _POSIX_C_SOURCE == 200112 1003.1-2001
  303. // _POSIX_C_SOURCE == 200809 1003.1-2008
  304. //
  305. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  306. // Specification, defines a feature-test macro which indicates the version of
  307. // that specification, and which subsumes _POSIX_C_SOURCE.
  308. //
  309. // Our macros begin with two underscores to avoid namespace screwage.
  310. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
  311. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
  312. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  313. // Deal with all versions of POSIX. The ordering relative to the tests above is
  314. // important.
  315. // -
  316. // Deal with _ANSI_SOURCE:
  317. // If it is defined, and no other compilation environment is explicitly
  318. // requested, then define our internal feature-test macros to zero. This
  319. // makes no difference to the preprocessor (undefined symbols in preprocessing
  320. // expressions are defined to have value zero), but makes it more convenient for
  321. // a test program to print out the values.
  322. //
  323. // If a program mistakenly defines _ANSI_SOURCE and some other macro such as
  324. // _POSIX_C_SOURCE, we will assume that it wants the broader compilation
  325. // environment (and in fact we will never get here).
  326. // User override __EXT1_VISIBLE
  327. // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
  328. // translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
  329. // Nullability qualifiers: currently only supported by Clang.
  330. // Type Safety Checking
  331. //
  332. // Clang provides additional attributes to enable checking type safety
  333. // properties that cannot be enforced by the C type system.
  334. // Lock annotations.
  335. //
  336. // Clang provides support for doing basic thread-safety tests at
  337. // compile-time, by marking which locks will/should be held when
  338. // entering/leaving a functions.
  339. //
  340. // Furthermore, it is also possible to annotate variables and structure
  341. // members to enforce that they are only accessed when certain locks are
  342. // held.
  343. // Structure implements a lock.
  344. // Function acquires an exclusive or shared lock.
  345. // Function attempts to acquire an exclusive or shared lock.
  346. // Function releases a lock.
  347. // Function asserts that an exclusive or shared lock is held.
  348. // Function requires that an exclusive or shared lock is or is not held.
  349. // Function should not be analyzed.
  350. // Function or variable should not be sanitized, e.g., by AddressSanitizer.
  351. // GCC has the nosanitize attribute, but as a function attribute only, and
  352. // warns on use as a variable attribute.
  353. // Guard variables and structure members by lock.
  354. // Alignment builtins for better type checking and improved code generation.
  355. // Provide fallback versions for other compilers (GCC/Clang < 10):
  356. // -
  357. // SPDX-License-Identifier: BSD-3-Clause
  358. //
  359. // Copyright (c) 1988, 1993
  360. // The Regents of the University of California. All rights reserved.
  361. //
  362. // Redistribution and use in source and binary forms, with or without
  363. // modification, are permitted provided that the following conditions
  364. // are met:
  365. // 1. Redistributions of source code must retain the above copyright
  366. // notice, this list of conditions and the following disclaimer.
  367. // 2. Redistributions in binary form must reproduce the above copyright
  368. // notice, this list of conditions and the following disclaimer in the
  369. // documentation and/or other materials provided with the distribution.
  370. // 3. Neither the name of the University nor the names of its contributors
  371. // may be used to endorse or promote products derived from this software
  372. // without specific prior written permission.
  373. //
  374. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  375. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  376. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  377. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  378. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  379. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  380. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  381. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  382. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  383. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  384. // SUCH DAMAGE.
  385. //
  386. // $FreeBSD$
  387. // -
  388. // SPDX-License-Identifier: BSD-3-Clause
  389. //
  390. // Copyright (c) 1991, 1993
  391. // The Regents of the University of California. All rights reserved.
  392. //
  393. // This code is derived from software contributed to Berkeley by
  394. // Berkeley Software Design, Inc.
  395. //
  396. // Redistribution and use in source and binary forms, with or without
  397. // modification, are permitted provided that the following conditions
  398. // are met:
  399. // 1. Redistributions of source code must retain the above copyright
  400. // notice, this list of conditions and the following disclaimer.
  401. // 2. Redistributions in binary form must reproduce the above copyright
  402. // notice, this list of conditions and the following disclaimer in the
  403. // documentation and/or other materials provided with the distribution.
  404. // 3. Neither the name of the University nor the names of its contributors
  405. // may be used to endorse or promote products derived from this software
  406. // without specific prior written permission.
  407. //
  408. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  409. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  410. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  411. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  412. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  413. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  414. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  415. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  416. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  417. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  418. // SUCH DAMAGE.
  419. //
  420. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  421. // $FreeBSD$
  422. // -
  423. // SPDX-License-Identifier: BSD-3-Clause
  424. //
  425. // Copyright (c) 1988, 1993
  426. // The Regents of the University of California. All rights reserved.
  427. //
  428. // Redistribution and use in source and binary forms, with or without
  429. // modification, are permitted provided that the following conditions
  430. // are met:
  431. // 1. Redistributions of source code must retain the above copyright
  432. // notice, this list of conditions and the following disclaimer.
  433. // 2. Redistributions in binary form must reproduce the above copyright
  434. // notice, this list of conditions and the following disclaimer in the
  435. // documentation and/or other materials provided with the distribution.
  436. // 3. Neither the name of the University nor the names of its contributors
  437. // may be used to endorse or promote products derived from this software
  438. // without specific prior written permission.
  439. //
  440. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  441. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  442. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  443. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  444. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  445. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  446. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  447. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  448. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  449. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  450. // SUCH DAMAGE.
  451. //
  452. // @(#)limits.h 8.3 (Berkeley) 1/4/94
  453. // $FreeBSD$
  454. // According to ANSI (section 2.2.4.2), the values below must be usable by
  455. // #if preprocessing directives. Additionally, the expression must have the
  456. // same type as would an expression that is an object of the corresponding
  457. // type converted according to the integral promotions. The subtraction for
  458. // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an
  459. // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
  460. // max value for an unsigned long long
  461. // Quads and long longs are the same size. Ensure they stay in sync.
  462. // Minimum signal stack size.
  463. // -
  464. // SPDX-License-Identifier: BSD-3-Clause
  465. //
  466. // Copyright (c) 1988, 1993
  467. // The Regents of the University of California. All rights reserved.
  468. //
  469. // Redistribution and use in source and binary forms, with or without
  470. // modification, are permitted provided that the following conditions
  471. // are met:
  472. // 1. Redistributions of source code must retain the above copyright
  473. // notice, this list of conditions and the following disclaimer.
  474. // 2. Redistributions in binary form must reproduce the above copyright
  475. // notice, this list of conditions and the following disclaimer in the
  476. // documentation and/or other materials provided with the distribution.
  477. // 3. Neither the name of the University nor the names of its contributors
  478. // may be used to endorse or promote products derived from this software
  479. // without specific prior written permission.
  480. //
  481. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  482. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  483. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  484. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  485. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  486. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  487. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  488. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  489. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  490. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  491. // SUCH DAMAGE.
  492. //
  493. // @(#)syslimits.h 8.1 (Berkeley) 6/2/93
  494. // $FreeBSD$
  495. // Do not add any new variables here. (See the comment at the end of
  496. // the file for why.)
  497. // We leave the following values undefined to force applications to either
  498. // assume conservative values or call sysconf() to get the current value.
  499. //
  500. // HOST_NAME_MAX
  501. //
  502. // (We should do this for most of the values currently defined here,
  503. // but many programs are not prepared to deal with this yet.)
  504. var _ uint8 /* gen.c:2:13: */