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