limits_freebsd_386.go 29 KB

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