langinfo_openbsd_386.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. // Code generated by 'ccgo langinfo/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 langinfo/langinfo_openbsd_386.go -pkgname langinfo', DO NOT EDIT.
  2. package langinfo
  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. ABDAY_1 = 13 // langinfo.h:29:1:
  15. ABDAY_2 = 14 // langinfo.h:30:1:
  16. ABDAY_3 = 15 // langinfo.h:31:1:
  17. ABDAY_4 = 16 // langinfo.h:32:1:
  18. ABDAY_5 = 17 // langinfo.h:33:1:
  19. ABDAY_6 = 18 // langinfo.h:34:1:
  20. ABDAY_7 = 19 // langinfo.h:35:1:
  21. ABMON_1 = 32 // langinfo.h:50:1:
  22. ABMON_10 = 41 // langinfo.h:59:1:
  23. ABMON_11 = 42 // langinfo.h:60:1:
  24. ABMON_12 = 43 // langinfo.h:61:1:
  25. ABMON_2 = 33 // langinfo.h:51:1:
  26. ABMON_3 = 34 // langinfo.h:52:1:
  27. ABMON_4 = 35 // langinfo.h:53:1:
  28. ABMON_5 = 36 // langinfo.h:54:1:
  29. ABMON_6 = 37 // langinfo.h:55:1:
  30. ABMON_7 = 38 // langinfo.h:56:1:
  31. ABMON_8 = 39 // langinfo.h:57:1:
  32. ABMON_9 = 40 // langinfo.h:58:1:
  33. AM_STR = 4 // langinfo.h:18:1:
  34. CODESET = 51 // langinfo.h:71:1:
  35. CRNCYSTR = 50 // langinfo.h:69:1:
  36. DAY_1 = 6 // langinfo.h:21:1:
  37. DAY_2 = 7 // langinfo.h:22:1:
  38. DAY_3 = 8 // langinfo.h:23:1:
  39. DAY_4 = 9 // langinfo.h:24:1:
  40. DAY_5 = 10 // langinfo.h:25:1:
  41. DAY_6 = 11 // langinfo.h:26:1:
  42. DAY_7 = 12 // langinfo.h:27:1:
  43. D_FMT = 1 // langinfo.h:15:1:
  44. D_T_FMT = 0 // langinfo.h:14:1:
  45. MON_1 = 20 // langinfo.h:37:1:
  46. MON_10 = 29 // langinfo.h:46:1:
  47. MON_11 = 30 // langinfo.h:47:1:
  48. MON_12 = 31 // langinfo.h:48:1:
  49. MON_2 = 21 // langinfo.h:38:1:
  50. MON_3 = 22 // langinfo.h:39:1:
  51. MON_4 = 23 // langinfo.h:40:1:
  52. MON_5 = 24 // langinfo.h:41:1:
  53. MON_6 = 25 // langinfo.h:42:1:
  54. MON_7 = 26 // langinfo.h:43:1:
  55. MON_8 = 27 // langinfo.h:44:1:
  56. MON_9 = 28 // langinfo.h:45:1:
  57. NL_CAT_LOCALE = 1 // nl_types.h:76:1:
  58. NL_SETD = 1 // nl_types.h:75:1:
  59. NOEXPR = 49 // langinfo.h:68:1:
  60. NOSTR = 48 // langinfo.h:67:1:
  61. PM_STR = 5 // langinfo.h:19:1:
  62. RADIXCHAR = 44 // langinfo.h:63:1:
  63. THOUSEP = 45 // langinfo.h:64:1:
  64. T_FMT = 2 // langinfo.h:16:1:
  65. T_FMT_AMPM = 3 // langinfo.h:17:1:
  66. YESEXPR = 47 // langinfo.h:66:1:
  67. YESSTR = 46 // langinfo.h:65:1:
  68. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  69. X_ILP32 = 1 // <predefined>:1:1:
  70. X_LANGINFO_H_ = 0 // langinfo.h:10:1:
  71. X_LOCALE_T_DEFINED_ = 0 // langinfo.h:75:1:
  72. X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
  73. X_NL_TYPES_H_ = 0 // nl_types.h:34:1:
  74. X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
  75. I386 = 1 // <predefined>:339:1:
  76. Unix = 1 // <predefined>:340:1:
  77. )
  78. type Ptrdiff_t = int32 /* <builtin>:3:26 */
  79. type Size_t = uint32 /* <builtin>:9:23 */
  80. type Wchar_t = int32 /* <builtin>:15:24 */
  81. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  82. type X__float128 = float64 /* <builtin>:47:21 */
  83. // $OpenBSD: langinfo.h,v 1.8 2017/09/05 03:16:13 schwarze Exp $
  84. // $NetBSD: langinfo.h,v 1.3 1995/04/28 23:30:54 jtc Exp $
  85. // Written by J.T. Conklin <jtc@netbsd.org>
  86. // Public domain.
  87. // $OpenBSD: nl_types.h,v 1.8 2008/06/26 05:42:04 ray Exp $
  88. // $NetBSD: nl_types.h,v 1.6 1996/05/13 23:11:15 jtc Exp $
  89. // -
  90. // Copyright (c) 1996 The NetBSD Foundation, Inc.
  91. // All rights reserved.
  92. //
  93. // This code is derived from software contributed to The NetBSD Foundation
  94. // by J.T. Conklin.
  95. //
  96. // Redistribution and use in source and binary forms, with or without
  97. // modification, are permitted provided that the following conditions
  98. // are met:
  99. // 1. Redistributions of source code must retain the above copyright
  100. // notice, this list of conditions and the following disclaimer.
  101. // 2. Redistributions in binary form must reproduce the above copyright
  102. // notice, this list of conditions and the following disclaimer in the
  103. // documentation and/or other materials provided with the distribution.
  104. //
  105. // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  106. // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  107. // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  108. // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
  109. // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  110. // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  111. // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  112. // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  113. // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  114. // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  115. // POSSIBILITY OF SUCH DAMAGE.
  116. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  117. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  118. // Copyright (c) 1991, 1993
  119. // The Regents of the University of California. All rights reserved.
  120. //
  121. // This code is derived from software contributed to Berkeley by
  122. // Berkeley Software Design, Inc.
  123. //
  124. // Redistribution and use in source and binary forms, with or without
  125. // modification, are permitted provided that the following conditions
  126. // are met:
  127. // 1. Redistributions of source code must retain the above copyright
  128. // notice, this list of conditions and the following disclaimer.
  129. // 2. Redistributions in binary form must reproduce the above copyright
  130. // notice, this list of conditions and the following disclaimer in the
  131. // documentation and/or other materials provided with the distribution.
  132. // 3. Neither the name of the University nor the names of its contributors
  133. // may be used to endorse or promote products derived from this software
  134. // without specific prior written permission.
  135. //
  136. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  137. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  138. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  139. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  140. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  141. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  142. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  143. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  144. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  145. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  146. // SUCH DAMAGE.
  147. //
  148. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  149. // $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $
  150. // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
  151. // Public domain.
  152. // Macro to test if we're using a specific version of gcc or later.
  153. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  154. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  155. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  156. // in between its arguments. Do not use __CONCAT on double-quoted strings,
  157. // such as those from the __STRING macro: to concatenate strings just put
  158. // them next to each other.
  159. // GCC1 and some versions of GCC2 declare dead (non-returning) and
  160. // pure (no side effects) functions using "volatile" and "const";
  161. // unfortunately, these then cause warnings under "-ansi -pedantic".
  162. // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
  163. // work for GNU C++ (modulo a slight glitch in the C++ grammar in
  164. // the distribution version of 2.5.5).
  165. // __returns_twice makes the compiler not assume the function
  166. // only returns once. This affects registerisation of variables:
  167. // even local variables need to be in memory across such a call.
  168. // Example: setjmp()
  169. // __only_inline makes the compiler only use this function definition
  170. // for inlining; references that can't be inlined will be left as
  171. // external references instead of generating a local copy. The
  172. // matching library should include a simple extern definition for
  173. // the function to handle those references. c.f. ctype.h
  174. // GNU C version 2.96 adds explicit branch prediction so that
  175. // the CPU back-end can hint the processor and also so that
  176. // code blocks can be reordered such that the predicted path
  177. // sees a more linear flow, thus improving cache behavior, etc.
  178. //
  179. // The following two macros provide us with a way to utilize this
  180. // compiler feature. Use __predict_true() if you expect the expression
  181. // to evaluate to true, and __predict_false() if you expect the
  182. // expression to evaluate to false.
  183. //
  184. // A few notes about usage:
  185. //
  186. // * Generally, __predict_false() error condition checks (unless
  187. // you have some _strong_ reason to do otherwise, in which case
  188. // document it), and/or __predict_true() `no-error' condition
  189. // checks, assuming you want to optimize for the no-error case.
  190. //
  191. // * Other than that, if you don't know the likelihood of a test
  192. // succeeding from empirical or other `hard' evidence, don't
  193. // make predictions.
  194. //
  195. // * These are meant to be used in places that are run `a lot'.
  196. // It is wasteful to make predictions in code that is run
  197. // seldomly (e.g. at subsystem initialization time) as the
  198. // basic block reordering that this affects can often generate
  199. // larger code.
  200. // Delete pseudo-keywords wherever they are not available or needed.
  201. // The __packed macro indicates that a variable or structure members
  202. // should have the smallest possible alignment, despite any host CPU
  203. // alignment requirements.
  204. //
  205. // The __aligned(x) macro specifies the minimum alignment of a
  206. // variable or structure.
  207. //
  208. // These macros together are useful for describing the layout and
  209. // alignment of messages exchanged with hardware or other systems.
  210. // "The nice thing about standards is that there are so many to choose from."
  211. // There are a number of "feature test macros" specified by (different)
  212. // standards that determine which interfaces and types the header files
  213. // should expose.
  214. //
  215. // Because of inconsistencies in these macros, we define our own
  216. // set in the private name space that end in _VISIBLE. These are
  217. // always defined and so headers can test their values easily.
  218. // Things can get tricky when multiple feature macros are defined.
  219. // We try to take the union of all the features requested.
  220. //
  221. // The following macros are guaranteed to have a value after cdefs.h
  222. // has been included:
  223. // __POSIX_VISIBLE
  224. // __XPG_VISIBLE
  225. // __ISO_C_VISIBLE
  226. // __BSD_VISIBLE
  227. // X/Open Portability Guides and Single Unix Specifications.
  228. // _XOPEN_SOURCE XPG3
  229. // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
  230. // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
  231. // _XOPEN_SOURCE == 500 XPG5
  232. // _XOPEN_SOURCE == 520 XPG5v2
  233. // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
  234. // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
  235. //
  236. // The XPG spec implies a specific value for _POSIX_C_SOURCE.
  237. // POSIX macros, these checks must follow the XOPEN ones above.
  238. //
  239. // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
  240. // _POSIX_C_SOURCE == 1 1003.1-1990
  241. // _POSIX_C_SOURCE == 2 1003.2-1992
  242. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  243. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  244. // and the omnibus ISO/IEC 9945-1:1996
  245. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  246. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  247. //
  248. // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
  249. // this may be overridden by the _ISOC99_SOURCE macro later.
  250. // _ANSI_SOURCE means to expose ANSI C89 interfaces only.
  251. // If the user defines it in addition to one of the POSIX or XOPEN
  252. // macros, assume the POSIX/XOPEN macro(s) should take precedence.
  253. // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
  254. // override any of the other macros since they are non-exclusive.
  255. // Finally deal with BSD-specific interfaces that are not covered
  256. // by any standards. We expose these when none of the POSIX or XPG
  257. // macros is defined or if the user explicitly asks for them.
  258. // Default values.
  259. type X_nl_catd = struct {
  260. F__data uintptr
  261. F__size int32
  262. } /* nl_types.h:78:9 */
  263. // $OpenBSD: langinfo.h,v 1.8 2017/09/05 03:16:13 schwarze Exp $
  264. // $NetBSD: langinfo.h,v 1.3 1995/04/28 23:30:54 jtc Exp $
  265. // Written by J.T. Conklin <jtc@netbsd.org>
  266. // Public domain.
  267. // $OpenBSD: nl_types.h,v 1.8 2008/06/26 05:42:04 ray Exp $
  268. // $NetBSD: nl_types.h,v 1.6 1996/05/13 23:11:15 jtc Exp $
  269. // -
  270. // Copyright (c) 1996 The NetBSD Foundation, Inc.
  271. // All rights reserved.
  272. //
  273. // This code is derived from software contributed to The NetBSD Foundation
  274. // by J.T. Conklin.
  275. //
  276. // Redistribution and use in source and binary forms, with or without
  277. // modification, are permitted provided that the following conditions
  278. // are met:
  279. // 1. Redistributions of source code must retain the above copyright
  280. // notice, this list of conditions and the following disclaimer.
  281. // 2. Redistributions in binary form must reproduce the above copyright
  282. // notice, this list of conditions and the following disclaimer in the
  283. // documentation and/or other materials provided with the distribution.
  284. //
  285. // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  286. // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  287. // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  288. // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
  289. // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  290. // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  291. // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  292. // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  293. // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  294. // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  295. // POSSIBILITY OF SUCH DAMAGE.
  296. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  297. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  298. // Copyright (c) 1991, 1993
  299. // The Regents of the University of California. All rights reserved.
  300. //
  301. // This code is derived from software contributed to Berkeley by
  302. // Berkeley Software Design, Inc.
  303. //
  304. // Redistribution and use in source and binary forms, with or without
  305. // modification, are permitted provided that the following conditions
  306. // are met:
  307. // 1. Redistributions of source code must retain the above copyright
  308. // notice, this list of conditions and the following disclaimer.
  309. // 2. Redistributions in binary form must reproduce the above copyright
  310. // notice, this list of conditions and the following disclaimer in the
  311. // documentation and/or other materials provided with the distribution.
  312. // 3. Neither the name of the University nor the names of its contributors
  313. // may be used to endorse or promote products derived from this software
  314. // without specific prior written permission.
  315. //
  316. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  317. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  318. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  319. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  320. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  321. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  322. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  323. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  324. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  325. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  326. // SUCH DAMAGE.
  327. //
  328. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  329. // $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $
  330. // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
  331. // Public domain.
  332. // Macro to test if we're using a specific version of gcc or later.
  333. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  334. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  335. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  336. // in between its arguments. Do not use __CONCAT on double-quoted strings,
  337. // such as those from the __STRING macro: to concatenate strings just put
  338. // them next to each other.
  339. // GCC1 and some versions of GCC2 declare dead (non-returning) and
  340. // pure (no side effects) functions using "volatile" and "const";
  341. // unfortunately, these then cause warnings under "-ansi -pedantic".
  342. // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
  343. // work for GNU C++ (modulo a slight glitch in the C++ grammar in
  344. // the distribution version of 2.5.5).
  345. // __returns_twice makes the compiler not assume the function
  346. // only returns once. This affects registerisation of variables:
  347. // even local variables need to be in memory across such a call.
  348. // Example: setjmp()
  349. // __only_inline makes the compiler only use this function definition
  350. // for inlining; references that can't be inlined will be left as
  351. // external references instead of generating a local copy. The
  352. // matching library should include a simple extern definition for
  353. // the function to handle those references. c.f. ctype.h
  354. // GNU C version 2.96 adds explicit branch prediction so that
  355. // the CPU back-end can hint the processor and also so that
  356. // code blocks can be reordered such that the predicted path
  357. // sees a more linear flow, thus improving cache behavior, etc.
  358. //
  359. // The following two macros provide us with a way to utilize this
  360. // compiler feature. Use __predict_true() if you expect the expression
  361. // to evaluate to true, and __predict_false() if you expect the
  362. // expression to evaluate to false.
  363. //
  364. // A few notes about usage:
  365. //
  366. // * Generally, __predict_false() error condition checks (unless
  367. // you have some _strong_ reason to do otherwise, in which case
  368. // document it), and/or __predict_true() `no-error' condition
  369. // checks, assuming you want to optimize for the no-error case.
  370. //
  371. // * Other than that, if you don't know the likelihood of a test
  372. // succeeding from empirical or other `hard' evidence, don't
  373. // make predictions.
  374. //
  375. // * These are meant to be used in places that are run `a lot'.
  376. // It is wasteful to make predictions in code that is run
  377. // seldomly (e.g. at subsystem initialization time) as the
  378. // basic block reordering that this affects can often generate
  379. // larger code.
  380. // Delete pseudo-keywords wherever they are not available or needed.
  381. // The __packed macro indicates that a variable or structure members
  382. // should have the smallest possible alignment, despite any host CPU
  383. // alignment requirements.
  384. //
  385. // The __aligned(x) macro specifies the minimum alignment of a
  386. // variable or structure.
  387. //
  388. // These macros together are useful for describing the layout and
  389. // alignment of messages exchanged with hardware or other systems.
  390. // "The nice thing about standards is that there are so many to choose from."
  391. // There are a number of "feature test macros" specified by (different)
  392. // standards that determine which interfaces and types the header files
  393. // should expose.
  394. //
  395. // Because of inconsistencies in these macros, we define our own
  396. // set in the private name space that end in _VISIBLE. These are
  397. // always defined and so headers can test their values easily.
  398. // Things can get tricky when multiple feature macros are defined.
  399. // We try to take the union of all the features requested.
  400. //
  401. // The following macros are guaranteed to have a value after cdefs.h
  402. // has been included:
  403. // __POSIX_VISIBLE
  404. // __XPG_VISIBLE
  405. // __ISO_C_VISIBLE
  406. // __BSD_VISIBLE
  407. // X/Open Portability Guides and Single Unix Specifications.
  408. // _XOPEN_SOURCE XPG3
  409. // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
  410. // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
  411. // _XOPEN_SOURCE == 500 XPG5
  412. // _XOPEN_SOURCE == 520 XPG5v2
  413. // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
  414. // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
  415. //
  416. // The XPG spec implies a specific value for _POSIX_C_SOURCE.
  417. // POSIX macros, these checks must follow the XOPEN ones above.
  418. //
  419. // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
  420. // _POSIX_C_SOURCE == 1 1003.1-1990
  421. // _POSIX_C_SOURCE == 2 1003.2-1992
  422. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  423. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  424. // and the omnibus ISO/IEC 9945-1:1996
  425. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  426. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  427. //
  428. // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
  429. // this may be overridden by the _ISOC99_SOURCE macro later.
  430. // _ANSI_SOURCE means to expose ANSI C89 interfaces only.
  431. // If the user defines it in addition to one of the POSIX or XOPEN
  432. // macros, assume the POSIX/XOPEN macro(s) should take precedence.
  433. // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
  434. // override any of the other macros since they are non-exclusive.
  435. // Finally deal with BSD-specific interfaces that are not covered
  436. // by any standards. We expose these when none of the POSIX or XPG
  437. // macros is defined or if the user explicitly asks for them.
  438. // Default values.
  439. type Nl_catd = uintptr /* nl_types.h:81:3 */
  440. type Nl_item = int32 /* nl_types.h:83:14 */
  441. type Locale_t = uintptr /* langinfo.h:76:14 */
  442. var _ int8 /* gen.c:2:13: */