gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

poll_freebsd_arm.go (38815B)


      1 // Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_arm.go -pkgname poll', DO NOT EDIT.
      2 
      3 package poll
      4 
      5 import (
      6 	"math"
      7 	"reflect"
      8 	"sync/atomic"
      9 	"unsafe"
     10 )
     11 
     12 var _ = math.Pi
     13 var _ reflect.Kind
     14 var _ atomic.Value
     15 var _ unsafe.Pointer
     16 
     17 const (
     18 	INFTIM              = -1     // poll.h:94:1:
     19 	POLLERR             = 0x0008 // poll.h:80:1:
     20 	POLLHUP             = 0x0010 // poll.h:81:1:
     21 	POLLIN              = 0x0001 // poll.h:63:1:
     22 	POLLINIGNEOF        = 0x2000 // poll.h:73:1:
     23 	POLLNVAL            = 0x0020 // poll.h:82:1:
     24 	POLLOUT             = 0x0004 // poll.h:65:1:
     25 	POLLPRI             = 0x0002 // poll.h:64:1:
     26 	POLLRDBAND          = 0x0080 // poll.h:68:1:
     27 	POLLRDNORM          = 0x0040 // poll.h:66:1:
     28 	POLLSTANDARD        = 511    // poll.h:86:1:
     29 	POLLWRBAND          = 0x0100 // poll.h:69:1:
     30 	POLLWRNORM          = 4      // poll.h:67:1:
     31 	X_FILE_OFFSET_BITS  = 64     // <builtin>:25:1:
     32 	X_ILP32             = 1      // <predefined>:1:1:
     33 	X_MACHINE__TYPES_H_ = 0      // _types.h:42:1:
     34 	X_Nonnull           = 0      // cdefs.h:790:1:
     35 	X_Null_unspecified  = 0      // cdefs.h:792:1:
     36 	X_Nullable          = 0      // cdefs.h:791:1:
     37 	X_SIGSET_T_DECLARED = 0      // poll.h:107:1:
     38 	X_SIG_MAXSIG        = 128    // _sigset.h:47:1:
     39 	X_SIG_WORDS         = 4      // _sigset.h:46:1:
     40 	X_SYS_CDEFS_H_      = 0      // cdefs.h:39:1:
     41 	X_SYS_POLL_H_       = 0      // poll.h:34:1:
     42 	X_SYS_TIMESPEC_H_   = 0      // timespec.h:37:1:
     43 	X_SYS__SIGSET_H_    = 0      // _sigset.h:41:1:
     44 	X_SYS__TIMESPEC_H_  = 0      // _timespec.h:37:1:
     45 	X_SYS__TYPES_H_     = 0      // _types.h:32:1:
     46 	X_TIME_T_DECLARED   = 0      // _timespec.h:43:1:
     47 	Unix                = 1      // <predefined>:367:1:
     48 )
     49 
     50 type Ptrdiff_t = int32 /* <builtin>:3:26 */
     51 
     52 type Size_t = uint32 /* <builtin>:9:23 */
     53 
     54 type Wchar_t = uint32 /* <builtin>:15:24 */
     55 
     56 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     57 type X__float128 = float64        /* <builtin>:47:21 */
     58 
     59 // -
     60 // SPDX-License-Identifier: BSD-3-Clause
     61 //
     62 // Copyright (c) 1997 Peter Wemm <peter@freebsd.org>
     63 // All rights reserved.
     64 //
     65 // Redistribution and use in source and binary forms, with or without
     66 // modification, are permitted provided that the following conditions
     67 // are met:
     68 // 1. Redistributions of source code must retain the above copyright
     69 //    notice, this list of conditions and the following disclaimer.
     70 // 2. Redistributions in binary form must reproduce the above copyright
     71 //    notice, this list of conditions and the following disclaimer in the
     72 //    documentation and/or other materials provided with the distribution.
     73 // 3. The name of the author may not be used to endorse or promote products
     74 //    derived from this software without specific prior written permission.
     75 //
     76 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
     77 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     78 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     79 // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
     80 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     81 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     82 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     83 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     84 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     85 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     86 // SUCH DAMAGE.
     87 //
     88 // $FreeBSD$
     89 
     90 // -
     91 // SPDX-License-Identifier: BSD-3-Clause
     92 //
     93 // Copyright (c) 1991, 1993
     94 //	The Regents of the University of California.  All rights reserved.
     95 //
     96 // This code is derived from software contributed to Berkeley by
     97 // Berkeley Software Design, Inc.
     98 //
     99 // Redistribution and use in source and binary forms, with or without
    100 // modification, are permitted provided that the following conditions
    101 // are met:
    102 // 1. Redistributions of source code must retain the above copyright
    103 //    notice, this list of conditions and the following disclaimer.
    104 // 2. Redistributions in binary form must reproduce the above copyright
    105 //    notice, this list of conditions and the following disclaimer in the
    106 //    documentation and/or other materials provided with the distribution.
    107 // 3. Neither the name of the University nor the names of its contributors
    108 //    may be used to endorse or promote products derived from this software
    109 //    without specific prior written permission.
    110 //
    111 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    112 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    113 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    114 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    115 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    116 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    117 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    118 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    119 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    120 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    121 // SUCH DAMAGE.
    122 //
    123 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    124 // $FreeBSD$
    125 
    126 // Testing against Clang-specific extensions.
    127 
    128 // This code has been put in place to help reduce the addition of
    129 // compiler specific defines in FreeBSD code.  It helps to aid in
    130 // having a compiler-agnostic source tree.
    131 
    132 // Compiler memory barriers, specific to gcc and clang.
    133 
    134 // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
    135 
    136 // Macro to test if we're using a specific version of gcc or later.
    137 
    138 // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
    139 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
    140 // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
    141 // mode -- there must be no spaces between its arguments, and for nested
    142 // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also
    143 // concatenate double-quoted strings produced by the __STRING macro, but
    144 // this only works with ANSI C.
    145 //
    146 // __XSTRING is like __STRING, but it expands any macros in its argument
    147 // first.  It is only available with ANSI C.
    148 
    149 // Compiler-dependent macros to help declare dead (non-returning) and
    150 // pure (no side effects) functions, and unused variables.  They are
    151 // null except for versions of gcc that are known to support the features
    152 // properly (old versions of gcc-2 supported the dead and pure features
    153 // in a different (wrong) way).  If we do not provide an implementation
    154 // for a given compiler, let the compile fail if it is told to use
    155 // a feature that we cannot live without.
    156 
    157 // Keywords added in C11.
    158 
    159 // Emulation of C11 _Generic().  Unlike the previously defined C11
    160 // keywords, it is not possible to implement this using exactly the same
    161 // syntax.  Therefore implement something similar under the name
    162 // __generic().  Unlike _Generic(), this macro can only distinguish
    163 // between a single type, so it requires nested invocations to
    164 // distinguish multiple cases.
    165 
    166 // C99 Static array indices in function parameter declarations.  Syntax such as:
    167 // void bar(int myArray[static 10]);
    168 // is allowed in C99 but not in C++.  Define __min_size appropriately so
    169 // headers using it can be compiled in either language.  Use like this:
    170 // void bar(int myArray[__min_size(10)]);
    171 
    172 // XXX: should use `#if __STDC_VERSION__ < 199901'.
    173 
    174 // C++11 exposes a load of C99 stuff
    175 
    176 // GCC 2.95 provides `__restrict' as an extension to C90 to support the
    177 // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as
    178 // a way to define the `restrict' type qualifier without disturbing older
    179 // software that is unaware of C99 keywords.
    180 
    181 // GNU C version 2.96 adds explicit branch prediction so that
    182 // the CPU back-end can hint the processor and also so that
    183 // code blocks can be reordered such that the predicted path
    184 // sees a more linear flow, thus improving cache behavior, etc.
    185 //
    186 // The following two macros provide us with a way to utilize this
    187 // compiler feature.  Use __predict_true() if you expect the expression
    188 // to evaluate to true, and __predict_false() if you expect the
    189 // expression to evaluate to false.
    190 //
    191 // A few notes about usage:
    192 //
    193 //	* Generally, __predict_false() error condition checks (unless
    194 //	  you have some _strong_ reason to do otherwise, in which case
    195 //	  document it), and/or __predict_true() `no-error' condition
    196 //	  checks, assuming you want to optimize for the no-error case.
    197 //
    198 //	* Other than that, if you don't know the likelihood of a test
    199 //	  succeeding from empirical or other `hard' evidence, don't
    200 //	  make predictions.
    201 //
    202 //	* These are meant to be used in places that are run `a lot'.
    203 //	  It is wasteful to make predictions in code that is run
    204 //	  seldomly (e.g. at subsystem initialization time) as the
    205 //	  basic block reordering that this affects can often generate
    206 //	  larger code.
    207 
    208 // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
    209 // require it.
    210 
    211 // Given the pointer x to the member m of the struct s, return
    212 // a pointer to the containing structure.  When using GCC, we first
    213 // assign pointer x to a local variable, to check that its type is
    214 // compatible with member m.
    215 
    216 // Compiler-dependent macros to declare that functions take printf-like
    217 // or scanf-like arguments.  They are null except for versions of gcc
    218 // that are known to support the features properly (old versions of gcc-2
    219 // didn't permit keeping the keywords out of the application namespace).
    220 
    221 // Compiler-dependent macros that rely on FreeBSD-specific extensions.
    222 
    223 // Embed the rcs id of a source file in the resulting library.  Note that in
    224 // more recent ELF binutils, we use .ident allowing the ID to be stripped.
    225 // Usage:
    226 //	__FBSDID("$FreeBSD$");
    227 
    228 // -
    229 // The following definitions are an extension of the behavior originally
    230 // implemented in <sys/_posix.h>, but with a different level of granularity.
    231 // POSIX.1 requires that the macros we test be defined before any standard
    232 // header file is included.
    233 //
    234 // Here's a quick run-down of the versions:
    235 //  defined(_POSIX_SOURCE)		1003.1-1988
    236 //  _POSIX_C_SOURCE == 1		1003.1-1990
    237 //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option
    238 //  _POSIX_C_SOURCE == 199309		1003.1b-1993
    239 //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995,
    240 //					and the omnibus ISO/IEC 9945-1: 1996
    241 //  _POSIX_C_SOURCE == 200112		1003.1-2001
    242 //  _POSIX_C_SOURCE == 200809		1003.1-2008
    243 //
    244 // In addition, the X/Open Portability Guide, which is now the Single UNIX
    245 // Specification, defines a feature-test macro which indicates the version of
    246 // that specification, and which subsumes _POSIX_C_SOURCE.
    247 //
    248 // Our macros begin with two underscores to avoid namespace screwage.
    249 
    250 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
    251 
    252 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
    253 
    254 // Deal with various X/Open Portability Guides and Single UNIX Spec.
    255 
    256 // Deal with all versions of POSIX.  The ordering relative to the tests above is
    257 // important.
    258 // -
    259 // Deal with _ANSI_SOURCE:
    260 // If it is defined, and no other compilation environment is explicitly
    261 // requested, then define our internal feature-test macros to zero.  This
    262 // makes no difference to the preprocessor (undefined symbols in preprocessing
    263 // expressions are defined to have value zero), but makes it more convenient for
    264 // a test program to print out the values.
    265 //
    266 // If a program mistakenly defines _ANSI_SOURCE and some other macro such as
    267 // _POSIX_C_SOURCE, we will assume that it wants the broader compilation
    268 // environment (and in fact we will never get here).
    269 
    270 // User override __EXT1_VISIBLE
    271 
    272 // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
    273 // translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
    274 
    275 // Nullability qualifiers: currently only supported by Clang.
    276 
    277 // Type Safety Checking
    278 //
    279 // Clang provides additional attributes to enable checking type safety
    280 // properties that cannot be enforced by the C type system.
    281 
    282 // Lock annotations.
    283 //
    284 // Clang provides support for doing basic thread-safety tests at
    285 // compile-time, by marking which locks will/should be held when
    286 // entering/leaving a functions.
    287 //
    288 // Furthermore, it is also possible to annotate variables and structure
    289 // members to enforce that they are only accessed when certain locks are
    290 // held.
    291 
    292 // Structure implements a lock.
    293 
    294 // Function acquires an exclusive or shared lock.
    295 
    296 // Function attempts to acquire an exclusive or shared lock.
    297 
    298 // Function releases a lock.
    299 
    300 // Function asserts that an exclusive or shared lock is held.
    301 
    302 // Function requires that an exclusive or shared lock is or is not held.
    303 
    304 // Function should not be analyzed.
    305 
    306 // Function or variable should not be sanitized, e.g., by AddressSanitizer.
    307 // GCC has the nosanitize attribute, but as a function attribute only, and
    308 // warns on use as a variable attribute.
    309 
    310 // Guard variables and structure members by lock.
    311 
    312 // Alignment builtins for better type checking and improved code generation.
    313 // Provide fallback versions for other compilers (GCC/Clang < 10):
    314 
    315 // This file is intended to be compatible with the traditional poll.h.
    316 
    317 type Nfds_t = uint32 /* poll.h:42:22 */
    318 
    319 // This structure is passed as an array to poll(2).
    320 type Pollfd = struct {
    321 	Ffd      int32
    322 	Fevents  int16
    323 	Frevents int16
    324 } /* poll.h:47:1 */
    325 
    326 // Requestable events.  If poll(2) finds any of these set, they are
    327 // copied to revents on return.
    328 // XXX Note that FreeBSD doesn't make much distinction between POLLPRI
    329 // and POLLRDBAND since none of the file types have distinct priority
    330 // bands - and only some have an urgent "mode".
    331 // XXX Note POLLIN isn't really supported in true SVSV terms.  Under SYSV
    332 // POLLIN includes all of normal, band and urgent data.  Most poll handlers
    333 // on FreeBSD only treat it as "normal" data.
    334 
    335 // General FreeBSD extension (currently only supported for sockets):
    336 
    337 // These events are set if they occur regardless of whether they were
    338 // requested.
    339 
    340 // Request that poll() wait forever.
    341 // XXX in SYSV, this is defined in stropts.h, which is not included
    342 // by poll.h.
    343 
    344 // -
    345 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    346 //
    347 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
    348 // All rights reserved.
    349 //
    350 // Redistribution and use in source and binary forms, with or without
    351 // modification, are permitted provided that the following conditions
    352 // are met:
    353 // 1. Redistributions of source code must retain the above copyright
    354 //    notice, this list of conditions and the following disclaimer.
    355 // 2. Redistributions in binary form must reproduce the above copyright
    356 //    notice, this list of conditions and the following disclaimer in the
    357 //    documentation and/or other materials provided with the distribution.
    358 //
    359 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
    360 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    361 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    362 // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
    363 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    364 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    365 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    366 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    367 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    368 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    369 // SUCH DAMAGE.
    370 //
    371 // $FreeBSD$
    372 
    373 // -
    374 // SPDX-License-Identifier: BSD-3-Clause
    375 //
    376 // Copyright (c) 1991, 1993
    377 //	The Regents of the University of California.  All rights reserved.
    378 //
    379 // This code is derived from software contributed to Berkeley by
    380 // Berkeley Software Design, Inc.
    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 // 3. Neither the name of the University nor the names of its contributors
    391 //    may be used to endorse or promote products derived from this software
    392 //    without specific prior written permission.
    393 //
    394 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    395 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    396 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    397 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    398 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    399 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    400 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    401 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    402 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    403 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    404 // SUCH DAMAGE.
    405 //
    406 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    407 // $FreeBSD$
    408 
    409 // -
    410 // SPDX-License-Identifier: BSD-4-Clause
    411 //
    412 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
    413 // Copyright (c) 1990, 1993
    414 //	The Regents of the University of California.  All rights reserved.
    415 //
    416 // Redistribution and use in source and binary forms, with or without
    417 // modification, are permitted provided that the following conditions
    418 // are met:
    419 // 1. Redistributions of source code must retain the above copyright
    420 //    notice, this list of conditions and the following disclaimer.
    421 // 2. Redistributions in binary form must reproduce the above copyright
    422 //    notice, this list of conditions and the following disclaimer in the
    423 //    documentation and/or other materials provided with the distribution.
    424 // 3. All advertising materials mentioning features or use of this software
    425 //    must display the following acknowledgement:
    426 //	This product includes software developed by the University of
    427 //	California, Berkeley and its contributors.
    428 // 4. Neither the name of the University nor the names of its contributors
    429 //    may be used to endorse or promote products derived from this software
    430 //    without specific prior written permission.
    431 //
    432 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    433 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    434 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    435 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    436 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    437 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    438 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    439 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    440 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    441 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    442 // SUCH DAMAGE.
    443 //
    444 //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94
    445 //	From: @(#)types.h	8.3 (Berkeley) 1/5/94
    446 // $FreeBSD$
    447 
    448 // Basic types upon which most other types are built.
    449 type X__int8_t = int8     /* _types.h:51:22 */
    450 type X__uint8_t = uint8   /* _types.h:52:24 */
    451 type X__int16_t = int16   /* _types.h:53:17 */
    452 type X__uint16_t = uint16 /* _types.h:54:25 */
    453 type X__int32_t = int32   /* _types.h:55:15 */
    454 type X__uint32_t = uint32 /* _types.h:56:23 */
    455 
    456 // LONGLONG
    457 type X__int64_t = int64 /* _types.h:61:20 */
    458 
    459 // LONGLONG
    460 type X__uint64_t = uint64 /* _types.h:66:28 */
    461 
    462 // Standard type definitions.
    463 type X__clock_t = X__uint32_t        /* _types.h:71:20 */ // clock()...
    464 type X__critical_t = X__int32_t      /* _types.h:72:19 */
    465 type X__double_t = float64           /* _types.h:74:17 */
    466 type X__float_t = float32            /* _types.h:75:16 */
    467 type X__intfptr_t = X__int32_t       /* _types.h:77:19 */
    468 type X__intmax_t = X__int64_t        /* _types.h:78:19 */
    469 type X__intptr_t = X__int32_t        /* _types.h:79:19 */
    470 type X__int_fast8_t = X__int32_t     /* _types.h:80:19 */
    471 type X__int_fast16_t = X__int32_t    /* _types.h:81:19 */
    472 type X__int_fast32_t = X__int32_t    /* _types.h:82:19 */
    473 type X__int_fast64_t = X__int64_t    /* _types.h:83:19 */
    474 type X__int_least8_t = X__int8_t     /* _types.h:84:18 */
    475 type X__int_least16_t = X__int16_t   /* _types.h:85:19 */
    476 type X__int_least32_t = X__int32_t   /* _types.h:86:19 */
    477 type X__int_least64_t = X__int64_t   /* _types.h:87:19 */
    478 type X__ptrdiff_t = X__int32_t       /* _types.h:88:19 */ // ptr1 - ptr2
    479 type X__register_t = X__int32_t      /* _types.h:89:19 */
    480 type X__segsz_t = X__int32_t         /* _types.h:90:19 */ // segment size (in pages)
    481 type X__size_t = X__uint32_t         /* _types.h:91:20 */ // sizeof()
    482 type X__ssize_t = X__int32_t         /* _types.h:92:19 */ // byte count or error
    483 type X__time_t = X__int64_t          /* _types.h:93:19 */ // time()...
    484 type X__uintfptr_t = X__uint32_t     /* _types.h:94:20 */
    485 type X__uintmax_t = X__uint64_t      /* _types.h:95:20 */
    486 type X__uintptr_t = X__uint32_t      /* _types.h:96:20 */
    487 type X__uint_fast8_t = X__uint32_t   /* _types.h:97:20 */
    488 type X__uint_fast16_t = X__uint32_t  /* _types.h:98:20 */
    489 type X__uint_fast32_t = X__uint32_t  /* _types.h:99:20 */
    490 type X__uint_fast64_t = X__uint64_t  /* _types.h:100:20 */
    491 type X__uint_least8_t = X__uint8_t   /* _types.h:101:19 */
    492 type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */
    493 type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */
    494 type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */
    495 type X__u_register_t = X__uint32_t   /* _types.h:105:20 */
    496 type X__vm_offset_t = X__uint32_t    /* _types.h:106:20 */
    497 type X__vm_paddr_t = X__uint32_t     /* _types.h:107:20 */
    498 type X__vm_size_t = X__uint32_t      /* _types.h:108:20 */
    499 
    500 type X___wchar_t = uint32 /* _types.h:110:22 */
    501 
    502 // Standard type definitions.
    503 type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size
    504 type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count
    505 type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()...
    506 type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags
    507 type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */
    508 type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */
    509 type X__gid_t = X__uint32_t      /* _types.h:46:20 */
    510 type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t
    511 type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number
    512 type X__key_t = int32            /* _types.h:49:15 */ // IPC key (for Sys V IPC)
    513 type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP)
    514 type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions
    515 type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions
    516 type X__nl_item = int32          /* _types.h:53:14 */
    517 type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count
    518 type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset
    519 type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias)
    520 type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group]
    521 type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally
    522 // signed, because of legacy code
    523 // that uses -1 for RLIM_INFINITY
    524 type X__sa_family_t = X__uint8_t /* _types.h:61:19 */
    525 type X__socklen_t = X__uint32_t  /* _types.h:62:20 */
    526 type X__suseconds_t = int32      /* _types.h:63:15 */ // microseconds (signed)
    527 type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()...
    528 type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()...
    529 type X__uid_t = X__uint32_t      /* _types.h:66:20 */
    530 type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned)
    531 type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset.
    532 type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset.
    533 type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier.
    534 type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
    535 
    536 // Unusual type definitions.
    537 // rune_t is declared to be an “int” instead of the more natural
    538 // “unsigned long” or “long”.  Two things are happening here.  It is not
    539 // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
    540 // it looks like 10646 will be a 31 bit standard.  This means that if your
    541 // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
    542 // chosen over a long is that the is*() and to*() routines take ints (says
    543 // ANSI C), but they use __ct_rune_t instead of int.
    544 //
    545 // NOTE: rune_t is not covered by ANSI nor other standards, and should not
    546 // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and
    547 // rune_t must be the same type.  Also, wint_t should be able to hold all
    548 // members of the largest character set plus one extra value (WEOF), and
    549 // must be at least 16 bits.
    550 type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs
    551 type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above)
    552 type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above)
    553 
    554 // Clang already provides these types as built-ins, but only in C++ mode.
    555 type X__char16_t = X__uint_least16_t /* _types.h:97:26 */
    556 type X__char32_t = X__uint_least32_t /* _types.h:98:26 */
    557 // In C++11, char16_t and char32_t are built-in types.
    558 
    559 type X__max_align_t = struct {
    560 	F__max_align1 int64
    561 	F__max_align2 float64
    562 } /* _types.h:111:3 */
    563 
    564 type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number
    565 
    566 type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
    567 
    568 // mbstate_t is an opaque object to keep conversion state during multibyte
    569 // stream conversions.
    570 type X__mbstate_t = struct {
    571 	F__ccgo_pad1 [0]uint64
    572 	F__mbstate8  [128]uint8
    573 } /* _types.h:124:3 */
    574 
    575 type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
    576 
    577 // Types for varargs. These are all provided by builtin types these
    578 // days, so centralize their definition.
    579 type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
    580 type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers
    581 
    582 // When the following macro is defined, the system uses 64-bit inode numbers.
    583 // Programs can use this to avoid including <sys/param.h>, with its associated
    584 // namespace pollution.
    585 
    586 // -
    587 // SPDX-License-Identifier: BSD-3-Clause
    588 //
    589 // Copyright (c) 1982, 1986, 1989, 1991, 1993
    590 //	The Regents of the University of California.  All rights reserved.
    591 // (c) UNIX System Laboratories, Inc.
    592 // All or some portions of this file are derived from material licensed
    593 // to the University of California by American Telephone and Telegraph
    594 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
    595 // the permission of UNIX System Laboratories, Inc.
    596 //
    597 // Redistribution and use in source and binary forms, with or without
    598 // modification, are permitted provided that the following conditions
    599 // are met:
    600 // 1. Redistributions of source code must retain the above copyright
    601 //    notice, this list of conditions and the following disclaimer.
    602 // 2. Redistributions in binary form must reproduce the above copyright
    603 //    notice, this list of conditions and the following disclaimer in the
    604 //    documentation and/or other materials provided with the distribution.
    605 // 3. Neither the name of the University nor the names of its contributors
    606 //    may be used to endorse or promote products derived from this software
    607 //    without specific prior written permission.
    608 //
    609 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    610 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    611 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    612 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    613 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    614 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    615 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    616 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    617 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    618 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    619 // SUCH DAMAGE.
    620 //
    621 //	@(#)signal.h	8.4 (Berkeley) 5/4/95
    622 // $FreeBSD$
    623 
    624 // sigset_t macros.
    625 
    626 type X__sigset = struct{ F__bits [4]X__uint32_t } /* _sigset.h:53:9 */
    627 
    628 // compatibility w/GNU headers
    629 
    630 // When the following macro is defined, the system uses 64-bit inode numbers.
    631 // Programs can use this to avoid including <sys/param.h>, with its associated
    632 // namespace pollution.
    633 
    634 // -
    635 // SPDX-License-Identifier: BSD-3-Clause
    636 //
    637 // Copyright (c) 1982, 1986, 1989, 1991, 1993
    638 //	The Regents of the University of California.  All rights reserved.
    639 // (c) UNIX System Laboratories, Inc.
    640 // All or some portions of this file are derived from material licensed
    641 // to the University of California by American Telephone and Telegraph
    642 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
    643 // the permission of UNIX System Laboratories, Inc.
    644 //
    645 // Redistribution and use in source and binary forms, with or without
    646 // modification, are permitted provided that the following conditions
    647 // are met:
    648 // 1. Redistributions of source code must retain the above copyright
    649 //    notice, this list of conditions and the following disclaimer.
    650 // 2. Redistributions in binary form must reproduce the above copyright
    651 //    notice, this list of conditions and the following disclaimer in the
    652 //    documentation and/or other materials provided with the distribution.
    653 // 3. Neither the name of the University nor the names of its contributors
    654 //    may be used to endorse or promote products derived from this software
    655 //    without specific prior written permission.
    656 //
    657 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    658 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    659 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    660 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    661 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    662 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    663 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    664 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    665 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    666 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    667 // SUCH DAMAGE.
    668 //
    669 //	@(#)signal.h	8.4 (Berkeley) 5/4/95
    670 // $FreeBSD$
    671 
    672 // sigset_t macros.
    673 
    674 type X__sigset_t = X__sigset /* _sigset.h:55:3 */
    675 
    676 // -
    677 // SPDX-License-Identifier: BSD-3-Clause
    678 //
    679 // Copyright (c) 1982, 1986, 1993
    680 //	The Regents of the University of California.  All rights reserved.
    681 //
    682 // Redistribution and use in source and binary forms, with or without
    683 // modification, are permitted provided that the following conditions
    684 // are met:
    685 // 1. Redistributions of source code must retain the above copyright
    686 //    notice, this list of conditions and the following disclaimer.
    687 // 2. Redistributions in binary form must reproduce the above copyright
    688 //    notice, this list of conditions and the following disclaimer in the
    689 //    documentation and/or other materials provided with the distribution.
    690 // 3. Neither the name of the University nor the names of its contributors
    691 //    may be used to endorse or promote products derived from this software
    692 //    without specific prior written permission.
    693 //
    694 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    695 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    696 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    697 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    698 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    699 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    700 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    701 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    702 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    703 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    704 // SUCH DAMAGE.
    705 //
    706 //	@(#)time.h	8.5 (Berkeley) 5/4/95
    707 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp
    708 //	$FreeBSD$
    709 
    710 // -
    711 // SPDX-License-Identifier: BSD-3-Clause
    712 //
    713 // Copyright (c) 1991, 1993
    714 //	The Regents of the University of California.  All rights reserved.
    715 //
    716 // This code is derived from software contributed to Berkeley by
    717 // Berkeley Software Design, Inc.
    718 //
    719 // Redistribution and use in source and binary forms, with or without
    720 // modification, are permitted provided that the following conditions
    721 // are met:
    722 // 1. Redistributions of source code must retain the above copyright
    723 //    notice, this list of conditions and the following disclaimer.
    724 // 2. Redistributions in binary form must reproduce the above copyright
    725 //    notice, this list of conditions and the following disclaimer in the
    726 //    documentation and/or other materials provided with the distribution.
    727 // 3. Neither the name of the University nor the names of its contributors
    728 //    may be used to endorse or promote products derived from this software
    729 //    without specific prior written permission.
    730 //
    731 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    732 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    733 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    734 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    735 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    736 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    737 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    738 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    739 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    740 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    741 // SUCH DAMAGE.
    742 //
    743 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    744 // $FreeBSD$
    745 
    746 // -
    747 // SPDX-License-Identifier: BSD-3-Clause
    748 //
    749 // Copyright (c) 1982, 1986, 1993
    750 //	The Regents of the University of California.  All rights reserved.
    751 //
    752 // Redistribution and use in source and binary forms, with or without
    753 // modification, are permitted provided that the following conditions
    754 // are met:
    755 // 1. Redistributions of source code must retain the above copyright
    756 //    notice, this list of conditions and the following disclaimer.
    757 // 2. Redistributions in binary form must reproduce the above copyright
    758 //    notice, this list of conditions and the following disclaimer in the
    759 //    documentation and/or other materials provided with the distribution.
    760 // 3. Neither the name of the University nor the names of its contributors
    761 //    may be used to endorse or promote products derived from this software
    762 //    without specific prior written permission.
    763 //
    764 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    765 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    766 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    767 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    768 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    769 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    770 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    771 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    772 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    773 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    774 // SUCH DAMAGE.
    775 //
    776 //	@(#)time.h	8.5 (Berkeley) 5/4/95
    777 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp
    778 //	$FreeBSD$
    779 
    780 // -
    781 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    782 //
    783 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
    784 // All rights reserved.
    785 //
    786 // Redistribution and use in source and binary forms, with or without
    787 // modification, are permitted provided that the following conditions
    788 // are met:
    789 // 1. Redistributions of source code must retain the above copyright
    790 //    notice, this list of conditions and the following disclaimer.
    791 // 2. Redistributions in binary form must reproduce the above copyright
    792 //    notice, this list of conditions and the following disclaimer in the
    793 //    documentation and/or other materials provided with the distribution.
    794 //
    795 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
    796 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    797 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    798 // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
    799 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    800 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    801 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    802 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    803 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    804 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    805 // SUCH DAMAGE.
    806 //
    807 // $FreeBSD$
    808 
    809 type Time_t = X__time_t /* _timespec.h:42:18 */
    810 
    811 type Timespec = struct {
    812 	Ftv_sec      Time_t
    813 	Ftv_nsec     int32
    814 	F__ccgo_pad1 [4]byte
    815 } /* _timespec.h:46:1 */
    816 
    817 // Structure defined by POSIX.1b to be like a itimerval, but with
    818 // timespecs. Used in the timer_*() system calls.
    819 type Itimerspec = struct {
    820 	Fit_interval struct {
    821 		Ftv_sec      Time_t
    822 		Ftv_nsec     int32
    823 		F__ccgo_pad1 [4]byte
    824 	}
    825 	Fit_value struct {
    826 		Ftv_sec      Time_t
    827 		Ftv_nsec     int32
    828 		F__ccgo_pad1 [4]byte
    829 	}
    830 } /* timespec.h:60:1 */
    831 
    832 type Sigset_t = X__sigset_t /* poll.h:108:20 */
    833 
    834 var _ uint8 /* gen.c:2:13: */