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