fts_openbsd_386.go (58379B)
1 // Code generated by 'ccgo fts/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 fts/fts_openbsd_386.go -pkgname fts', DO NOT EDIT. 2 3 package fts 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 ACCESSPERMS = 511 // stat.h:151:1: 19 ALLPERMS = 4095 // stat.h:153:1: 20 BIG_ENDIAN = 4321 // endian.h:45:1: 21 BYTE_ORDER = 1234 // endian.h:47:1: 22 CLK_TCK = 100 // time.h:68:1: 23 CLOCKS_PER_SEC = 100 // time.h:71:1: 24 CLOCK_BOOTTIME = 6 // _time.h:40:1: 25 CLOCK_MONOTONIC = 3 // _time.h:37:1: 26 CLOCK_PROCESS_CPUTIME_ID = 2 // _time.h:36:1: 27 CLOCK_REALTIME = 0 // _time.h:35:1: 28 CLOCK_THREAD_CPUTIME_ID = 4 // _time.h:38:1: 29 CLOCK_UPTIME = 5 // _time.h:39:1: 30 DEFFILEMODE = 438 // stat.h:155:1: 31 DST_AUST = 2 // time.h:78:1: 32 DST_CAN = 6 // time.h:82:1: 33 DST_EET = 5 // time.h:81:1: 34 DST_MET = 4 // time.h:80:1: 35 DST_NONE = 0 // time.h:76:1: 36 DST_USA = 1 // time.h:77:1: 37 DST_WET = 3 // time.h:79:1: 38 FD_SETSIZE = 1024 // select.h:62:1: 39 FTS_AGAIN = 1 // fts.h:104:1: 40 FTS_COMFOLLOW = 0x0001 // fts.h:49:1: 41 FTS_D = 1 // fts.h:85:1: 42 FTS_DC = 2 // fts.h:86:1: 43 FTS_DEFAULT = 3 // fts.h:87:1: 44 FTS_DNR = 4 // fts.h:88:1: 45 FTS_DONTCHDIR = 0x01 // fts.h:100:1: 46 FTS_DOT = 5 // fts.h:89:1: 47 FTS_DP = 6 // fts.h:90:1: 48 FTS_ERR = 7 // fts.h:91:1: 49 FTS_F = 8 // fts.h:92:1: 50 FTS_FOLLOW = 2 // fts.h:105:1: 51 FTS_INIT = 9 // fts.h:93:1: 52 FTS_LOGICAL = 0x0002 // fts.h:50:1: 53 FTS_MAXLEVEL = 0x7fffffff // fts.h:82:1: 54 FTS_NAMEONLY = 0x1000 // fts.h:58:1: 55 FTS_NOCHDIR = 0x0004 // fts.h:51:1: 56 FTS_NOINSTR = 3 // fts.h:106:1: 57 FTS_NOSTAT = 0x0008 // fts.h:52:1: 58 FTS_NS = 10 // fts.h:94:1: 59 FTS_NSOK = 11 // fts.h:95:1: 60 FTS_OPTIONMASK = 0x00ff // fts.h:56:1: 61 FTS_PHYSICAL = 0x0010 // fts.h:53:1: 62 FTS_ROOTLEVEL = 0 // fts.h:81:1: 63 FTS_ROOTPARENTLEVEL = -1 // fts.h:80:1: 64 FTS_SEEDOT = 0x0020 // fts.h:54:1: 65 FTS_SKIP = 4 // fts.h:107:1: 66 FTS_SL = 12 // fts.h:96:1: 67 FTS_SLNONE = 13 // fts.h:97:1: 68 FTS_STOP = 0x2000 // fts.h:59:1: 69 FTS_SYMFOLLOW = 0x02 // fts.h:101:1: 70 FTS_XDEV = 0x0040 // fts.h:55:1: 71 ITIMER_PROF = 2 // time.h:146:1: 72 ITIMER_REAL = 0 // time.h:144:1: 73 ITIMER_VIRTUAL = 1 // time.h:145:1: 74 LITTLE_ENDIAN = 1234 // endian.h:44:1: 75 NBBY = 8 // select.h:111:1: 76 PDP_ENDIAN = 3412 // endian.h:46:1: 77 SF_APPEND = 0x00040000 // stat.h:175:1: 78 SF_ARCHIVED = 0x00010000 // stat.h:173:1: 79 SF_IMMUTABLE = 0x00020000 // stat.h:174:1: 80 SF_SETTABLE = 0xffff0000 // stat.h:172:1: 81 S_BLKSIZE = 512 // stat.h:157:1: 82 S_IEXEC = 64 // stat.h:108:1: 83 S_IFBLK = 0060000 // stat.h:126:1: 84 S_IFCHR = 0020000 // stat.h:124:1: 85 S_IFDIR = 0040000 // stat.h:125:1: 86 S_IFIFO = 0010000 // stat.h:123:1: 87 S_IFLNK = 0120000 // stat.h:128:1: 88 S_IFMT = 0170000 // stat.h:122:1: 89 S_IFREG = 0100000 // stat.h:127:1: 90 S_IFSOCK = 0140000 // stat.h:129:1: 91 S_IREAD = 256 // stat.h:106:1: 92 S_IRGRP = 0000040 // stat.h:112:1: 93 S_IROTH = 0000004 // stat.h:117:1: 94 S_IRUSR = 0000400 // stat.h:101:1: 95 S_IRWXG = 0000070 // stat.h:111:1: 96 S_IRWXO = 0000007 // stat.h:116:1: 97 S_IRWXU = 0000700 // stat.h:100:1: 98 S_ISGID = 0002000 // stat.h:95:1: 99 S_ISTXT = 0001000 // stat.h:97:1: 100 S_ISUID = 0004000 // stat.h:94:1: 101 S_ISVTX = 0001000 // stat.h:130:1: 102 S_IWGRP = 0000020 // stat.h:113:1: 103 S_IWOTH = 0000002 // stat.h:118:1: 104 S_IWRITE = 128 // stat.h:107:1: 105 S_IWUSR = 0000200 // stat.h:102:1: 106 S_IXGRP = 0000010 // stat.h:114:1: 107 S_IXOTH = 0000001 // stat.h:119:1: 108 S_IXUSR = 0000100 // stat.h:103:1: 109 TIMER_ABSTIME = 0x1 // _time.h:62:1: 110 TIMER_RELTIME = 0x0 // _time.h:61:1: 111 TIME_UTC = 1 // time.h:179:1: 112 UF_APPEND = 0x00000004 // stat.h:167:1: 113 UF_IMMUTABLE = 0x00000002 // stat.h:166:1: 114 UF_NODUMP = 0x00000001 // stat.h:165:1: 115 UF_OPAQUE = 0x00000008 // stat.h:168:1: 116 UF_SETTABLE = 0x0000ffff // stat.h:164:1: 117 UTIME_NOW = -2 // stat.h:188:1: 118 UTIME_OMIT = -1 // stat.h:189:1: 119 X_BIG_ENDIAN = 4321 // _endian.h:43:1: 120 X_BYTE_ORDER = 1234 // endian.h:58:1: 121 X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1: 122 X_CLOCK_T_DEFINED_ = 0 // types.h:157:1: 123 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 124 X_FTS_H_ = 0 // fts.h:36:1: 125 X_ILP32 = 1 // <predefined>:1:1: 126 X_INT16_T_DEFINED_ = 0 // types.h:84:1: 127 X_INT32_T_DEFINED_ = 0 // types.h:94:1: 128 X_INT64_T_DEFINED_ = 0 // types.h:104:1: 129 X_INT8_T_DEFINED_ = 0 // types.h:74:1: 130 X_LITTLE_ENDIAN = 1234 // _endian.h:42:1: 131 X_LOCALE_T_DEFINED_ = 0 // time.h:106:1: 132 X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1: 133 X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1: 134 X_MACHINE__TYPES_H_ = 0 // _types.h:36:1: 135 X_MAX_PAGE_SHIFT = 12 // _types.h:52:1: 136 X_OFF_T_DEFINED_ = 0 // types.h:192:1: 137 X_PDP_ENDIAN = 3412 // _endian.h:44:1: 138 X_PID_T_DEFINED_ = 0 // types.h:167:1: 139 X_QUAD_HIGHWORD = 1 // _endian.h:95:1: 140 X_QUAD_LOWWORD = 0 // _endian.h:96:1: 141 X_SELECT_DEFINED_ = 0 // select.h:126:1: 142 X_SIGSET_T_DEFINED_ = 0 // select.h:121:1: 143 X_SIZE_T_DEFINED_ = 0 // types.h:172:1: 144 X_SSIZE_T_DEFINED_ = 0 // types.h:177:1: 145 X_STACKALIGNBYTES = 15 // _types.h:49:1: 146 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 147 X_SYS_ENDIAN_H_ = 0 // endian.h:38:1: 148 X_SYS_SELECT_H_ = 0 // select.h:35:1: 149 X_SYS_STAT_H_ = 0 // stat.h:41:1: 150 X_SYS_TIME_H_ = 0 // time.h:36:1: 151 X_SYS_TYPES_H_ = 0 // types.h:41:1: 152 X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1: 153 X_SYS__TIME_H_ = 0 // _time.h:33:1: 154 X_SYS__TYPES_H_ = 0 // _types.h:35:1: 155 X_TIMER_T_DEFINED_ = 0 // types.h:187:1: 156 X_TIMESPEC_DECLARED = 0 // select.h:48:1: 157 X_TIMEVAL_DECLARED = 0 // select.h:40:1: 158 X_TIME_H_ = 0 // time.h:42:1: 159 X_TIME_T_DEFINED_ = 0 // types.h:182:1: 160 X_UINT16_T_DEFINED_ = 0 // types.h:89:1: 161 X_UINT32_T_DEFINED_ = 0 // types.h:99:1: 162 X_UINT64_T_DEFINED_ = 0 // types.h:109:1: 163 X_UINT8_T_DEFINED_ = 0 // types.h:79:1: 164 I386 = 1 // <predefined>:339:1: 165 Unix = 1 // <predefined>:340:1: 166 ) 167 168 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 169 170 type Size_t = uint32 /* <builtin>:9:23 */ 171 172 type Wchar_t = int32 /* <builtin>:15:24 */ 173 174 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 175 type X__float128 = float64 /* <builtin>:47:21 */ 176 177 // $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ 178 // $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ 179 180 // - 181 // Copyright (c) 1982, 1986, 1991, 1993 182 // The Regents of the University of California. All rights reserved. 183 // (c) UNIX System Laboratories, Inc. 184 // All or some portions of this file are derived from material licensed 185 // to the University of California by American Telephone and Telegraph 186 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 187 // the permission of UNIX System Laboratories, Inc. 188 // 189 // Redistribution and use in source and binary forms, with or without 190 // modification, are permitted provided that the following conditions 191 // are met: 192 // 1. Redistributions of source code must retain the above copyright 193 // notice, this list of conditions and the following disclaimer. 194 // 2. Redistributions in binary form must reproduce the above copyright 195 // notice, this list of conditions and the following disclaimer in the 196 // documentation and/or other materials provided with the distribution. 197 // 3. Neither the name of the University nor the names of its contributors 198 // may be used to endorse or promote products derived from this software 199 // without specific prior written permission. 200 // 201 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 202 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 203 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 204 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 205 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 206 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 207 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 208 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 209 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 210 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 211 // SUCH DAMAGE. 212 // 213 // @(#)types.h 8.4 (Berkeley) 1/21/94 214 215 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 216 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 217 218 // Copyright (c) 1991, 1993 219 // The Regents of the University of California. All rights reserved. 220 // 221 // This code is derived from software contributed to Berkeley by 222 // Berkeley Software Design, Inc. 223 // 224 // Redistribution and use in source and binary forms, with or without 225 // modification, are permitted provided that the following conditions 226 // are met: 227 // 1. Redistributions of source code must retain the above copyright 228 // notice, this list of conditions and the following disclaimer. 229 // 2. Redistributions in binary form must reproduce the above copyright 230 // notice, this list of conditions and the following disclaimer in the 231 // documentation and/or other materials provided with the distribution. 232 // 3. Neither the name of the University nor the names of its contributors 233 // may be used to endorse or promote products derived from this software 234 // without specific prior written permission. 235 // 236 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 237 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 238 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 239 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 240 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 241 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 242 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 243 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 244 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 245 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 246 // SUCH DAMAGE. 247 // 248 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 249 250 // $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $ 251 252 // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. 253 // Public domain. 254 255 // Macro to test if we're using a specific version of gcc or later. 256 257 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 258 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 259 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 260 // in between its arguments. Do not use __CONCAT on double-quoted strings, 261 // such as those from the __STRING macro: to concatenate strings just put 262 // them next to each other. 263 264 // GCC1 and some versions of GCC2 declare dead (non-returning) and 265 // pure (no side effects) functions using "volatile" and "const"; 266 // unfortunately, these then cause warnings under "-ansi -pedantic". 267 // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these 268 // work for GNU C++ (modulo a slight glitch in the C++ grammar in 269 // the distribution version of 2.5.5). 270 271 // __returns_twice makes the compiler not assume the function 272 // only returns once. This affects registerisation of variables: 273 // even local variables need to be in memory across such a call. 274 // Example: setjmp() 275 276 // __only_inline makes the compiler only use this function definition 277 // for inlining; references that can't be inlined will be left as 278 // external references instead of generating a local copy. The 279 // matching library should include a simple extern definition for 280 // the function to handle those references. c.f. ctype.h 281 282 // GNU C version 2.96 adds explicit branch prediction so that 283 // the CPU back-end can hint the processor and also so that 284 // code blocks can be reordered such that the predicted path 285 // sees a more linear flow, thus improving cache behavior, etc. 286 // 287 // The following two macros provide us with a way to utilize this 288 // compiler feature. Use __predict_true() if you expect the expression 289 // to evaluate to true, and __predict_false() if you expect the 290 // expression to evaluate to false. 291 // 292 // A few notes about usage: 293 // 294 // * Generally, __predict_false() error condition checks (unless 295 // you have some _strong_ reason to do otherwise, in which case 296 // document it), and/or __predict_true() `no-error' condition 297 // checks, assuming you want to optimize for the no-error case. 298 // 299 // * Other than that, if you don't know the likelihood of a test 300 // succeeding from empirical or other `hard' evidence, don't 301 // make predictions. 302 // 303 // * These are meant to be used in places that are run `a lot'. 304 // It is wasteful to make predictions in code that is run 305 // seldomly (e.g. at subsystem initialization time) as the 306 // basic block reordering that this affects can often generate 307 // larger code. 308 309 // Delete pseudo-keywords wherever they are not available or needed. 310 311 // The __packed macro indicates that a variable or structure members 312 // should have the smallest possible alignment, despite any host CPU 313 // alignment requirements. 314 // 315 // The __aligned(x) macro specifies the minimum alignment of a 316 // variable or structure. 317 // 318 // These macros together are useful for describing the layout and 319 // alignment of messages exchanged with hardware or other systems. 320 321 // "The nice thing about standards is that there are so many to choose from." 322 // There are a number of "feature test macros" specified by (different) 323 // standards that determine which interfaces and types the header files 324 // should expose. 325 // 326 // Because of inconsistencies in these macros, we define our own 327 // set in the private name space that end in _VISIBLE. These are 328 // always defined and so headers can test their values easily. 329 // Things can get tricky when multiple feature macros are defined. 330 // We try to take the union of all the features requested. 331 // 332 // The following macros are guaranteed to have a value after cdefs.h 333 // has been included: 334 // __POSIX_VISIBLE 335 // __XPG_VISIBLE 336 // __ISO_C_VISIBLE 337 // __BSD_VISIBLE 338 339 // X/Open Portability Guides and Single Unix Specifications. 340 // _XOPEN_SOURCE XPG3 341 // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4 342 // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2 343 // _XOPEN_SOURCE == 500 XPG5 344 // _XOPEN_SOURCE == 520 XPG5v2 345 // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI 346 // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI 347 // 348 // The XPG spec implies a specific value for _POSIX_C_SOURCE. 349 350 // POSIX macros, these checks must follow the XOPEN ones above. 351 // 352 // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE) 353 // _POSIX_C_SOURCE == 1 1003.1-1990 354 // _POSIX_C_SOURCE == 2 1003.2-1992 355 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 356 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 357 // and the omnibus ISO/IEC 9945-1:1996 358 // _POSIX_C_SOURCE == 200112L 1003.1-2001 359 // _POSIX_C_SOURCE == 200809L 1003.1-2008 360 // 361 // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though 362 // this may be overridden by the _ISOC99_SOURCE macro later. 363 364 // _ANSI_SOURCE means to expose ANSI C89 interfaces only. 365 // If the user defines it in addition to one of the POSIX or XOPEN 366 // macros, assume the POSIX/XOPEN macro(s) should take precedence. 367 368 // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus 369 // override any of the other macros since they are non-exclusive. 370 371 // Finally deal with BSD-specific interfaces that are not covered 372 // by any standards. We expose these when none of the POSIX or XPG 373 // macros is defined or if the user explicitly asks for them. 374 375 // Default values. 376 377 // $OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ 378 379 // - 380 // Copyright (c) 1997 Niklas Hallqvist. All rights reserved. 381 // 382 // Redistribution and use in source and binary forms, with or without 383 // modification, are permitted provided that the following conditions 384 // are met: 385 // 1. Redistributions of source code must retain the above copyright 386 // notice, this list of conditions and the following disclaimer. 387 // 2. Redistributions in binary form must reproduce the above copyright 388 // notice, this list of conditions and the following disclaimer in the 389 // documentation and/or other materials provided with the distribution. 390 // 391 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 392 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 393 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 394 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 395 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 396 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 397 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 398 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 399 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 400 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 401 402 // Public definitions for little- and big-endian systems. 403 // This file should be included as <endian.h> in userspace and as 404 // <sys/endian.h> in the kernel. 405 // 406 // System headers that need endian information but that can't or don't 407 // want to export the public names here should include <sys/_endian.h> 408 // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. 409 410 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 411 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 412 413 // Copyright (c) 1991, 1993 414 // The Regents of the University of California. All rights reserved. 415 // 416 // This code is derived from software contributed to Berkeley by 417 // Berkeley Software Design, Inc. 418 // 419 // Redistribution and use in source and binary forms, with or without 420 // modification, are permitted provided that the following conditions 421 // are met: 422 // 1. Redistributions of source code must retain the above copyright 423 // notice, this list of conditions and the following disclaimer. 424 // 2. Redistributions in binary form must reproduce the above copyright 425 // notice, this list of conditions and the following disclaimer in the 426 // documentation and/or other materials provided with the distribution. 427 // 3. Neither the name of the University nor the names of its contributors 428 // may be used to endorse or promote products derived from this software 429 // without specific prior written permission. 430 // 431 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 432 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 433 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 434 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 435 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 436 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 437 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 438 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 439 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 440 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 441 // SUCH DAMAGE. 442 // 443 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 444 445 // $OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ 446 447 // - 448 // Copyright (c) 1997 Niklas Hallqvist. All rights reserved. 449 // 450 // Redistribution and use in source and binary forms, with or without 451 // modification, are permitted provided that the following conditions 452 // are met: 453 // 1. Redistributions of source code must retain the above copyright 454 // notice, this list of conditions and the following disclaimer. 455 // 2. Redistributions in binary form must reproduce the above copyright 456 // notice, this list of conditions and the following disclaimer in the 457 // documentation and/or other materials provided with the distribution. 458 // 459 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 460 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 461 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 462 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 463 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 464 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 465 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 466 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 467 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 468 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 469 470 // Internal endianness macros. This pulls in <machine/endian.h> to 471 // get the correct setting direction for the platform and sets internal 472 // ('__' prefix) macros appropriately. 473 474 // $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ 475 476 // - 477 // Copyright (c) 1990, 1993 478 // The Regents of the University of California. All rights reserved. 479 // 480 // Redistribution and use in source and binary forms, with or without 481 // modification, are permitted provided that the following conditions 482 // are met: 483 // 1. Redistributions of source code must retain the above copyright 484 // notice, this list of conditions and the following disclaimer. 485 // 2. Redistributions in binary form must reproduce the above copyright 486 // notice, this list of conditions and the following disclaimer in the 487 // documentation and/or other materials provided with the distribution. 488 // 3. Neither the name of the University nor the names of its contributors 489 // may be used to endorse or promote products derived from this software 490 // without specific prior written permission. 491 // 492 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 493 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 494 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 495 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 496 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 497 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 498 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 499 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 500 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 501 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 502 // SUCH DAMAGE. 503 // 504 // @(#)types.h 8.3 (Berkeley) 1/5/94 505 506 // $OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $ 507 508 // - 509 // Copyright (c) 1990, 1993 510 // The Regents of the University of California. All rights reserved. 511 // 512 // Redistribution and use in source and binary forms, with or without 513 // modification, are permitted provided that the following conditions 514 // are met: 515 // 1. Redistributions of source code must retain the above copyright 516 // notice, this list of conditions and the following disclaimer. 517 // 2. Redistributions in binary form must reproduce the above copyright 518 // notice, this list of conditions and the following disclaimer in the 519 // documentation and/or other materials provided with the distribution. 520 // 3. Neither the name of the University nor the names of its contributors 521 // may be used to endorse or promote products derived from this software 522 // without specific prior written permission. 523 // 524 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 525 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 526 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 527 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 528 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 529 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 530 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 531 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 532 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 533 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 534 // SUCH DAMAGE. 535 // 536 // @(#)types.h 8.3 (Berkeley) 1/5/94 537 // @(#)ansi.h 8.2 (Berkeley) 1/4/94 538 539 // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned 540 // value for all data types (int, long, ...). The result is an 541 // unsigned long and must be cast to any desired pointer type. 542 // 543 // _ALIGNED_POINTER is a boolean macro that checks whether an address 544 // is valid to fetch data elements of type t from on this architecture. 545 // This does not reflect the optimal alignment, just the possibility 546 // (within reasonable limits). 547 548 // 7.18.1.1 Exact-width integer types 549 type X__int8_t = int8 /* _types.h:61:22 */ 550 type X__uint8_t = uint8 /* _types.h:62:24 */ 551 type X__int16_t = int16 /* _types.h:63:17 */ 552 type X__uint16_t = uint16 /* _types.h:64:25 */ 553 type X__int32_t = int32 /* _types.h:65:15 */ 554 type X__uint32_t = uint32 /* _types.h:66:23 */ 555 type X__int64_t = int64 /* _types.h:67:20 */ 556 type X__uint64_t = uint64 /* _types.h:68:28 */ 557 558 // 7.18.1.2 Minimum-width integer types 559 type X__int_least8_t = X__int8_t /* _types.h:71:19 */ 560 type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */ 561 type X__int_least16_t = X__int16_t /* _types.h:73:20 */ 562 type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ 563 type X__int_least32_t = X__int32_t /* _types.h:75:20 */ 564 type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ 565 type X__int_least64_t = X__int64_t /* _types.h:77:20 */ 566 type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ 567 568 // 7.18.1.3 Fastest minimum-width integer types 569 type X__int_fast8_t = X__int32_t /* _types.h:81:20 */ 570 type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */ 571 type X__int_fast16_t = X__int32_t /* _types.h:83:20 */ 572 type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ 573 type X__int_fast32_t = X__int32_t /* _types.h:85:20 */ 574 type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ 575 type X__int_fast64_t = X__int64_t /* _types.h:87:20 */ 576 type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ 577 578 // 7.18.1.4 Integer types capable of holding object pointers 579 type X__intptr_t = int32 /* _types.h:103:16 */ 580 type X__uintptr_t = uint32 /* _types.h:104:24 */ 581 582 // 7.18.1.5 Greatest-width integer types 583 type X__intmax_t = X__int64_t /* _types.h:107:20 */ 584 type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ 585 586 // Register size 587 type X__register_t = int32 /* _types.h:111:16 */ 588 589 // VM system types 590 type X__vaddr_t = uint32 /* _types.h:114:24 */ 591 type X__paddr_t = uint32 /* _types.h:115:24 */ 592 type X__vsize_t = uint32 /* _types.h:116:24 */ 593 type X__psize_t = uint32 /* _types.h:117:24 */ 594 595 // Standard system types 596 type X__double_t = float64 /* _types.h:120:22 */ 597 type X__float_t = float64 /* _types.h:121:22 */ 598 type X__ptrdiff_t = int32 /* _types.h:122:16 */ 599 type X__size_t = uint32 /* _types.h:123:24 */ 600 type X__ssize_t = int32 /* _types.h:124:16 */ 601 type X__va_list = X__builtin_va_list /* _types.h:126:27 */ 602 603 // Wide character support types 604 type X__wchar_t = int32 /* _types.h:133:15 */ 605 type X__wint_t = int32 /* _types.h:135:15 */ 606 type X__rune_t = int32 /* _types.h:136:15 */ 607 type X__wctrans_t = uintptr /* _types.h:137:14 */ 608 type X__wctype_t = uintptr /* _types.h:138:14 */ 609 610 type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file 611 type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O 612 type X__clock_t = X__int64_t /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC 613 type X__clockid_t = X__int32_t /* _types.h:42:19 */ // CLOCK_* identifiers 614 type X__cpuid_t = uint32 /* _types.h:43:23 */ // CPU id 615 type X__dev_t = X__int32_t /* _types.h:44:19 */ // device number 616 type X__fixpt_t = X__uint32_t /* _types.h:45:20 */ // fixed point number 617 type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count 618 type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count 619 type X__gid_t = X__uint32_t /* _types.h:48:20 */ // group id 620 type X__id_t = X__uint32_t /* _types.h:49:20 */ // may contain pid, uid or gid 621 type X__in_addr_t = X__uint32_t /* _types.h:50:20 */ // base type for internet address 622 type X__in_port_t = X__uint16_t /* _types.h:51:20 */ // IP port type 623 type X__ino_t = X__uint64_t /* _types.h:52:20 */ // inode number 624 type X__key_t = int32 /* _types.h:53:15 */ // IPC key (for Sys V IPC) 625 type X__mode_t = X__uint32_t /* _types.h:54:20 */ // permissions 626 type X__nlink_t = X__uint32_t /* _types.h:55:20 */ // link count 627 type X__off_t = X__int64_t /* _types.h:56:19 */ // file offset or size 628 type X__pid_t = X__int32_t /* _types.h:57:19 */ // process id 629 type X__rlim_t = X__uint64_t /* _types.h:58:20 */ // resource limit 630 type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type 631 type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size 632 type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls 633 type X__suseconds_t = int32 /* _types.h:62:15 */ // microseconds (signed) 634 type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time 635 type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers 636 type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id 637 type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds 638 639 // mbstate_t is an opaque object to keep conversion state, during multibyte 640 // stream conversions. The content must not be referenced by user programs. 641 type X__mbstate_t = struct { 642 F__ccgo_pad1 [0]uint32 643 F__mbstate8 [128]int8 644 } /* _types.h:75:3 */ 645 646 // Tell sys/endian.h we have MD variants of the swap macros. 647 648 // Note that these macros evaluate their arguments several times. 649 650 // Public names 651 652 // These are specified to be function-like macros to match the spec 653 654 // POSIX names 655 656 // original BSD names 657 658 // these were exposed here before 659 660 // ancient stuff 661 662 type U_char = uint8 /* types.h:51:23 */ 663 type U_short = uint16 /* types.h:52:24 */ 664 type U_int = uint32 /* types.h:53:22 */ 665 type U_long = uint32 /* types.h:54:23 */ 666 667 type Unchar = uint8 /* types.h:56:23 */ // Sys V compatibility 668 type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility 669 type Uint = uint32 /* types.h:58:22 */ // Sys V compatibility 670 type Ulong = uint32 /* types.h:59:23 */ // Sys V compatibility 671 672 type Cpuid_t = X__cpuid_t /* types.h:61:19 */ // CPU id 673 type Register_t = X__register_t /* types.h:62:22 */ // register-sized type 674 675 // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE 676 // but the rest of the includes are not ready for that yet. 677 678 type Int8_t = X__int8_t /* types.h:75:19 */ 679 680 type Uint8_t = X__uint8_t /* types.h:80:20 */ 681 682 type Int16_t = X__int16_t /* types.h:85:20 */ 683 684 type Uint16_t = X__uint16_t /* types.h:90:21 */ 685 686 type Int32_t = X__int32_t /* types.h:95:20 */ 687 688 type Uint32_t = X__uint32_t /* types.h:100:21 */ 689 690 type Int64_t = X__int64_t /* types.h:105:20 */ 691 692 type Uint64_t = X__uint64_t /* types.h:110:21 */ 693 694 // BSD-style unsigned bits types 695 type U_int8_t = X__uint8_t /* types.h:114:19 */ 696 type U_int16_t = X__uint16_t /* types.h:115:20 */ 697 type U_int32_t = X__uint32_t /* types.h:116:20 */ 698 type U_int64_t = X__uint64_t /* types.h:117:20 */ 699 700 // quads, deprecated in favor of 64 bit int types 701 type Quad_t = X__int64_t /* types.h:120:19 */ 702 type U_quad_t = X__uint64_t /* types.h:121:20 */ 703 704 // VM system types 705 type Vaddr_t = X__vaddr_t /* types.h:125:19 */ 706 type Paddr_t = X__paddr_t /* types.h:126:19 */ 707 type Vsize_t = X__vsize_t /* types.h:127:19 */ 708 type Psize_t = X__psize_t /* types.h:128:19 */ 709 710 // Standard system types 711 type Blkcnt_t = X__blkcnt_t /* types.h:132:20 */ // blocks allocated for file 712 type Blksize_t = X__blksize_t /* types.h:133:21 */ // optimal blocksize for I/O 713 type Caddr_t = uintptr /* types.h:134:14 */ // core address 714 type Daddr32_t = X__int32_t /* types.h:135:19 */ // 32-bit disk address 715 type Daddr_t = X__int64_t /* types.h:136:19 */ // 64-bit disk address 716 type Dev_t = X__dev_t /* types.h:137:18 */ // device number 717 type Fixpt_t = X__fixpt_t /* types.h:138:19 */ // fixed point number 718 type Gid_t = X__gid_t /* types.h:139:18 */ // group id 719 type Id_t = X__id_t /* types.h:140:17 */ // may contain pid, uid or gid 720 type Ino_t = X__ino_t /* types.h:141:18 */ // inode number 721 type Key_t = X__key_t /* types.h:142:18 */ // IPC key (for Sys V IPC) 722 type Mode_t = X__mode_t /* types.h:143:18 */ // permissions 723 type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count 724 type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit 725 type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size 726 type Uid_t = X__uid_t /* types.h:147:18 */ // user id 727 type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds 728 type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) 729 type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count 730 type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count 731 732 // The following types may be defined in multiple header files. 733 type Clock_t = X__clock_t /* types.h:158:19 */ 734 735 type Clockid_t = X__clockid_t /* types.h:163:21 */ 736 737 type Pid_t = X__pid_t /* types.h:168:18 */ 738 739 type Ssize_t = X__ssize_t /* types.h:178:19 */ 740 741 type Time_t = X__time_t /* types.h:183:18 */ 742 743 type Timer_t = X__timer_t /* types.h:188:19 */ 744 745 type Off_t = X__off_t /* types.h:193:18 */ 746 747 // Major, minor numbers, dev_t's. 748 749 // $OpenBSD: stat.h,v 1.29 2022/01/11 23:59:55 jsg Exp $ 750 // $NetBSD: stat.h,v 1.20 1996/05/16 22:17:49 cgd Exp $ 751 752 // - 753 // Copyright (c) 1982, 1986, 1989, 1993 754 // The Regents of the University of California. All rights reserved. 755 // (c) UNIX System Laboratories, Inc. 756 // All or some portions of this file are derived from material licensed 757 // to the University of California by American Telephone and Telegraph 758 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 759 // the permission of UNIX System Laboratories, Inc. 760 // 761 // Redistribution and use in source and binary forms, with or without 762 // modification, are permitted provided that the following conditions 763 // are met: 764 // 1. Redistributions of source code must retain the above copyright 765 // notice, this list of conditions and the following disclaimer. 766 // 2. Redistributions in binary form must reproduce the above copyright 767 // notice, this list of conditions and the following disclaimer in the 768 // documentation and/or other materials provided with the distribution. 769 // 3. Neither the name of the University nor the names of its contributors 770 // may be used to endorse or promote products derived from this software 771 // without specific prior written permission. 772 // 773 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 774 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 775 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 776 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 777 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 778 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 779 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 780 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 781 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 782 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 783 // SUCH DAMAGE. 784 // 785 // @(#)stat.h 8.9 (Berkeley) 8/17/94 786 787 // $OpenBSD: time.h,v 1.62 2022/07/23 22:58:51 cheloha Exp $ 788 // $NetBSD: time.h,v 1.18 1996/04/23 10:29:33 mycroft Exp $ 789 790 // Copyright (c) 1982, 1986, 1993 791 // The Regents of the University of California. All rights reserved. 792 // 793 // Redistribution and use in source and binary forms, with or without 794 // modification, are permitted provided that the following conditions 795 // are met: 796 // 1. Redistributions of source code must retain the above copyright 797 // notice, this list of conditions and the following disclaimer. 798 // 2. Redistributions in binary form must reproduce the above copyright 799 // notice, this list of conditions and the following disclaimer in the 800 // documentation and/or other materials provided with the distribution. 801 // 3. Neither the name of the University nor the names of its contributors 802 // may be used to endorse or promote products derived from this software 803 // without specific prior written permission. 804 // 805 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 806 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 807 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 808 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 809 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 810 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 811 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 812 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 813 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 814 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 815 // SUCH DAMAGE. 816 // 817 // @(#)time.h 8.2 (Berkeley) 7/10/94 818 819 // $OpenBSD: select.h,v 1.17 2016/09/12 19:41:20 guenther Exp $ 820 821 // - 822 // Copyright (c) 1992, 1993 823 // The Regents of the University of California. All rights reserved. 824 // 825 // Redistribution and use in source and binary forms, with or without 826 // modification, are permitted provided that the following conditions 827 // are met: 828 // 1. Redistributions of source code must retain the above copyright 829 // notice, this list of conditions and the following disclaimer. 830 // 2. Redistributions in binary form must reproduce the above copyright 831 // notice, this list of conditions and the following disclaimer in the 832 // documentation and/or other materials provided with the distribution. 833 // 3. Neither the name of the University nor the names of its contributors 834 // may be used to endorse or promote products derived from this software 835 // without specific prior written permission. 836 // 837 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 838 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 839 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 840 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 841 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 842 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 843 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 844 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 845 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 846 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 847 // SUCH DAMAGE. 848 // 849 // @(#)select.h 8.2 (Berkeley) 1/4/94 850 851 // $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ 852 // $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ 853 854 // - 855 // Copyright (c) 1982, 1986, 1991, 1993 856 // The Regents of the University of California. All rights reserved. 857 // (c) UNIX System Laboratories, Inc. 858 // All or some portions of this file are derived from material licensed 859 // to the University of California by American Telephone and Telegraph 860 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 861 // the permission of UNIX System Laboratories, Inc. 862 // 863 // Redistribution and use in source and binary forms, with or without 864 // modification, are permitted provided that the following conditions 865 // are met: 866 // 1. Redistributions of source code must retain the above copyright 867 // notice, this list of conditions and the following disclaimer. 868 // 2. Redistributions in binary form must reproduce the above copyright 869 // notice, this list of conditions and the following disclaimer in the 870 // documentation and/or other materials provided with the distribution. 871 // 3. Neither the name of the University nor the names of its contributors 872 // may be used to endorse or promote products derived from this software 873 // without specific prior written permission. 874 // 875 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 876 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 877 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 878 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 879 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 880 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 881 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 882 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 883 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 884 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 885 // SUCH DAMAGE. 886 // 887 // @(#)types.h 8.4 (Berkeley) 1/21/94 888 889 type Timeval = struct { 890 Ftv_sec Time_t 891 Ftv_usec Suseconds_t 892 } /* select.h:41:1 */ 893 894 type Timespec = struct { 895 Ftv_sec Time_t 896 Ftv_nsec int32 897 } /* select.h:49:1 */ 898 899 // Select uses bit masks of file descriptors in longs. These macros 900 // manipulate such bit fields (the filesystem macros use chars). 901 // FD_SETSIZE may be defined by the user, but the default here should 902 // be enough for most uses. 903 904 // We don't want to pollute the namespace with select(2) internals. 905 // Non-underscore versions are exposed later #if __BSD_VISIBLE 906 type X__fd_mask = Uint32_t /* select.h:70:18 */ 907 908 type Fd_set1 = struct{ Ffds_bits [32]X__fd_mask } /* select.h:74:9 */ 909 910 type Fd_set = Fd_set1 /* select.h:76:3 */ 911 912 type Sigset_t = uint32 /* select.h:122:22 */ 913 914 type Timezone = struct { 915 Ftz_minuteswest int32 916 Ftz_dsttime int32 917 } /* time.h:72:1 */ 918 919 // Operations on timevals. 920 921 // Operations on timespecs. 922 923 // Names of the interval timers, and structure 924 // defining a timer setting. 925 926 type Itimerval = struct { 927 Fit_interval struct { 928 Ftv_sec Time_t 929 Ftv_usec Suseconds_t 930 } 931 Fit_value struct { 932 Ftv_sec Time_t 933 Ftv_usec Suseconds_t 934 } 935 } /* time.h:148:1 */ 936 937 // clock information structure for sysctl({CTL_KERN, KERN_CLOCKRATE}) 938 type Clockinfo = struct { 939 Fhz int32 940 Ftick int32 941 Fstathz int32 942 Fprofhz int32 943 } /* time.h:157:1 */ 944 945 // $OpenBSD: time.h,v 1.31 2018/10/30 16:28:42 guenther Exp $ 946 // $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ 947 948 // Copyright (c) 1989 The Regents of the University of California. 949 // All rights reserved. 950 // 951 // (c) UNIX System Laboratories, Inc. 952 // All or some portions of this file are derived from material licensed 953 // to the University of California by American Telephone and Telegraph 954 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 955 // the permission of UNIX System Laboratories, Inc. 956 // 957 // Redistribution and use in source and binary forms, with or without 958 // modification, are permitted provided that the following conditions 959 // are met: 960 // 1. Redistributions of source code must retain the above copyright 961 // notice, this list of conditions and the following disclaimer. 962 // 2. Redistributions in binary form must reproduce the above copyright 963 // notice, this list of conditions and the following disclaimer in the 964 // documentation and/or other materials provided with the distribution. 965 // 3. Neither the name of the University nor the names of its contributors 966 // may be used to endorse or promote products derived from this software 967 // without specific prior written permission. 968 // 969 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 970 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 971 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 972 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 973 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 974 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 975 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 976 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 977 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 978 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 979 // SUCH DAMAGE. 980 // 981 // @(#)time.h 5.12 (Berkeley) 3/9/91 982 983 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 984 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 985 986 // Copyright (c) 1991, 1993 987 // The Regents of the University of California. All rights reserved. 988 // 989 // This code is derived from software contributed to Berkeley by 990 // Berkeley Software Design, Inc. 991 // 992 // Redistribution and use in source and binary forms, with or without 993 // modification, are permitted provided that the following conditions 994 // are met: 995 // 1. Redistributions of source code must retain the above copyright 996 // notice, this list of conditions and the following disclaimer. 997 // 2. Redistributions in binary form must reproduce the above copyright 998 // notice, this list of conditions and the following disclaimer in the 999 // documentation and/or other materials provided with the distribution. 1000 // 3. Neither the name of the University nor the names of its contributors 1001 // may be used to endorse or promote products derived from this software 1002 // without specific prior written permission. 1003 // 1004 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1005 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1006 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1007 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1008 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1009 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1010 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1011 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1012 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1013 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1014 // SUCH DAMAGE. 1015 // 1016 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 1017 1018 // $OpenBSD: _null.h,v 1.2 2016/09/09 22:07:58 millert Exp $ 1019 1020 // Written by Todd C. Miller, September 9, 2016 1021 // Public domain. 1022 1023 // $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ 1024 1025 // - 1026 // Copyright (c) 1990, 1993 1027 // The Regents of the University of California. All rights reserved. 1028 // 1029 // Redistribution and use in source and binary forms, with or without 1030 // modification, are permitted provided that the following conditions 1031 // are met: 1032 // 1. Redistributions of source code must retain the above copyright 1033 // notice, this list of conditions and the following disclaimer. 1034 // 2. Redistributions in binary form must reproduce the above copyright 1035 // notice, this list of conditions and the following disclaimer in the 1036 // documentation and/or other materials provided with the distribution. 1037 // 3. Neither the name of the University nor the names of its contributors 1038 // may be used to endorse or promote products derived from this software 1039 // without specific prior written permission. 1040 // 1041 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1042 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1043 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1044 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1045 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1046 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1047 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1048 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1049 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1050 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1051 // SUCH DAMAGE. 1052 // 1053 // @(#)types.h 8.3 (Berkeley) 1/5/94 1054 1055 // Frequency of the clock ticks reported by times(). Deprecated - use 1056 // sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.) 1057 1058 // $OpenBSD: _time.h,v 1.9 2017/12/18 05:51:53 cheloha Exp $ 1059 1060 // Copyright (c) 1982, 1986, 1993 1061 // The Regents of the University of California. All rights reserved. 1062 // 1063 // Redistribution and use in source and binary forms, with or without 1064 // modification, are permitted provided that the following conditions 1065 // are met: 1066 // 1. Redistributions of source code must retain the above copyright 1067 // notice, this list of conditions and the following disclaimer. 1068 // 2. Redistributions in binary form must reproduce the above copyright 1069 // notice, this list of conditions and the following disclaimer in the 1070 // documentation and/or other materials provided with the distribution. 1071 // 3. Neither the name of the University nor the names of its contributors 1072 // may be used to endorse or promote products derived from this software 1073 // without specific prior written permission. 1074 // 1075 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1076 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1077 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1078 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1079 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1080 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1081 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1082 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1083 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1084 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1085 // SUCH DAMAGE. 1086 1087 // Per-process and per-thread clocks encode the PID or TID into the 1088 // high bits, with the type in the bottom bits 1089 1090 // Structure defined by POSIX 1003.1b to be like a itimerval, 1091 // but with timespecs. Used in the timer_*() system calls. 1092 type Itimerspec = struct { 1093 Fit_interval struct { 1094 Ftv_sec Time_t 1095 Ftv_nsec int32 1096 } 1097 Fit_value struct { 1098 Ftv_sec Time_t 1099 Ftv_nsec int32 1100 } 1101 } /* _time.h:56:1 */ 1102 1103 type Locale_t = uintptr /* time.h:107:14 */ 1104 1105 type Tm = struct { 1106 Ftm_sec int32 1107 Ftm_min int32 1108 Ftm_hour int32 1109 Ftm_mday int32 1110 Ftm_mon int32 1111 Ftm_year int32 1112 Ftm_wday int32 1113 Ftm_yday int32 1114 Ftm_isdst int32 1115 Ftm_gmtoff int32 1116 Ftm_zone uintptr 1117 } /* time.h:111:1 */ 1118 1119 type Stat = struct { 1120 Fst_mode Mode_t 1121 Fst_dev Dev_t 1122 Fst_ino Ino_t 1123 Fst_nlink Nlink_t 1124 Fst_uid Uid_t 1125 Fst_gid Gid_t 1126 Fst_rdev Dev_t 1127 Fst_atim struct { 1128 Ftv_sec Time_t 1129 Ftv_nsec int32 1130 } 1131 Fst_mtim struct { 1132 Ftv_sec Time_t 1133 Ftv_nsec int32 1134 } 1135 Fst_ctim struct { 1136 Ftv_sec Time_t 1137 Ftv_nsec int32 1138 } 1139 Fst_size Off_t 1140 Fst_blocks Blkcnt_t 1141 Fst_blksize Blksize_t 1142 Fst_flags U_int32_t 1143 Fst_gen U_int32_t 1144 F__st_birthtim struct { 1145 Ftv_sec Time_t 1146 Ftv_nsec int32 1147 } 1148 } /* stat.h:45:1 */ 1149 1150 // $OpenBSD: fts.h,v 1.14 2012/12/05 23:19:57 deraadt Exp $ 1151 // $NetBSD: fts.h,v 1.5 1994/12/28 01:41:50 mycroft Exp $ 1152 1153 // Copyright (c) 1989, 1993 1154 // The Regents of the University of California. All rights reserved. 1155 // 1156 // Redistribution and use in source and binary forms, with or without 1157 // modification, are permitted provided that the following conditions 1158 // are met: 1159 // 1. Redistributions of source code must retain the above copyright 1160 // notice, this list of conditions and the following disclaimer. 1161 // 2. Redistributions in binary form must reproduce the above copyright 1162 // notice, this list of conditions and the following disclaimer in the 1163 // documentation and/or other materials provided with the distribution. 1164 // 3. Neither the name of the University nor the names of its contributors 1165 // may be used to endorse or promote products derived from this software 1166 // without specific prior written permission. 1167 // 1168 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1169 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1170 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1171 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1172 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1173 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1174 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1175 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1176 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1177 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1178 // SUCH DAMAGE. 1179 // 1180 // @(#)fts.h 8.3 (Berkeley) 8/14/94 1181 1182 type X_ftsent = struct { 1183 Ffts_cycle uintptr 1184 Ffts_parent uintptr 1185 Ffts_link uintptr 1186 Ffts_number int32 1187 Ffts_pointer uintptr 1188 Ffts_accpath uintptr 1189 Ffts_path uintptr 1190 Ffts_errno int32 1191 Ffts_symfd int32 1192 Ffts_pathlen Size_t 1193 Ffts_namelen Size_t 1194 Ffts_ino Ino_t 1195 Ffts_dev Dev_t 1196 Ffts_nlink Nlink_t 1197 Ffts_level int32 1198 Ffts_info uint16 1199 Ffts_flags uint16 1200 Ffts_instr uint16 1201 Ffts_spare uint16 1202 Ffts_statp uintptr 1203 Ffts_name [1]int8 1204 F__ccgo_pad1 [3]byte 1205 } /* fts.h:39:2 */ 1206 1207 // $OpenBSD: fts.h,v 1.14 2012/12/05 23:19:57 deraadt Exp $ 1208 // $NetBSD: fts.h,v 1.5 1994/12/28 01:41:50 mycroft Exp $ 1209 1210 // Copyright (c) 1989, 1993 1211 // The Regents of the University of California. All rights reserved. 1212 // 1213 // Redistribution and use in source and binary forms, with or without 1214 // modification, are permitted provided that the following conditions 1215 // are met: 1216 // 1. Redistributions of source code must retain the above copyright 1217 // notice, this list of conditions and the following disclaimer. 1218 // 2. Redistributions in binary form must reproduce the above copyright 1219 // notice, this list of conditions and the following disclaimer in the 1220 // documentation and/or other materials provided with the distribution. 1221 // 3. Neither the name of the University nor the names of its contributors 1222 // may be used to endorse or promote products derived from this software 1223 // without specific prior written permission. 1224 // 1225 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1226 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1227 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1228 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1229 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1230 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1231 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1232 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1233 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1234 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1235 // SUCH DAMAGE. 1236 // 1237 // @(#)fts.h 8.3 (Berkeley) 8/14/94 1238 1239 type FTS = struct { 1240 Ffts_cur uintptr 1241 Ffts_child uintptr 1242 Ffts_array uintptr 1243 Ffts_dev Dev_t 1244 Ffts_path uintptr 1245 Ffts_rfd int32 1246 Ffts_pathlen Size_t 1247 Ffts_nitems int32 1248 Ffts_compar uintptr 1249 Ffts_options int32 1250 } /* fts.h:61:3 */ 1251 1252 type FTSENT = X_ftsent /* fts.h:114:3 */ 1253 1254 var _ int8 /* gen.c:5:13: */