poll_openbsd_386.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. // Code generated by 'ccgo poll/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 poll/poll_openbsd_386.go -pkgname poll', DO NOT EDIT.
  2. package poll
  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. INFTIM = -1 // poll.h:54:1:
  15. POLLERR = 0x0008 // poll.h:42:1:
  16. POLLHUP = 0x0010 // poll.h:43:1:
  17. POLLIN = 0x0001 // poll.h:39:1:
  18. POLLNORM = 64 // poll.h:46:1:
  19. POLLNVAL = 0x0020 // poll.h:44:1:
  20. POLLOUT = 0x0004 // poll.h:41:1:
  21. POLLPRI = 0x0002 // poll.h:40:1:
  22. POLLRDBAND = 0x0080 // poll.h:48:1:
  23. POLLRDNORM = 0x0040 // poll.h:45:1:
  24. POLLWRBAND = 0x0100 // poll.h:49:1:
  25. POLLWRNORM = 4 // poll.h:47:1:
  26. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  27. X_ILP32 = 1 // <predefined>:1:1:
  28. X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
  29. X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
  30. X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
  31. X_SIGSET_T_DEFINED_ = 0 // poll.h:63:1:
  32. X_STACKALIGNBYTES = 15 // _types.h:49:1:
  33. X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
  34. X_SYS_POLL_H_ = 0 // poll.h:29:1:
  35. X_SYS__TYPES_H_ = 0 // _types.h:35:1:
  36. X_TIMESPEC_DECLARED = 0 // poll.h:73:1:
  37. X_TIME_T_DEFINED_ = 0 // poll.h:68:1:
  38. I386 = 1 // <predefined>:339:1:
  39. Unix = 1 // <predefined>:340:1:
  40. )
  41. type Ptrdiff_t = int32 /* <builtin>:3:26 */
  42. type Size_t = uint32 /* <builtin>:9:23 */
  43. type Wchar_t = int32 /* <builtin>:15:24 */
  44. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  45. type X__float128 = float64 /* <builtin>:47:21 */
  46. // $OpenBSD: poll.h,v 1.3 2003/10/29 16:41:13 deraadt Exp $
  47. // Written by Theo de Raadt, Public Domain
  48. //
  49. // Typical poll() implementations expect poll.h to be in /usr/include.
  50. // However this is not a convenient place for the real definitions.
  51. // $OpenBSD: poll.h,v 1.15 2016/06/07 06:12:37 deraadt Exp $
  52. // Copyright (c) 1996 Theo de Raadt
  53. // All rights reserved.
  54. //
  55. // Redistribution and use in source and binary forms, with or without
  56. // modification, are permitted provided that the following conditions
  57. // are met:
  58. // 1. Redistributions of source code must retain the above copyright
  59. // notice, this list of conditions and the following disclaimer.
  60. // 2. Redistributions in binary form must reproduce the above copyright
  61. // notice, this list of conditions and the following disclaimer in the
  62. // documentation and/or other materials provided with the distribution.
  63. //
  64. // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  65. // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  66. // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  67. // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  68. // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  69. // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  70. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  71. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  72. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  73. // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  74. type Pollfd = struct {
  75. Ffd int32
  76. Fevents int16
  77. Frevents int16
  78. } /* poll.h:31:9 */
  79. // $OpenBSD: poll.h,v 1.3 2003/10/29 16:41:13 deraadt Exp $
  80. // Written by Theo de Raadt, Public Domain
  81. //
  82. // Typical poll() implementations expect poll.h to be in /usr/include.
  83. // However this is not a convenient place for the real definitions.
  84. // $OpenBSD: poll.h,v 1.15 2016/06/07 06:12:37 deraadt Exp $
  85. // Copyright (c) 1996 Theo de Raadt
  86. // All rights reserved.
  87. //
  88. // Redistribution and use in source and binary forms, with or without
  89. // modification, are permitted provided that the following conditions
  90. // are met:
  91. // 1. Redistributions of source code must retain the above copyright
  92. // notice, this list of conditions and the following disclaimer.
  93. // 2. Redistributions in binary form must reproduce the above copyright
  94. // notice, this list of conditions and the following disclaimer in the
  95. // documentation and/or other materials provided with the distribution.
  96. //
  97. // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  98. // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  99. // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  100. // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  101. // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  102. // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  103. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  104. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  105. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  106. // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  107. type Pollfd_t = Pollfd /* poll.h:35:3 */
  108. type Nfds_t = uint32 /* poll.h:37:22 */
  109. // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
  110. // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
  111. // Copyright (c) 1991, 1993
  112. // The Regents of the University of California. All rights reserved.
  113. //
  114. // This code is derived from software contributed to Berkeley by
  115. // Berkeley Software Design, Inc.
  116. //
  117. // Redistribution and use in source and binary forms, with or without
  118. // modification, are permitted provided that the following conditions
  119. // are met:
  120. // 1. Redistributions of source code must retain the above copyright
  121. // notice, this list of conditions and the following disclaimer.
  122. // 2. Redistributions in binary form must reproduce the above copyright
  123. // notice, this list of conditions and the following disclaimer in the
  124. // documentation and/or other materials provided with the distribution.
  125. // 3. Neither the name of the University nor the names of its contributors
  126. // may be used to endorse or promote products derived from this software
  127. // without specific prior written permission.
  128. //
  129. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  130. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  131. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  132. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  133. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  134. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  135. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  136. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  137. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  138. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  139. // SUCH DAMAGE.
  140. //
  141. // @(#)cdefs.h 8.7 (Berkeley) 1/21/94
  142. // $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $
  143. // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
  144. // Public domain.
  145. // Macro to test if we're using a specific version of gcc or later.
  146. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  147. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  148. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  149. // in between its arguments. Do not use __CONCAT on double-quoted strings,
  150. // such as those from the __STRING macro: to concatenate strings just put
  151. // them next to each other.
  152. // GCC1 and some versions of GCC2 declare dead (non-returning) and
  153. // pure (no side effects) functions using "volatile" and "const";
  154. // unfortunately, these then cause warnings under "-ansi -pedantic".
  155. // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
  156. // work for GNU C++ (modulo a slight glitch in the C++ grammar in
  157. // the distribution version of 2.5.5).
  158. // __returns_twice makes the compiler not assume the function
  159. // only returns once. This affects registerisation of variables:
  160. // even local variables need to be in memory across such a call.
  161. // Example: setjmp()
  162. // __only_inline makes the compiler only use this function definition
  163. // for inlining; references that can't be inlined will be left as
  164. // external references instead of generating a local copy. The
  165. // matching library should include a simple extern definition for
  166. // the function to handle those references. c.f. ctype.h
  167. // GNU C version 2.96 adds explicit branch prediction so that
  168. // the CPU back-end can hint the processor and also so that
  169. // code blocks can be reordered such that the predicted path
  170. // sees a more linear flow, thus improving cache behavior, etc.
  171. //
  172. // The following two macros provide us with a way to utilize this
  173. // compiler feature. Use __predict_true() if you expect the expression
  174. // to evaluate to true, and __predict_false() if you expect the
  175. // expression to evaluate to false.
  176. //
  177. // A few notes about usage:
  178. //
  179. // * Generally, __predict_false() error condition checks (unless
  180. // you have some _strong_ reason to do otherwise, in which case
  181. // document it), and/or __predict_true() `no-error' condition
  182. // checks, assuming you want to optimize for the no-error case.
  183. //
  184. // * Other than that, if you don't know the likelihood of a test
  185. // succeeding from empirical or other `hard' evidence, don't
  186. // make predictions.
  187. //
  188. // * These are meant to be used in places that are run `a lot'.
  189. // It is wasteful to make predictions in code that is run
  190. // seldomly (e.g. at subsystem initialization time) as the
  191. // basic block reordering that this affects can often generate
  192. // larger code.
  193. // Delete pseudo-keywords wherever they are not available or needed.
  194. // The __packed macro indicates that a variable or structure members
  195. // should have the smallest possible alignment, despite any host CPU
  196. // alignment requirements.
  197. //
  198. // The __aligned(x) macro specifies the minimum alignment of a
  199. // variable or structure.
  200. //
  201. // These macros together are useful for describing the layout and
  202. // alignment of messages exchanged with hardware or other systems.
  203. // "The nice thing about standards is that there are so many to choose from."
  204. // There are a number of "feature test macros" specified by (different)
  205. // standards that determine which interfaces and types the header files
  206. // should expose.
  207. //
  208. // Because of inconsistencies in these macros, we define our own
  209. // set in the private name space that end in _VISIBLE. These are
  210. // always defined and so headers can test their values easily.
  211. // Things can get tricky when multiple feature macros are defined.
  212. // We try to take the union of all the features requested.
  213. //
  214. // The following macros are guaranteed to have a value after cdefs.h
  215. // has been included:
  216. // __POSIX_VISIBLE
  217. // __XPG_VISIBLE
  218. // __ISO_C_VISIBLE
  219. // __BSD_VISIBLE
  220. // X/Open Portability Guides and Single Unix Specifications.
  221. // _XOPEN_SOURCE XPG3
  222. // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
  223. // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
  224. // _XOPEN_SOURCE == 500 XPG5
  225. // _XOPEN_SOURCE == 520 XPG5v2
  226. // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
  227. // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
  228. //
  229. // The XPG spec implies a specific value for _POSIX_C_SOURCE.
  230. // POSIX macros, these checks must follow the XOPEN ones above.
  231. //
  232. // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
  233. // _POSIX_C_SOURCE == 1 1003.1-1990
  234. // _POSIX_C_SOURCE == 2 1003.2-1992
  235. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  236. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  237. // and the omnibus ISO/IEC 9945-1:1996
  238. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  239. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  240. //
  241. // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
  242. // this may be overridden by the _ISOC99_SOURCE macro later.
  243. // _ANSI_SOURCE means to expose ANSI C89 interfaces only.
  244. // If the user defines it in addition to one of the POSIX or XOPEN
  245. // macros, assume the POSIX/XOPEN macro(s) should take precedence.
  246. // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
  247. // override any of the other macros since they are non-exclusive.
  248. // Finally deal with BSD-specific interfaces that are not covered
  249. // by any standards. We expose these when none of the POSIX or XPG
  250. // macros is defined or if the user explicitly asks for them.
  251. // Default values.
  252. // $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
  253. // -
  254. // Copyright (c) 1990, 1993
  255. // The Regents of the University of California. All rights reserved.
  256. //
  257. // Redistribution and use in source and binary forms, with or without
  258. // modification, are permitted provided that the following conditions
  259. // are met:
  260. // 1. Redistributions of source code must retain the above copyright
  261. // notice, this list of conditions and the following disclaimer.
  262. // 2. Redistributions in binary form must reproduce the above copyright
  263. // notice, this list of conditions and the following disclaimer in the
  264. // documentation and/or other materials provided with the distribution.
  265. // 3. Neither the name of the University nor the names of its contributors
  266. // may be used to endorse or promote products derived from this software
  267. // without specific prior written permission.
  268. //
  269. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  270. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  271. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  272. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  273. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  274. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  275. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  276. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  277. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  278. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  279. // SUCH DAMAGE.
  280. //
  281. // @(#)types.h 8.3 (Berkeley) 1/5/94
  282. // $OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $
  283. // -
  284. // Copyright (c) 1990, 1993
  285. // The Regents of the University of California. All rights reserved.
  286. //
  287. // Redistribution and use in source and binary forms, with or without
  288. // modification, are permitted provided that the following conditions
  289. // are met:
  290. // 1. Redistributions of source code must retain the above copyright
  291. // notice, this list of conditions and the following disclaimer.
  292. // 2. Redistributions in binary form must reproduce the above copyright
  293. // notice, this list of conditions and the following disclaimer in the
  294. // documentation and/or other materials provided with the distribution.
  295. // 3. Neither the name of the University nor the names of its contributors
  296. // may be used to endorse or promote products derived from this software
  297. // without specific prior written permission.
  298. //
  299. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  300. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  301. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  302. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  303. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  304. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  305. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  306. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  307. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  308. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  309. // SUCH DAMAGE.
  310. //
  311. // @(#)types.h 8.3 (Berkeley) 1/5/94
  312. // @(#)ansi.h 8.2 (Berkeley) 1/4/94
  313. // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned
  314. // value for all data types (int, long, ...). The result is an
  315. // unsigned long and must be cast to any desired pointer type.
  316. //
  317. // _ALIGNED_POINTER is a boolean macro that checks whether an address
  318. // is valid to fetch data elements of type t from on this architecture.
  319. // This does not reflect the optimal alignment, just the possibility
  320. // (within reasonable limits).
  321. // 7.18.1.1 Exact-width integer types
  322. type X__int8_t = int8 /* _types.h:61:22 */
  323. type X__uint8_t = uint8 /* _types.h:62:24 */
  324. type X__int16_t = int16 /* _types.h:63:17 */
  325. type X__uint16_t = uint16 /* _types.h:64:25 */
  326. type X__int32_t = int32 /* _types.h:65:15 */
  327. type X__uint32_t = uint32 /* _types.h:66:23 */
  328. type X__int64_t = int64 /* _types.h:67:20 */
  329. type X__uint64_t = uint64 /* _types.h:68:28 */
  330. // 7.18.1.2 Minimum-width integer types
  331. type X__int_least8_t = X__int8_t /* _types.h:71:19 */
  332. type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */
  333. type X__int_least16_t = X__int16_t /* _types.h:73:20 */
  334. type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */
  335. type X__int_least32_t = X__int32_t /* _types.h:75:20 */
  336. type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */
  337. type X__int_least64_t = X__int64_t /* _types.h:77:20 */
  338. type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */
  339. // 7.18.1.3 Fastest minimum-width integer types
  340. type X__int_fast8_t = X__int32_t /* _types.h:81:20 */
  341. type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */
  342. type X__int_fast16_t = X__int32_t /* _types.h:83:20 */
  343. type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */
  344. type X__int_fast32_t = X__int32_t /* _types.h:85:20 */
  345. type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */
  346. type X__int_fast64_t = X__int64_t /* _types.h:87:20 */
  347. type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */
  348. // 7.18.1.4 Integer types capable of holding object pointers
  349. type X__intptr_t = int32 /* _types.h:103:16 */
  350. type X__uintptr_t = uint32 /* _types.h:104:24 */
  351. // 7.18.1.5 Greatest-width integer types
  352. type X__intmax_t = X__int64_t /* _types.h:107:20 */
  353. type X__uintmax_t = X__uint64_t /* _types.h:108:21 */
  354. // Register size
  355. type X__register_t = int32 /* _types.h:111:16 */
  356. // VM system types
  357. type X__vaddr_t = uint32 /* _types.h:114:24 */
  358. type X__paddr_t = uint32 /* _types.h:115:24 */
  359. type X__vsize_t = uint32 /* _types.h:116:24 */
  360. type X__psize_t = uint32 /* _types.h:117:24 */
  361. // Standard system types
  362. type X__double_t = float64 /* _types.h:120:22 */
  363. type X__float_t = float64 /* _types.h:121:22 */
  364. type X__ptrdiff_t = int32 /* _types.h:122:16 */
  365. type X__size_t = uint32 /* _types.h:123:24 */
  366. type X__ssize_t = int32 /* _types.h:124:16 */
  367. type X__va_list = X__builtin_va_list /* _types.h:126:27 */
  368. // Wide character support types
  369. type X__wchar_t = int32 /* _types.h:133:15 */
  370. type X__wint_t = int32 /* _types.h:135:15 */
  371. type X__rune_t = int32 /* _types.h:136:15 */
  372. type X__wctrans_t = uintptr /* _types.h:137:14 */
  373. type X__wctype_t = uintptr /* _types.h:138:14 */
  374. type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file
  375. type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O
  376. type X__clock_t = X__int64_t /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC
  377. type X__clockid_t = X__int32_t /* _types.h:42:19 */ // CLOCK_* identifiers
  378. type X__cpuid_t = uint32 /* _types.h:43:23 */ // CPU id
  379. type X__dev_t = X__int32_t /* _types.h:44:19 */ // device number
  380. type X__fixpt_t = X__uint32_t /* _types.h:45:20 */ // fixed point number
  381. type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count
  382. type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count
  383. type X__gid_t = X__uint32_t /* _types.h:48:20 */ // group id
  384. type X__id_t = X__uint32_t /* _types.h:49:20 */ // may contain pid, uid or gid
  385. type X__in_addr_t = X__uint32_t /* _types.h:50:20 */ // base type for internet address
  386. type X__in_port_t = X__uint16_t /* _types.h:51:20 */ // IP port type
  387. type X__ino_t = X__uint64_t /* _types.h:52:20 */ // inode number
  388. type X__key_t = int32 /* _types.h:53:15 */ // IPC key (for Sys V IPC)
  389. type X__mode_t = X__uint32_t /* _types.h:54:20 */ // permissions
  390. type X__nlink_t = X__uint32_t /* _types.h:55:20 */ // link count
  391. type X__off_t = X__int64_t /* _types.h:56:19 */ // file offset or size
  392. type X__pid_t = X__int32_t /* _types.h:57:19 */ // process id
  393. type X__rlim_t = X__uint64_t /* _types.h:58:20 */ // resource limit
  394. type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type
  395. type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
  396. type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
  397. type X__suseconds_t = int32 /* _types.h:62:15 */ // microseconds (signed)
  398. type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
  399. type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
  400. type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
  401. type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
  402. // mbstate_t is an opaque object to keep conversion state, during multibyte
  403. // stream conversions. The content must not be referenced by user programs.
  404. type X__mbstate_t = struct {
  405. F__ccgo_pad1 [0]uint32
  406. F__mbstate8 [128]int8
  407. } /* _types.h:75:3 */
  408. type Sigset_t = uint32 /* poll.h:64:22 */
  409. type Time_t = X__time_t /* poll.h:69:18 */
  410. type Timespec = struct {
  411. Ftv_sec Time_t
  412. Ftv_nsec int32
  413. } /* poll.h:74:1 */
  414. var _ int8 /* gen.c:2:13: */