limits_openbsd_amd64.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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_openbsd_amd64.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 = 524288 // syslimits.h:38:1:
  15. BC_BASE_MAX = 2147483647 // syslimits.h:51:1:
  16. BC_DIM_MAX = 65535 // syslimits.h:52:1:
  17. BC_SCALE_MAX = 2147483647 // syslimits.h:53:1:
  18. BC_STRING_MAX = 2147483647 // syslimits.h:54:1:
  19. CHAR_BIT = 8 // limits.h:36:1:
  20. CHAR_MAX = 0x7f // limits.h:46:1:
  21. CHAR_MIN = -128 // limits.h:47:1:
  22. CHILD_MAX = 80 // syslimits.h:39:1:
  23. COLL_WEIGHTS_MAX = 2 // syslimits.h:55:1:
  24. EXPR_NEST_MAX = 32 // syslimits.h:56:1:
  25. GID_MAX = 4294967295 // limits.h:84:1:
  26. HOST_NAME_MAX = 255 // syslimits.h:76:1:
  27. INT_MAX = 0x7fffffff // limits.h:57:1:
  28. INT_MIN = -2147483648 // limits.h:58:1:
  29. IOV_MAX = 1024 // syslimits.h:64:1:
  30. LINE_MAX = 2048 // syslimits.h:57:1:
  31. LINK_MAX = 32767 // syslimits.h:40:1:
  32. LLONG_MAX = 0x7fffffffffffffff // limits.h:76:1:
  33. LLONG_MIN = -9223372036854775808 // limits.h:78:1:
  34. LOGIN_NAME_MAX = 32 // syslimits.h:72:1:
  35. LONG_BIT = 64 // limits.h:89:1:
  36. LONG_MAX = 0x7fffffffffffffff // limits.h:63:1:
  37. LONG_MIN = -9223372036854775808 // limits.h:65:1:
  38. MAX_CANON = 255 // syslimits.h:41:1:
  39. MAX_INPUT = 255 // syslimits.h:42:1:
  40. MB_LEN_MAX = 4 // limits.h:50:1:
  41. NAME_MAX = 255 // syslimits.h:43:1:
  42. NGROUPS_MAX = 16 // syslimits.h:44:1:
  43. NL_ARGMAX = 9 // limits.h:89:1:
  44. NL_LANGMAX = 14 // limits.h:90:1:
  45. NL_MSGMAX = 32767 // limits.h:91:1:
  46. NL_SETMAX = 255 // limits.h:92:1:
  47. NL_TEXTMAX = 255 // limits.h:93:1:
  48. NZERO = 20 // syslimits.h:65:1:
  49. OPEN_MAX = 64 // syslimits.h:45:1:
  50. PATH_MAX = 1024 // syslimits.h:46:1:
  51. PIPE_BUF = 512 // syslimits.h:47:1:
  52. QUAD_MAX = 0x7fffffffffffffff // limits.h:47:1:
  53. QUAD_MIN = -9223372036854775808 // limits.h:48:1:
  54. RE_DUP_MAX = 255 // syslimits.h:59:1:
  55. SCHAR_MAX = 0x7f // limits.h:38:1:
  56. SCHAR_MIN = -128 // limits.h:39:1:
  57. SEM_VALUE_MAX = 4294967295 // syslimits.h:60:1:
  58. SHRT_MAX = 0x7fff // limits.h:53:1:
  59. SHRT_MIN = -32768 // limits.h:54:1:
  60. SIZE_T_MAX = 18446744073709551615 // limits.h:44:1:
  61. SSIZE_MAX = 9223372036854775807 // limits.h:40:1:
  62. SYMLINK_MAX = 1024 // syslimits.h:48:1:
  63. SYMLOOP_MAX = 32 // syslimits.h:49:1:
  64. TTY_NAME_MAX = 260 // syslimits.h:71:1:
  65. UCHAR_MAX = 0xff // limits.h:41:1:
  66. UID_MAX = 4294967295 // limits.h:83:1:
  67. UINT_MAX = 0xffffffff // limits.h:56:1:
  68. ULLONG_MAX = 0xffffffffffffffff // limits.h:74:1:
  69. ULONG_MAX = 0xffffffffffffffff // limits.h:61:1:
  70. UQUAD_MAX = 0xffffffffffffffff // limits.h:46:1:
  71. USHRT_MAX = 0xffff // limits.h:52:1:
  72. WORD_BIT = 32 // limits.h:93:1:
  73. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  74. X_LIMITS_H_ = 0 // limits.h:36:1:
  75. X_LP64 = 1 // <predefined>:1:1:
  76. X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
  77. X_MACHINE_LIMITS_H_ = 0 // limits.h:35:1:
  78. X_MAXCOMLEN = 24 // syslimits.h:79:1:
  79. X_POSIX2_BC_BASE_MAX = 99 // limits.h:71:1:
  80. X_POSIX2_BC_DIM_MAX = 2048 // limits.h:72:1:
  81. X_POSIX2_BC_SCALE_MAX = 99 // limits.h:73:1:
  82. X_POSIX2_BC_STRING_MAX = 1000 // limits.h:74:1:
  83. X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:79:1:
  84. X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:75:1:
  85. X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:76:1:
  86. X_POSIX2_LINE_MAX = 2048 // limits.h:77:1:
  87. X_POSIX2_RE_DUP_MAX = 255 // limits.h:78:1:
  88. X_POSIX_ARG_MAX = 4096 // limits.h:41:1:
  89. X_POSIX_CHILD_MAX = 25 // limits.h:42:1:
  90. X_POSIX_CLOCKRES_MIN = 20000000 // limits.h:61:1:
  91. X_POSIX_HOST_NAME_MAX = 255 // limits.h:82:1:
  92. X_POSIX_LINK_MAX = 8 // limits.h:43:1:
  93. X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:83:1:
  94. X_POSIX_MAX_CANON = 255 // limits.h:44:1:
  95. X_POSIX_MAX_INPUT = 255 // limits.h:45:1:
  96. X_POSIX_NAME_MAX = 14 // limits.h:46:1:
  97. X_POSIX_NGROUPS_MAX = 8 // limits.h:62:1:
  98. X_POSIX_OPEN_MAX = 20 // limits.h:63:1:
  99. X_POSIX_PATH_MAX = 256 // limits.h:47:1:
  100. X_POSIX_PIPE_BUF = 512 // limits.h:48:1:
  101. X_POSIX_RE_DUP_MAX = 255 // limits.h:49:1:
  102. X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:50:1:
  103. X_POSIX_SEM_VALUE_MAX = 32767 // limits.h:51:1:
  104. X_POSIX_SSIZE_MAX = 32767 // limits.h:52:1:
  105. X_POSIX_STREAM_MAX = 8 // limits.h:53:1:
  106. X_POSIX_SYMLINK_MAX = 255 // limits.h:54:1:
  107. X_POSIX_SYMLOOP_MAX = 8 // limits.h:55:1:
  108. X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:56:1:
  109. X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:57:1:
  110. X_POSIX_THREAD_THREADS_MAX = 4 // limits.h:58:1:
  111. X_POSIX_TTY_NAME_MAX = 9 // limits.h:84:1:
  112. X_POSIX_TZNAME_MAX = 6 // limits.h:64:1:
  113. X_RET_PROTECTOR = 1 // <predefined>:2:1:
  114. X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
  115. X_SYS_LIMITS_H_ = 0 // limits.h:27:1:
  116. X_XOPEN_IOV_MAX = 16 // limits.h:106:1:
  117. X_XOPEN_NAME_MAX = 255 // limits.h:107:1:
  118. X_XOPEN_PATH_MAX = 1024 // limits.h:108:1:
  119. Unix = 1 // <predefined>:344:1:
  120. )
  121. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  122. type Size_t = uint64 /* <builtin>:9:23 */
  123. type Wchar_t = int32 /* <builtin>:15:24 */
  124. type X__int128_t = struct {
  125. Flo int64
  126. Fhi int64
  127. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  128. type X__uint128_t = struct {
  129. Flo uint64
  130. Fhi uint64
  131. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  132. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  133. type X__float128 = float64 /* <builtin>:47:21 */
  134. // $OpenBSD: limits.h,v 1.19 2015/01/20 22:09:50 tedu Exp $
  135. // $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $
  136. // Copyright (c) 1988 The Regents of the University of California.
  137. // All rights reserved.
  138. //
  139. // Redistribution and use in source and binary forms, with or without
  140. // modification, are permitted provided that the following conditions
  141. // are met:
  142. // 1. Redistributions of source code must retain the above copyright
  143. // notice, this list of conditions and the following disclaimer.
  144. // 2. Redistributions in binary form must reproduce the above copyright
  145. // notice, this list of conditions and the following disclaimer in the
  146. // documentation and/or other materials provided with the distribution.
  147. // 3. Neither the name of the University nor the names of its contributors
  148. // may be used to endorse or promote products derived from this software
  149. // without specific prior written permission.
  150. //
  151. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  152. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  153. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  154. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  155. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  156. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  157. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  158. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  159. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  160. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  161. // SUCH DAMAGE.
  162. //
  163. // @(#)limits.h 5.9 (Berkeley) 4/3/91
  164. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  165. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  166. // Copyright (c) 1991, 1993
  167. // The Regents of the University of California. All rights reserved.
  168. //
  169. // This code is derived from software contributed to Berkeley by
  170. // Berkeley Software Design, Inc.
  171. //
  172. // Redistribution and use in source and binary forms, with or without
  173. // modification, are permitted provided that the following conditions
  174. // are met:
  175. // 1. Redistributions of source code must retain the above copyright
  176. // notice, this list of conditions and the following disclaimer.
  177. // 2. Redistributions in binary form must reproduce the above copyright
  178. // notice, this list of conditions and the following disclaimer in the
  179. // documentation and/or other materials provided with the distribution.
  180. // 3. Neither the name of the University nor the names of its contributors
  181. // may be used to endorse or promote products derived from this software
  182. // without specific prior written permission.
  183. //
  184. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  185. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  186. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  187. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  188. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  189. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  190. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  191. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  192. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  193. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  194. // SUCH DAMAGE.
  195. //
  196. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  197. // $OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $
  198. // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
  199. // Public domain.
  200. // Macro to test if we're using a specific version of gcc or later.
  201. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  202. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  203. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  204. // in between its arguments. Do not use __CONCAT on double-quoted strings,
  205. // such as those from the __STRING macro: to concatenate strings just put
  206. // them next to each other.
  207. // GCC1 and some versions of GCC2 declare dead (non-returning) and
  208. // pure (no side effects) functions using "volatile" and "const";
  209. // unfortunately, these then cause warnings under "-ansi -pedantic".
  210. // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
  211. // work for GNU C++ (modulo a slight glitch in the C++ grammar in
  212. // the distribution version of 2.5.5).
  213. // __returns_twice makes the compiler not assume the function
  214. // only returns once. This affects registerisation of variables:
  215. // even local variables need to be in memory across such a call.
  216. // Example: setjmp()
  217. // __only_inline makes the compiler only use this function definition
  218. // for inlining; references that can't be inlined will be left as
  219. // external references instead of generating a local copy. The
  220. // matching library should include a simple extern definition for
  221. // the function to handle those references. c.f. ctype.h
  222. // GNU C version 2.96 adds explicit branch prediction so that
  223. // the CPU back-end can hint the processor and also so that
  224. // code blocks can be reordered such that the predicted path
  225. // sees a more linear flow, thus improving cache behavior, etc.
  226. //
  227. // The following two macros provide us with a way to utilize this
  228. // compiler feature. Use __predict_true() if you expect the expression
  229. // to evaluate to true, and __predict_false() if you expect the
  230. // expression to evaluate to false.
  231. //
  232. // A few notes about usage:
  233. //
  234. // * Generally, __predict_false() error condition checks (unless
  235. // you have some _strong_ reason to do otherwise, in which case
  236. // document it), and/or __predict_true() `no-error' condition
  237. // checks, assuming you want to optimize for the no-error case.
  238. //
  239. // * Other than that, if you don't know the likelihood of a test
  240. // succeeding from empirical or other `hard' evidence, don't
  241. // make predictions.
  242. //
  243. // * These are meant to be used in places that are run `a lot'.
  244. // It is wasteful to make predictions in code that is run
  245. // seldomly (e.g. at subsystem initialization time) as the
  246. // basic block reordering that this affects can often generate
  247. // larger code.
  248. // Delete pseudo-keywords wherever they are not available or needed.
  249. // The __packed macro indicates that a variable or structure members
  250. // should have the smallest possible alignment, despite any host CPU
  251. // alignment requirements.
  252. //
  253. // The __aligned(x) macro specifies the minimum alignment of a
  254. // variable or structure.
  255. //
  256. // These macros together are useful for describing the layout and
  257. // alignment of messages exchanged with hardware or other systems.
  258. // "The nice thing about standards is that there are so many to choose from."
  259. // There are a number of "feature test macros" specified by (different)
  260. // standards that determine which interfaces and types the header files
  261. // should expose.
  262. //
  263. // Because of inconsistencies in these macros, we define our own
  264. // set in the private name space that end in _VISIBLE. These are
  265. // always defined and so headers can test their values easily.
  266. // Things can get tricky when multiple feature macros are defined.
  267. // We try to take the union of all the features requested.
  268. //
  269. // The following macros are guaranteed to have a value after cdefs.h
  270. // has been included:
  271. // __POSIX_VISIBLE
  272. // __XPG_VISIBLE
  273. // __ISO_C_VISIBLE
  274. // __BSD_VISIBLE
  275. // X/Open Portability Guides and Single Unix Specifications.
  276. // _XOPEN_SOURCE XPG3
  277. // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
  278. // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
  279. // _XOPEN_SOURCE == 500 XPG5
  280. // _XOPEN_SOURCE == 520 XPG5v2
  281. // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
  282. // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
  283. //
  284. // The XPG spec implies a specific value for _POSIX_C_SOURCE.
  285. // POSIX macros, these checks must follow the XOPEN ones above.
  286. //
  287. // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
  288. // _POSIX_C_SOURCE == 1 1003.1-1990
  289. // _POSIX_C_SOURCE == 2 1003.2-1992
  290. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  291. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  292. // and the omnibus ISO/IEC 9945-1:1996
  293. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  294. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  295. //
  296. // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
  297. // this may be overridden by the _ISOC99_SOURCE macro later.
  298. // _ANSI_SOURCE means to expose ANSI C89 interfaces only.
  299. // If the user defines it in addition to one of the POSIX or XOPEN
  300. // macros, assume the POSIX/XOPEN macro(s) should take precedence.
  301. // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
  302. // override any of the other macros since they are non-exclusive.
  303. // Finally deal with BSD-specific interfaces that are not covered
  304. // by any standards. We expose these when none of the POSIX or XPG
  305. // macros is defined or if the user explicitly asks for them.
  306. // Default values.
  307. // $OpenBSD: limits.h,v 1.10 2012/06/30 20:21:10 guenther Exp $
  308. // Copyright (c) 2002 Marc Espie.
  309. //
  310. // Redistribution and use in source and binary forms, with or without
  311. // modification, are permitted provided that the following conditions
  312. // are met:
  313. // 1. Redistributions of source code must retain the above copyright
  314. // notice, this list of conditions and the following disclaimer.
  315. // 2. Redistributions in binary form must reproduce the above copyright
  316. // notice, this list of conditions and the following disclaimer in the
  317. // documentation and/or other materials provided with the distribution.
  318. //
  319. // THIS SOFTWARE IS PROVIDED BY THE OPENBSD PROJECT AND CONTRIBUTORS
  320. // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  321. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  322. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENBSD
  323. // PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  324. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  325. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  326. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  327. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  328. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  329. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  330. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  331. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  332. // Copyright (c) 1991, 1993
  333. // The Regents of the University of California. All rights reserved.
  334. //
  335. // This code is derived from software contributed to Berkeley by
  336. // Berkeley Software Design, Inc.
  337. //
  338. // Redistribution and use in source and binary forms, with or without
  339. // modification, are permitted provided that the following conditions
  340. // are met:
  341. // 1. Redistributions of source code must retain the above copyright
  342. // notice, this list of conditions and the following disclaimer.
  343. // 2. Redistributions in binary form must reproduce the above copyright
  344. // notice, this list of conditions and the following disclaimer in the
  345. // documentation and/or other materials provided with the distribution.
  346. // 3. Neither the name of the University nor the names of its contributors
  347. // may be used to endorse or promote products derived from this software
  348. // without specific prior written permission.
  349. //
  350. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  351. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  352. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  353. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  354. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  355. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  356. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  357. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  358. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  359. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  360. // SUCH DAMAGE.
  361. //
  362. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  363. // Common definitions for limits.h.
  364. // Legacy
  365. // $OpenBSD: limits.h,v 1.6 2015/04/30 13:42:08 millert Exp $
  366. // Copyright (c) 1988 The Regents of the University of California.
  367. // All rights reserved.
  368. //
  369. // Redistribution and use in source and binary forms, with or without
  370. // modification, are permitted provided that the following conditions
  371. // are met:
  372. // 1. Redistributions of source code must retain the above copyright
  373. // notice, this list of conditions and the following disclaimer.
  374. // 2. Redistributions in binary form must reproduce the above copyright
  375. // notice, this list of conditions and the following disclaimer in the
  376. // documentation and/or other materials provided with the distribution.
  377. // 3. Neither the name of the University nor the names of its contributors
  378. // may be used to endorse or promote products derived from this software
  379. // without specific prior written permission.
  380. //
  381. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  382. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  383. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  384. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  385. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  386. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  387. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  388. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  389. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  390. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  391. // SUCH DAMAGE.
  392. //
  393. // @(#)limits.h 7.2 (Berkeley) 6/28/90
  394. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  395. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  396. // Copyright (c) 1991, 1993
  397. // The Regents of the University of California. All rights reserved.
  398. //
  399. // This code is derived from software contributed to Berkeley by
  400. // Berkeley Software Design, Inc.
  401. //
  402. // Redistribution and use in source and binary forms, with or without
  403. // modification, are permitted provided that the following conditions
  404. // are met:
  405. // 1. Redistributions of source code must retain the above copyright
  406. // notice, this list of conditions and the following disclaimer.
  407. // 2. Redistributions in binary form must reproduce the above copyright
  408. // notice, this list of conditions and the following disclaimer in the
  409. // documentation and/or other materials provided with the distribution.
  410. // 3. Neither the name of the University nor the names of its contributors
  411. // may be used to endorse or promote products derived from this software
  412. // without specific prior written permission.
  413. //
  414. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  415. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  416. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  417. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  418. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  419. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  420. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  421. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  422. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  423. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  424. // SUCH DAMAGE.
  425. //
  426. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  427. // max value for unsigned long
  428. // max value for a signed long
  429. // min value for a signed long
  430. // max value for unsigned long long
  431. // max value for a signed long long
  432. // min value for a signed long long
  433. // $OpenBSD: syslimits.h,v 1.15 2022/02/22 16:58:08 deraadt Exp $
  434. // $NetBSD: syslimits.h,v 1.12 1995/10/05 05:26:19 thorpej Exp $
  435. // Copyright (c) 1988, 1993
  436. // The Regents of the University of California. All rights reserved.
  437. //
  438. // Redistribution and use in source and binary forms, with or without
  439. // modification, are permitted provided that the following conditions
  440. // are met:
  441. // 1. Redistributions of source code must retain the above copyright
  442. // notice, this list of conditions and the following disclaimer.
  443. // 2. Redistributions in binary form must reproduce the above copyright
  444. // notice, this list of conditions and the following disclaimer in the
  445. // documentation and/or other materials provided with the distribution.
  446. // 3. Neither the name of the University nor the names of its contributors
  447. // may be used to endorse or promote products derived from this software
  448. // without specific prior written permission.
  449. //
  450. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  451. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  452. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  453. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  454. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  455. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  456. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  457. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  458. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  459. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  460. // SUCH DAMAGE.
  461. //
  462. // @(#)syslimits.h 8.1 (Berkeley) 6/2/93
  463. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  464. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  465. // Copyright (c) 1991, 1993
  466. // The Regents of the University of California. All rights reserved.
  467. //
  468. // This code is derived from software contributed to Berkeley by
  469. // Berkeley Software Design, Inc.
  470. //
  471. // Redistribution and use in source and binary forms, with or without
  472. // modification, are permitted provided that the following conditions
  473. // are met:
  474. // 1. Redistributions of source code must retain the above copyright
  475. // notice, this list of conditions and the following disclaimer.
  476. // 2. Redistributions in binary form must reproduce the above copyright
  477. // notice, this list of conditions and the following disclaimer in the
  478. // documentation and/or other materials provided with the distribution.
  479. // 3. Neither the name of the University nor the names of its contributors
  480. // may be used to endorse or promote products derived from this software
  481. // without specific prior written permission.
  482. //
  483. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  484. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  485. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  486. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  487. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  488. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  489. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  490. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  491. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  492. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  493. // SUCH DAMAGE.
  494. //
  495. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  496. var _ int8 /* gen.c:2:13: */