github.com/afumu/libc@v0.0.6/dirent/dirent_openbsd_amd64.go (about) 1 // Code generated by 'ccgo dirent/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 dirent/dirent_openbsd_amd64.go -pkgname dirent', DO NOT EDIT. 2 3 package dirent 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 BIG_ENDIAN = 4321 // endian.h:45:1: 19 BYTE_ORDER = 1234 // endian.h:47:1: 20 DIRBLKSIZ = 1024 // dirent.h:64:1: 21 DT_BLK = 6 // dirent.h:74:1: 22 DT_CHR = 2 // dirent.h:72:1: 23 DT_DIR = 4 // dirent.h:73:1: 24 DT_FIFO = 1 // dirent.h:71:1: 25 DT_LNK = 10 // dirent.h:76:1: 26 DT_REG = 8 // dirent.h:75:1: 27 DT_SOCK = 12 // dirent.h:77:1: 28 DT_UNKNOWN = 0 // dirent.h:70:1: 29 LITTLE_ENDIAN = 1234 // endian.h:44:1: 30 MAXNAMLEN = 255 // dirent.h:59:1: 31 PDP_ENDIAN = 3412 // endian.h:46:1: 32 X_BIG_ENDIAN = 4321 // _endian.h:43:1: 33 X_BYTE_ORDER = 1234 // endian.h:58:1: 34 X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1: 35 X_CLOCK_T_DEFINED_ = 0 // types.h:157:1: 36 X_DIRENT_H_ = 0 // dirent.h:36:1: 37 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 38 X_INT16_T_DEFINED_ = 0 // types.h:84:1: 39 X_INT32_T_DEFINED_ = 0 // types.h:94:1: 40 X_INT64_T_DEFINED_ = 0 // types.h:104:1: 41 X_INT8_T_DEFINED_ = 0 // types.h:74:1: 42 X_LITTLE_ENDIAN = 1234 // _endian.h:42:1: 43 X_LP64 = 1 // <predefined>:1:1: 44 X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1: 45 X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1: 46 X_MACHINE__TYPES_H_ = 0 // _types.h:36:1: 47 X_MAX_PAGE_SHIFT = 12 // _types.h:52:1: 48 X_OFF_T_DEFINED_ = 0 // types.h:192:1: 49 X_PDP_ENDIAN = 3412 // _endian.h:44:1: 50 X_PID_T_DEFINED_ = 0 // types.h:167:1: 51 X_QUAD_HIGHWORD = 1 // _endian.h:95:1: 52 X_QUAD_LOWWORD = 0 // _endian.h:96:1: 53 X_RET_PROTECTOR = 1 // <predefined>:2:1: 54 X_SIZE_T_DEFINED_ = 0 // types.h:172:1: 55 X_SSIZE_T_DEFINED_ = 0 // types.h:177:1: 56 X_STACKALIGNBYTES = 15 // _types.h:49:1: 57 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 58 X_SYS_DIRENT_H_ = 0 // dirent.h:36:1: 59 X_SYS_ENDIAN_H_ = 0 // endian.h:38:1: 60 X_SYS_TYPES_H_ = 0 // types.h:41:1: 61 X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1: 62 X_SYS__TYPES_H_ = 0 // _types.h:35:1: 63 X_TIMER_T_DEFINED_ = 0 // types.h:187:1: 64 X_TIME_T_DEFINED_ = 0 // types.h:182:1: 65 X_UINT16_T_DEFINED_ = 0 // types.h:89:1: 66 X_UINT32_T_DEFINED_ = 0 // types.h:99:1: 67 X_UINT64_T_DEFINED_ = 0 // types.h:109:1: 68 X_UINT8_T_DEFINED_ = 0 // types.h:79:1: 69 Unix = 1 // <predefined>:344:1: 70 ) 71 72 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 73 74 type Size_t = uint64 /* <builtin>:9:23 */ 75 76 type Wchar_t = int32 /* <builtin>:15:24 */ 77 78 type X__int128_t = struct { 79 Flo int64 80 Fhi int64 81 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 82 type X__uint128_t = struct { 83 Flo uint64 84 Fhi uint64 85 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 86 87 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 88 type X__float128 = float64 /* <builtin>:47:21 */ 89 90 // $OpenBSD: dirent.h,v 1.34 2016/09/09 18:12:37 millert Exp $ 91 // $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ 92 93 // - 94 // Copyright (c) 1989, 1993 95 // The Regents of the University of California. All rights reserved. 96 // 97 // Redistribution and use in source and binary forms, with or without 98 // modification, are permitted provided that the following conditions 99 // are met: 100 // 1. Redistributions of source code must retain the above copyright 101 // notice, this list of conditions and the following disclaimer. 102 // 2. Redistributions in binary form must reproduce the above copyright 103 // notice, this list of conditions and the following disclaimer in the 104 // documentation and/or other materials provided with the distribution. 105 // 3. Neither the name of the University nor the names of its contributors 106 // may be used to endorse or promote products derived from this software 107 // without specific prior written permission. 108 // 109 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 110 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 111 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 112 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 113 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 114 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 115 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 116 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 117 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 118 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 119 // SUCH DAMAGE. 120 // 121 // @(#)dirent.h 8.2 (Berkeley) 7/28/94 122 123 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 124 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 125 126 // Copyright (c) 1991, 1993 127 // The Regents of the University of California. All rights reserved. 128 // 129 // This code is derived from software contributed to Berkeley by 130 // Berkeley Software Design, Inc. 131 // 132 // Redistribution and use in source and binary forms, with or without 133 // modification, are permitted provided that the following conditions 134 // are met: 135 // 1. Redistributions of source code must retain the above copyright 136 // notice, this list of conditions and the following disclaimer. 137 // 2. Redistributions in binary form must reproduce the above copyright 138 // notice, this list of conditions and the following disclaimer in the 139 // documentation and/or other materials provided with the distribution. 140 // 3. Neither the name of the University nor the names of its contributors 141 // may be used to endorse or promote products derived from this software 142 // without specific prior written permission. 143 // 144 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 145 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 146 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 147 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 148 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 149 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 150 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 151 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 152 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 153 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 154 // SUCH DAMAGE. 155 // 156 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 157 158 // $OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $ 159 160 // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. 161 // Public domain. 162 163 // Macro to test if we're using a specific version of gcc or later. 164 165 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 166 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 167 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 168 // in between its arguments. Do not use __CONCAT on double-quoted strings, 169 // such as those from the __STRING macro: to concatenate strings just put 170 // them next to each other. 171 172 // GCC1 and some versions of GCC2 declare dead (non-returning) and 173 // pure (no side effects) functions using "volatile" and "const"; 174 // unfortunately, these then cause warnings under "-ansi -pedantic". 175 // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these 176 // work for GNU C++ (modulo a slight glitch in the C++ grammar in 177 // the distribution version of 2.5.5). 178 179 // __returns_twice makes the compiler not assume the function 180 // only returns once. This affects registerisation of variables: 181 // even local variables need to be in memory across such a call. 182 // Example: setjmp() 183 184 // __only_inline makes the compiler only use this function definition 185 // for inlining; references that can't be inlined will be left as 186 // external references instead of generating a local copy. The 187 // matching library should include a simple extern definition for 188 // the function to handle those references. c.f. ctype.h 189 190 // GNU C version 2.96 adds explicit branch prediction so that 191 // the CPU back-end can hint the processor and also so that 192 // code blocks can be reordered such that the predicted path 193 // sees a more linear flow, thus improving cache behavior, etc. 194 // 195 // The following two macros provide us with a way to utilize this 196 // compiler feature. Use __predict_true() if you expect the expression 197 // to evaluate to true, and __predict_false() if you expect the 198 // expression to evaluate to false. 199 // 200 // A few notes about usage: 201 // 202 // * Generally, __predict_false() error condition checks (unless 203 // you have some _strong_ reason to do otherwise, in which case 204 // document it), and/or __predict_true() `no-error' condition 205 // checks, assuming you want to optimize for the no-error case. 206 // 207 // * Other than that, if you don't know the likelihood of a test 208 // succeeding from empirical or other `hard' evidence, don't 209 // make predictions. 210 // 211 // * These are meant to be used in places that are run `a lot'. 212 // It is wasteful to make predictions in code that is run 213 // seldomly (e.g. at subsystem initialization time) as the 214 // basic block reordering that this affects can often generate 215 // larger code. 216 217 // Delete pseudo-keywords wherever they are not available or needed. 218 219 // The __packed macro indicates that a variable or structure members 220 // should have the smallest possible alignment, despite any host CPU 221 // alignment requirements. 222 // 223 // The __aligned(x) macro specifies the minimum alignment of a 224 // variable or structure. 225 // 226 // These macros together are useful for describing the layout and 227 // alignment of messages exchanged with hardware or other systems. 228 229 // "The nice thing about standards is that there are so many to choose from." 230 // There are a number of "feature test macros" specified by (different) 231 // standards that determine which interfaces and types the header files 232 // should expose. 233 // 234 // Because of inconsistencies in these macros, we define our own 235 // set in the private name space that end in _VISIBLE. These are 236 // always defined and so headers can test their values easily. 237 // Things can get tricky when multiple feature macros are defined. 238 // We try to take the union of all the features requested. 239 // 240 // The following macros are guaranteed to have a value after cdefs.h 241 // has been included: 242 // __POSIX_VISIBLE 243 // __XPG_VISIBLE 244 // __ISO_C_VISIBLE 245 // __BSD_VISIBLE 246 247 // X/Open Portability Guides and Single Unix Specifications. 248 // _XOPEN_SOURCE XPG3 249 // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4 250 // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2 251 // _XOPEN_SOURCE == 500 XPG5 252 // _XOPEN_SOURCE == 520 XPG5v2 253 // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI 254 // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI 255 // 256 // The XPG spec implies a specific value for _POSIX_C_SOURCE. 257 258 // POSIX macros, these checks must follow the XOPEN ones above. 259 // 260 // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE) 261 // _POSIX_C_SOURCE == 1 1003.1-1990 262 // _POSIX_C_SOURCE == 2 1003.2-1992 263 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 264 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 265 // and the omnibus ISO/IEC 9945-1:1996 266 // _POSIX_C_SOURCE == 200112L 1003.1-2001 267 // _POSIX_C_SOURCE == 200809L 1003.1-2008 268 // 269 // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though 270 // this may be overridden by the _ISOC99_SOURCE macro later. 271 272 // _ANSI_SOURCE means to expose ANSI C89 interfaces only. 273 // If the user defines it in addition to one of the POSIX or XOPEN 274 // macros, assume the POSIX/XOPEN macro(s) should take precedence. 275 276 // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus 277 // override any of the other macros since they are non-exclusive. 278 279 // Finally deal with BSD-specific interfaces that are not covered 280 // by any standards. We expose these when none of the POSIX or XPG 281 // macros is defined or if the user explicitly asks for them. 282 283 // Default values. 284 285 // POSIX doesn't mandate this, but X/Open XPG 4.2 does. 286 // $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ 287 // $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ 288 289 // - 290 // Copyright (c) 1982, 1986, 1991, 1993 291 // The Regents of the University of California. All rights reserved. 292 // (c) UNIX System Laboratories, Inc. 293 // All or some portions of this file are derived from material licensed 294 // to the University of California by American Telephone and Telegraph 295 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 296 // the permission of UNIX System Laboratories, Inc. 297 // 298 // Redistribution and use in source and binary forms, with or without 299 // modification, are permitted provided that the following conditions 300 // are met: 301 // 1. Redistributions of source code must retain the above copyright 302 // notice, this list of conditions and the following disclaimer. 303 // 2. Redistributions in binary form must reproduce the above copyright 304 // notice, this list of conditions and the following disclaimer in the 305 // documentation and/or other materials provided with the distribution. 306 // 3. Neither the name of the University nor the names of its contributors 307 // may be used to endorse or promote products derived from this software 308 // without specific prior written permission. 309 // 310 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 311 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 312 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 313 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 314 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 315 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 316 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 317 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 318 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 319 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 320 // SUCH DAMAGE. 321 // 322 // @(#)types.h 8.4 (Berkeley) 1/21/94 323 324 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 325 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 326 327 // Copyright (c) 1991, 1993 328 // The Regents of the University of California. All rights reserved. 329 // 330 // This code is derived from software contributed to Berkeley by 331 // Berkeley Software Design, Inc. 332 // 333 // Redistribution and use in source and binary forms, with or without 334 // modification, are permitted provided that the following conditions 335 // are met: 336 // 1. Redistributions of source code must retain the above copyright 337 // notice, this list of conditions and the following disclaimer. 338 // 2. Redistributions in binary form must reproduce the above copyright 339 // notice, this list of conditions and the following disclaimer in the 340 // documentation and/or other materials provided with the distribution. 341 // 3. Neither the name of the University nor the names of its contributors 342 // may be used to endorse or promote products derived from this software 343 // without specific prior written permission. 344 // 345 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 346 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 347 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 348 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 349 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 350 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 351 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 352 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 353 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 354 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 355 // SUCH DAMAGE. 356 // 357 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 358 359 // $OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ 360 361 // - 362 // Copyright (c) 1997 Niklas Hallqvist. All rights reserved. 363 // 364 // Redistribution and use in source and binary forms, with or without 365 // modification, are permitted provided that the following conditions 366 // are met: 367 // 1. Redistributions of source code must retain the above copyright 368 // notice, this list of conditions and the following disclaimer. 369 // 2. Redistributions in binary form must reproduce the above copyright 370 // notice, this list of conditions and the following disclaimer in the 371 // documentation and/or other materials provided with the distribution. 372 // 373 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 374 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 375 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 376 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 377 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 378 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 379 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 380 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 381 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 382 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 383 384 // Public definitions for little- and big-endian systems. 385 // This file should be included as <endian.h> in userspace and as 386 // <sys/endian.h> in the kernel. 387 // 388 // System headers that need endian information but that can't or don't 389 // want to export the public names here should include <sys/_endian.h> 390 // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. 391 392 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 393 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 394 395 // Copyright (c) 1991, 1993 396 // The Regents of the University of California. All rights reserved. 397 // 398 // This code is derived from software contributed to Berkeley by 399 // Berkeley Software Design, Inc. 400 // 401 // Redistribution and use in source and binary forms, with or without 402 // modification, are permitted provided that the following conditions 403 // are met: 404 // 1. Redistributions of source code must retain the above copyright 405 // notice, this list of conditions and the following disclaimer. 406 // 2. Redistributions in binary form must reproduce the above copyright 407 // notice, this list of conditions and the following disclaimer in the 408 // documentation and/or other materials provided with the distribution. 409 // 3. Neither the name of the University nor the names of its contributors 410 // may be used to endorse or promote products derived from this software 411 // without specific prior written permission. 412 // 413 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 414 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 415 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 416 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 417 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 418 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 419 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 420 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 421 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 422 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 423 // SUCH DAMAGE. 424 // 425 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 426 427 // $OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ 428 429 // - 430 // Copyright (c) 1997 Niklas Hallqvist. All rights reserved. 431 // 432 // Redistribution and use in source and binary forms, with or without 433 // modification, are permitted provided that the following conditions 434 // are met: 435 // 1. Redistributions of source code must retain the above copyright 436 // notice, this list of conditions and the following disclaimer. 437 // 2. Redistributions in binary form must reproduce the above copyright 438 // notice, this list of conditions and the following disclaimer in the 439 // documentation and/or other materials provided with the distribution. 440 // 441 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 442 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 443 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 444 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 445 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 446 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 447 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 448 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 449 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 450 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 451 452 // Internal endianness macros. This pulls in <machine/endian.h> to 453 // get the correct setting direction for the platform and sets internal 454 // ('__' prefix) macros appropriately. 455 456 // $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ 457 458 // - 459 // Copyright (c) 1990, 1993 460 // The Regents of the University of California. All rights reserved. 461 // 462 // Redistribution and use in source and binary forms, with or without 463 // modification, are permitted provided that the following conditions 464 // are met: 465 // 1. Redistributions of source code must retain the above copyright 466 // notice, this list of conditions and the following disclaimer. 467 // 2. Redistributions in binary form must reproduce the above copyright 468 // notice, this list of conditions and the following disclaimer in the 469 // documentation and/or other materials provided with the distribution. 470 // 3. Neither the name of the University nor the names of its contributors 471 // may be used to endorse or promote products derived from this software 472 // without specific prior written permission. 473 // 474 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 475 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 476 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 477 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 478 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 479 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 480 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 481 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 482 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 483 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 484 // SUCH DAMAGE. 485 // 486 // @(#)types.h 8.3 (Berkeley) 1/5/94 487 488 // $OpenBSD: _types.h,v 1.17 2018/03/05 01:15:25 deraadt Exp $ 489 490 // - 491 // Copyright (c) 1990, 1993 492 // The Regents of the University of California. All rights reserved. 493 // 494 // Redistribution and use in source and binary forms, with or without 495 // modification, are permitted provided that the following conditions 496 // are met: 497 // 1. Redistributions of source code must retain the above copyright 498 // notice, this list of conditions and the following disclaimer. 499 // 2. Redistributions in binary form must reproduce the above copyright 500 // notice, this list of conditions and the following disclaimer in the 501 // documentation and/or other materials provided with the distribution. 502 // 3. Neither the name of the University nor the names of its contributors 503 // may be used to endorse or promote products derived from this software 504 // without specific prior written permission. 505 // 506 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 507 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 508 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 509 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 510 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 511 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 512 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 513 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 514 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 515 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 516 // SUCH DAMAGE. 517 // 518 // @(#)types.h 8.3 (Berkeley) 1/5/94 519 // @(#)ansi.h 8.2 (Berkeley) 1/4/94 520 521 // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned 522 // value for all data types (int, long, ...). The result is an 523 // unsigned long and must be cast to any desired pointer type. 524 // 525 // _ALIGNED_POINTER is a boolean macro that checks whether an address 526 // is valid to fetch data elements of type t from on this architecture. 527 // This does not reflect the optimal alignment, just the possibility 528 // (within reasonable limits). 529 530 // 7.18.1.1 Exact-width integer types 531 type X__int8_t = int8 /* _types.h:61:22 */ 532 type X__uint8_t = uint8 /* _types.h:62:24 */ 533 type X__int16_t = int16 /* _types.h:63:17 */ 534 type X__uint16_t = uint16 /* _types.h:64:25 */ 535 type X__int32_t = int32 /* _types.h:65:15 */ 536 type X__uint32_t = uint32 /* _types.h:66:23 */ 537 type X__int64_t = int64 /* _types.h:67:20 */ 538 type X__uint64_t = uint64 /* _types.h:68:28 */ 539 540 // 7.18.1.2 Minimum-width integer types 541 type X__int_least8_t = X__int8_t /* _types.h:71:19 */ 542 type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */ 543 type X__int_least16_t = X__int16_t /* _types.h:73:20 */ 544 type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ 545 type X__int_least32_t = X__int32_t /* _types.h:75:20 */ 546 type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ 547 type X__int_least64_t = X__int64_t /* _types.h:77:20 */ 548 type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ 549 550 // 7.18.1.3 Fastest minimum-width integer types 551 type X__int_fast8_t = X__int32_t /* _types.h:81:20 */ 552 type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */ 553 type X__int_fast16_t = X__int32_t /* _types.h:83:20 */ 554 type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ 555 type X__int_fast32_t = X__int32_t /* _types.h:85:20 */ 556 type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ 557 type X__int_fast64_t = X__int64_t /* _types.h:87:20 */ 558 type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ 559 560 // 7.18.1.4 Integer types capable of holding object pointers 561 type X__intptr_t = int64 /* _types.h:103:16 */ 562 type X__uintptr_t = uint64 /* _types.h:104:24 */ 563 564 // 7.18.1.5 Greatest-width integer types 565 type X__intmax_t = X__int64_t /* _types.h:107:20 */ 566 type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ 567 568 // Register size 569 type X__register_t = int64 /* _types.h:111:16 */ 570 571 // VM system types 572 type X__vaddr_t = uint64 /* _types.h:114:24 */ 573 type X__paddr_t = uint64 /* _types.h:115:24 */ 574 type X__vsize_t = uint64 /* _types.h:116:24 */ 575 type X__psize_t = uint64 /* _types.h:117:24 */ 576 577 // Standard system types 578 type X__double_t = float64 /* _types.h:120:18 */ 579 type X__float_t = float32 /* _types.h:121:17 */ 580 type X__ptrdiff_t = int64 /* _types.h:122:16 */ 581 type X__size_t = uint64 /* _types.h:123:24 */ 582 type X__ssize_t = int64 /* _types.h:124:16 */ 583 type X__va_list = X__builtin_va_list /* _types.h:126:27 */ 584 585 // Wide character support types 586 type X__wchar_t = int32 /* _types.h:133:15 */ 587 type X__wint_t = int32 /* _types.h:135:15 */ 588 type X__rune_t = int32 /* _types.h:136:15 */ 589 type X__wctrans_t = uintptr /* _types.h:137:14 */ 590 type X__wctype_t = uintptr /* _types.h:138:14 */ 591 592 type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file 593 type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O 594 type X__clock_t = X__int64_t /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC 595 type X__clockid_t = X__int32_t /* _types.h:42:19 */ // CLOCK_* identifiers 596 type X__cpuid_t = uint64 /* _types.h:43:23 */ // CPU id 597 type X__dev_t = X__int32_t /* _types.h:44:19 */ // device number 598 type X__fixpt_t = X__uint32_t /* _types.h:45:20 */ // fixed point number 599 type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count 600 type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count 601 type X__gid_t = X__uint32_t /* _types.h:48:20 */ // group id 602 type X__id_t = X__uint32_t /* _types.h:49:20 */ // may contain pid, uid or gid 603 type X__in_addr_t = X__uint32_t /* _types.h:50:20 */ // base type for internet address 604 type X__in_port_t = X__uint16_t /* _types.h:51:20 */ // IP port type 605 type X__ino_t = X__uint64_t /* _types.h:52:20 */ // inode number 606 type X__key_t = int64 /* _types.h:53:15 */ // IPC key (for Sys V IPC) 607 type X__mode_t = X__uint32_t /* _types.h:54:20 */ // permissions 608 type X__nlink_t = X__uint32_t /* _types.h:55:20 */ // link count 609 type X__off_t = X__int64_t /* _types.h:56:19 */ // file offset or size 610 type X__pid_t = X__int32_t /* _types.h:57:19 */ // process id 611 type X__rlim_t = X__uint64_t /* _types.h:58:20 */ // resource limit 612 type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type 613 type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size 614 type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls 615 type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed) 616 type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time 617 type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers 618 type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id 619 type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds 620 621 // mbstate_t is an opaque object to keep conversion state, during multibyte 622 // stream conversions. The content must not be referenced by user programs. 623 type X__mbstate_t = struct { 624 F__ccgo_pad1 [0]uint64 625 F__mbstate8 [128]int8 626 } /* _types.h:75:3 */ 627 628 // Tell sys/endian.h we have MD variants of the swap macros. 629 630 // Note that these macros evaluate their arguments several times. 631 632 // Public names 633 634 // These are specified to be function-like macros to match the spec 635 636 // POSIX names 637 638 // original BSD names 639 640 // these were exposed here before 641 642 // ancient stuff 643 644 type U_char = uint8 /* types.h:51:23 */ 645 type U_short = uint16 /* types.h:52:24 */ 646 type U_int = uint32 /* types.h:53:22 */ 647 type U_long = uint64 /* types.h:54:23 */ 648 649 type Unchar = uint8 /* types.h:56:23 */ // Sys V compatibility 650 type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility 651 type Uint = uint32 /* types.h:58:22 */ // Sys V compatibility 652 type Ulong = uint64 /* types.h:59:23 */ // Sys V compatibility 653 654 type Cpuid_t = X__cpuid_t /* types.h:61:19 */ // CPU id 655 type Register_t = X__register_t /* types.h:62:22 */ // register-sized type 656 657 // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE 658 // but the rest of the includes are not ready for that yet. 659 660 type Int8_t = X__int8_t /* types.h:75:19 */ 661 662 type Uint8_t = X__uint8_t /* types.h:80:20 */ 663 664 type Int16_t = X__int16_t /* types.h:85:20 */ 665 666 type Uint16_t = X__uint16_t /* types.h:90:21 */ 667 668 type Int32_t = X__int32_t /* types.h:95:20 */ 669 670 type Uint32_t = X__uint32_t /* types.h:100:21 */ 671 672 type Int64_t = X__int64_t /* types.h:105:20 */ 673 674 type Uint64_t = X__uint64_t /* types.h:110:21 */ 675 676 // BSD-style unsigned bits types 677 type U_int8_t = X__uint8_t /* types.h:114:19 */ 678 type U_int16_t = X__uint16_t /* types.h:115:20 */ 679 type U_int32_t = X__uint32_t /* types.h:116:20 */ 680 type U_int64_t = X__uint64_t /* types.h:117:20 */ 681 682 // quads, deprecated in favor of 64 bit int types 683 type Quad_t = X__int64_t /* types.h:120:19 */ 684 type U_quad_t = X__uint64_t /* types.h:121:20 */ 685 686 // VM system types 687 type Vaddr_t = X__vaddr_t /* types.h:125:19 */ 688 type Paddr_t = X__paddr_t /* types.h:126:19 */ 689 type Vsize_t = X__vsize_t /* types.h:127:19 */ 690 type Psize_t = X__psize_t /* types.h:128:19 */ 691 692 // Standard system types 693 type Blkcnt_t = X__blkcnt_t /* types.h:132:20 */ // blocks allocated for file 694 type Blksize_t = X__blksize_t /* types.h:133:21 */ // optimal blocksize for I/O 695 type Caddr_t = uintptr /* types.h:134:14 */ // core address 696 type Daddr32_t = X__int32_t /* types.h:135:19 */ // 32-bit disk address 697 type Daddr_t = X__int64_t /* types.h:136:19 */ // 64-bit disk address 698 type Dev_t = X__dev_t /* types.h:137:18 */ // device number 699 type Fixpt_t = X__fixpt_t /* types.h:138:19 */ // fixed point number 700 type Gid_t = X__gid_t /* types.h:139:18 */ // group id 701 type Id_t = X__id_t /* types.h:140:17 */ // may contain pid, uid or gid 702 type Ino_t = X__ino_t /* types.h:141:18 */ // inode number 703 type Key_t = X__key_t /* types.h:142:18 */ // IPC key (for Sys V IPC) 704 type Mode_t = X__mode_t /* types.h:143:18 */ // permissions 705 type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count 706 type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit 707 type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size 708 type Uid_t = X__uid_t /* types.h:147:18 */ // user id 709 type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds 710 type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) 711 type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count 712 type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count 713 714 // The following types may be defined in multiple header files. 715 type Clock_t = X__clock_t /* types.h:158:19 */ 716 717 type Clockid_t = X__clockid_t /* types.h:163:21 */ 718 719 type Pid_t = X__pid_t /* types.h:168:18 */ 720 721 type Ssize_t = X__ssize_t /* types.h:178:19 */ 722 723 type Time_t = X__time_t /* types.h:183:18 */ 724 725 type Timer_t = X__timer_t /* types.h:188:19 */ 726 727 type Off_t = X__off_t /* types.h:193:18 */ 728 729 // Major, minor numbers, dev_t's. 730 731 // The kernel defines the format of directory entries returned by 732 // the getdents(2) system call. 733 // $OpenBSD: dirent.h,v 1.11 2013/12/13 18:09:27 zhuk Exp $ 734 // $NetBSD: dirent.h,v 1.12 1996/04/09 20:55:25 cgd Exp $ 735 736 // - 737 // Copyright (c) 1989, 1993 738 // The Regents of the University of California. All rights reserved. 739 // 740 // Redistribution and use in source and binary forms, with or without 741 // modification, are permitted provided that the following conditions 742 // are met: 743 // 1. Redistributions of source code must retain the above copyright 744 // notice, this list of conditions and the following disclaimer. 745 // 2. Redistributions in binary form must reproduce the above copyright 746 // notice, this list of conditions and the following disclaimer in the 747 // documentation and/or other materials provided with the distribution. 748 // 3. Neither the name of the University nor the names of its contributors 749 // may be used to endorse or promote products derived from this software 750 // without specific prior written permission. 751 // 752 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 753 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 754 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 755 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 756 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 757 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 758 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 759 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 760 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 761 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 762 // SUCH DAMAGE. 763 // 764 // @(#)dirent.h 8.3 (Berkeley) 8/10/94 765 766 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 767 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 768 769 // Copyright (c) 1991, 1993 770 // The Regents of the University of California. All rights reserved. 771 // 772 // This code is derived from software contributed to Berkeley by 773 // Berkeley Software Design, Inc. 774 // 775 // Redistribution and use in source and binary forms, with or without 776 // modification, are permitted provided that the following conditions 777 // are met: 778 // 1. Redistributions of source code must retain the above copyright 779 // notice, this list of conditions and the following disclaimer. 780 // 2. Redistributions in binary form must reproduce the above copyright 781 // notice, this list of conditions and the following disclaimer in the 782 // documentation and/or other materials provided with the distribution. 783 // 3. Neither the name of the University nor the names of its contributors 784 // may be used to endorse or promote products derived from this software 785 // without specific prior written permission. 786 // 787 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 788 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 789 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 790 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 791 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 792 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 793 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 794 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 795 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 796 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 797 // SUCH DAMAGE. 798 // 799 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 800 801 // The dirent structure defines the format of directory entries returned by 802 // the getdents(2) system call. 803 // 804 // A directory entry has a struct dirent at the front of it, containing its 805 // inode number, the length of the entry, and the length of the name 806 // contained in the entry. These are followed by the name padded to a 4 807 // byte boundary with null bytes. All names are guaranteed null terminated. 808 // The maximum length of a name in a directory is MAXNAMLEN. 809 810 type Dirent = struct { 811 Fd_fileno X__ino_t 812 Fd_off X__off_t 813 Fd_reclen X__uint16_t 814 Fd_type X__uint8_t 815 Fd_namlen X__uint8_t 816 F__d_padding [4]X__uint8_t 817 Fd_name [256]int8 818 } /* dirent.h:51:1 */ 819 820 var _ int8 /* gen.c:2:13: */