gtsocial-umbx

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

time_darwin_amd64.go (86680B)


      1 // Code generated by 'ccgo time/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 time/time_darwin_amd64.go -pkgname time', DO NOT EDIT.
      2 
      3 package time
      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 	CLOCKS_PER_SEC                         = 1000000 // time.h:90:1:
     19 	TIME_UTC                               = 1       // time.h:197:1:
     20 	X_BSD_I386__TYPES_H_                   = 0       // _types.h:29:1:
     21 	X_BSD_MACHINE_TYPES_H_                 = 0       // types.h:32:1:
     22 	X_BSD_MACHINE__TYPES_H_                = 0       // _types.h:29:1:
     23 	X_CDEFS_H_                             = 0       // cdefs.h:68:1:
     24 	X_CLOCK_T                              = 0       // _clock_t.h:29:1:
     25 	X_DARWIN_FEATURE_64_BIT_INODE          = 1       // cdefs.h:745:1:
     26 	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1       // cdefs.h:771:1:
     27 	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3       // cdefs.h:779:1:
     28 	X_FILE_OFFSET_BITS                     = 64      // <builtin>:25:1:
     29 	X_FORTIFY_SOURCE                       = 2       // _types.h:65:1:
     30 	X_INT16_T                              = 0       // _int16_t.h:29:1:
     31 	X_INT32_T                              = 0       // _int32_t.h:29:1:
     32 	X_INT64_T                              = 0       // _int64_t.h:29:1:
     33 	X_INT8_T                               = 0       // _int8_t.h:29:1:
     34 	X_INTPTR_T                             = 0       // _intptr_t.h:29:1:
     35 	X_LP64                                 = 1       // <predefined>:1:1:
     36 	X_MACHTYPES_H_                         = 0       // types.h:67:1:
     37 	X_Nonnull                              = 0       // cdefs.h:243:1:
     38 	X_Null_unspecified                     = 0       // cdefs.h:246:1:
     39 	X_Nullable                             = 0       // cdefs.h:240:1:
     40 	X_SIZE_T                               = 0       // _size_t.h:29:1:
     41 	X_SYS__PTHREAD_TYPES_H_                = 0       // _pthread_types.h:30:1:
     42 	X_SYS__TYPES_H_                        = 0       // _types.h:30:1:
     43 	X_TIME_H_                              = 0       // time.h:64:1:
     44 	X_TIME_T                               = 0       // _time_t.h:29:1:
     45 	X_UINTPTR_T                            = 0       // _uintptr_t.h:29:1:
     46 	X_U_INT16_T                            = 0       // _u_int16_t.h:29:1:
     47 	X_U_INT32_T                            = 0       // _u_int32_t.h:29:1:
     48 	X_U_INT64_T                            = 0       // _u_int64_t.h:29:1:
     49 	X_U_INT8_T                             = 0       // _u_int8_t.h:29:1:
     50 )
     51 
     52 const ( /* time.h:153:1: */
     53 	X_CLOCK_REALTIME             = 0
     54 	X_CLOCK_MONOTONIC            = 6
     55 	X_CLOCK_MONOTONIC_RAW        = 4
     56 	X_CLOCK_MONOTONIC_RAW_APPROX = 5
     57 	X_CLOCK_UPTIME_RAW           = 8
     58 	X_CLOCK_UPTIME_RAW_APPROX    = 9
     59 	X_CLOCK_PROCESS_CPUTIME_ID   = 12
     60 	X_CLOCK_THREAD_CPUTIME_ID    = 16
     61 )
     62 
     63 type Ptrdiff_t = int64 /* <builtin>:3:26 */
     64 
     65 type Size_t = uint64 /* <builtin>:9:23 */
     66 
     67 type Wchar_t = int32 /* <builtin>:15:24 */
     68 
     69 type X__int128_t = struct {
     70 	Flo int64
     71 	Fhi int64
     72 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
     73 type X__uint128_t = struct {
     74 	Flo uint64
     75 	Fhi uint64
     76 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
     77 
     78 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     79 type X__float128 = float64        /* <builtin>:47:21 */
     80 
     81 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
     82 
     83 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
     84 //
     85 // @APPLE_LICENSE_HEADER_START@
     86 //
     87 // This file contains Original Code and/or Modifications of Original Code
     88 // as defined in and that are subject to the Apple Public Source License
     89 // Version 2.0 (the 'License'). You may not use this file except in
     90 // compliance with the License. Please obtain a copy of the License at
     91 // http://www.opensource.apple.com/apsl/ and read it before using this
     92 // file.
     93 //
     94 // The Original Code and all software distributed under the License are
     95 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
     96 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
     97 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
     98 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
     99 // Please see the License for the specific language governing rights and
    100 // limitations under the License.
    101 //
    102 // @APPLE_LICENSE_HEADER_END@
    103 // Copyright (c) 1989, 1993
    104 //	The Regents of the University of California.  All rights reserved.
    105 // (c) UNIX System Laboratories, Inc.
    106 // All or some portions of this file are derived from material licensed
    107 // to the University of California by American Telephone and Telegraph
    108 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
    109 // the permission of UNIX System Laboratories, Inc.
    110 //
    111 // Redistribution and use in source and binary forms, with or without
    112 // modification, are permitted provided that the following conditions
    113 // are met:
    114 // 1. Redistributions of source code must retain the above copyright
    115 //    notice, this list of conditions and the following disclaimer.
    116 // 2. Redistributions in binary form must reproduce the above copyright
    117 //    notice, this list of conditions and the following disclaimer in the
    118 //    documentation and/or other materials provided with the distribution.
    119 // 3. All advertising materials mentioning features or use of this software
    120 //    must display the following acknowledgement:
    121 //	This product includes software developed by the University of
    122 //	California, Berkeley and its contributors.
    123 // 4. Neither the name of the University nor the names of its contributors
    124 //    may be used to endorse or promote products derived from this software
    125 //    without specific prior written permission.
    126 //
    127 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    128 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    129 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    130 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    131 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    132 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    133 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    134 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    135 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    136 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    137 // SUCH DAMAGE.
    138 //
    139 //	@(#)time.h	8.3 (Berkeley) 1/21/94
    140 
    141 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
    142 //
    143 // @APPLE_LICENSE_HEADER_START@
    144 //
    145 // This file contains Original Code and/or Modifications of Original Code
    146 // as defined in and that are subject to the Apple Public Source License
    147 // Version 2.0 (the 'License'). You may not use this file except in
    148 // compliance with the License. Please obtain a copy of the License at
    149 // http://www.opensource.apple.com/apsl/ and read it before using this
    150 // file.
    151 //
    152 // The Original Code and all software distributed under the License are
    153 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    154 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    155 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    156 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    157 // Please see the License for the specific language governing rights and
    158 // limitations under the License.
    159 //
    160 // @APPLE_LICENSE_HEADER_END@
    161 
    162 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    163 //
    164 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    165 //
    166 // This file contains Original Code and/or Modifications of Original Code
    167 // as defined in and that are subject to the Apple Public Source License
    168 // Version 2.0 (the 'License'). You may not use this file except in
    169 // compliance with the License. The rights granted to you under the License
    170 // may not be used to create, or enable the creation or redistribution of,
    171 // unlawful or unlicensed copies of an Apple operating system, or to
    172 // circumvent, violate, or enable the circumvention or violation of, any
    173 // terms of an Apple operating system software license agreement.
    174 //
    175 // Please obtain a copy of the License at
    176 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    177 //
    178 // The Original Code and all software distributed under the License are
    179 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    180 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    181 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    182 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    183 // Please see the License for the specific language governing rights and
    184 // limitations under the License.
    185 //
    186 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    187 
    188 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    189 //
    190 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    191 //
    192 // This file contains Original Code and/or Modifications of Original Code
    193 // as defined in and that are subject to the Apple Public Source License
    194 // Version 2.0 (the 'License'). You may not use this file except in
    195 // compliance with the License. The rights granted to you under the License
    196 // may not be used to create, or enable the creation or redistribution of,
    197 // unlawful or unlicensed copies of an Apple operating system, or to
    198 // circumvent, violate, or enable the circumvention or violation of, any
    199 // terms of an Apple operating system software license agreement.
    200 //
    201 // Please obtain a copy of the License at
    202 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    203 //
    204 // The Original Code and all software distributed under the License are
    205 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    206 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    207 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    208 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    209 // Please see the License for the specific language governing rights and
    210 // limitations under the License.
    211 //
    212 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    213 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    214 // Copyright (c) 1991, 1993
    215 //	The Regents of the University of California.  All rights reserved.
    216 //
    217 // This code is derived from software contributed to Berkeley by
    218 // Berkeley Software Design, Inc.
    219 //
    220 // Redistribution and use in source and binary forms, with or without
    221 // modification, are permitted provided that the following conditions
    222 // are met:
    223 // 1. Redistributions of source code must retain the above copyright
    224 //    notice, this list of conditions and the following disclaimer.
    225 // 2. Redistributions in binary form must reproduce the above copyright
    226 //    notice, this list of conditions and the following disclaimer in the
    227 //    documentation and/or other materials provided with the distribution.
    228 // 3. All advertising materials mentioning features or use of this software
    229 //    must display the following acknowledgement:
    230 //	This product includes software developed by the University of
    231 //	California, Berkeley and its contributors.
    232 // 4. 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.8 (Berkeley) 1/9/95
    249 
    250 // This SDK is designed to work with clang and specific versions of
    251 // gcc >= 4.0 with Apple's patch sets
    252 
    253 // Compatibility with compilers and environments that don't support compiler
    254 // feature checking function-like macros.
    255 
    256 // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
    257 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
    258 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
    259 // in between its arguments.  __CONCAT can also concatenate double-quoted
    260 // strings produced by the __STRING macro, but this only works with ANSI C.
    261 
    262 // In non-ANSI C environments, new programs will want ANSI-only C keywords
    263 // deleted from the program and old programs will want them left alone.
    264 // When using a compiler other than gcc, programs using the ANSI C keywords
    265 // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
    266 // When using "gcc -traditional", we assume that this is the intent; if
    267 // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
    268 
    269 // __unused denotes variables and functions that may not be used, preventing
    270 // the compiler from warning about it if not used.
    271 
    272 // __used forces variables and functions to be included even if it appears
    273 // to the compiler that they are not used (and would thust be discarded).
    274 
    275 // __cold marks code used for debugging or that is rarely taken
    276 // and tells the compiler to optimize for size and outline code.
    277 
    278 // __deprecated causes the compiler to produce a warning when encountering
    279 // code using the deprecated functionality.
    280 // __deprecated_msg() does the same, and compilers that support it will print
    281 // a message along with the deprecation warning.
    282 // This may require turning on such warning with the -Wdeprecated flag.
    283 // __deprecated_enum_msg() should be used on enums, and compilers that support
    284 // it will print the deprecation warning.
    285 // __kpi_deprecated() specifically indicates deprecation of kernel programming
    286 // interfaces in Kernel.framework used by KEXTs.
    287 
    288 // __unavailable causes the compiler to error out when encountering
    289 // code using the tagged function of variable.
    290 
    291 // Delete pseudo-keywords wherever they are not available or needed.
    292 
    293 // We use `__restrict' as a way to define the `restrict' type qualifier
    294 // without disturbing older software that is unaware of C99 keywords.
    295 
    296 // Compatibility with compilers and environments that don't support the
    297 // nullability feature.
    298 
    299 // __disable_tail_calls causes the compiler to not perform tail call
    300 // optimization inside the marked function.
    301 
    302 // __not_tail_called causes the compiler to prevent tail call optimization
    303 // on statically bound calls to the function.  It has no effect on indirect
    304 // calls.  Virtual functions, objective-c methods, and functions marked as
    305 // "always_inline" cannot be marked as __not_tail_called.
    306 
    307 // __result_use_check warns callers of a function that not using the function
    308 // return value is a bug, i.e. dismissing malloc() return value results in a
    309 // memory leak.
    310 
    311 // __swift_unavailable causes the compiler to mark a symbol as specifically
    312 // unavailable in Swift, regardless of any other availability in C.
    313 
    314 // __abortlike is the attribute to put on functions like abort() that are
    315 // typically used to mark assertions. These optimize the codegen
    316 // for outlining while still maintaining debugability.
    317 
    318 // Declaring inline functions within headers is error-prone due to differences
    319 // across various versions of the C language and extensions.  __header_inline
    320 // can be used to declare inline functions within system headers.  In cases
    321 // where you want to force inlining instead of letting the compiler make
    322 // the decision, you can use __header_always_inline.
    323 //
    324 // Be aware that using inline for functions which compilers may also provide
    325 // builtins can behave differently under various compilers.  If you intend to
    326 // provide an inline version of such a function, you may want to use a macro
    327 // instead.
    328 //
    329 // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
    330 // support c99 inline in some cases:
    331 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
    332 
    333 // Compiler-dependent macros that bracket portions of code where the
    334 // "-Wunreachable-code" warning should be ignored. Please use sparingly.
    335 
    336 // Compiler-dependent macros to declare that functions take printf-like
    337 // or scanf-like arguments.  They are null except for versions of gcc
    338 // that are known to support the features properly.  Functions declared
    339 // with these attributes will cause compilation warnings if there is a
    340 // mismatch between the format string and subsequent function parameter
    341 // types.
    342 
    343 // Source compatibility only, ID string not emitted in object file
    344 
    345 // __alloc_size can be used to label function arguments that represent the
    346 // size of memory that the function allocates and returns. The one-argument
    347 // form labels a single argument that gives the allocation size (where the
    348 // arguments are numbered from 1):
    349 //
    350 // void	*malloc(size_t __size) __alloc_size(1);
    351 //
    352 // The two-argument form handles the case where the size is calculated as the
    353 // product of two arguments:
    354 //
    355 // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
    356 
    357 // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
    358 //
    359 // DEFAULT	By default newly complied code will get POSIX APIs plus
    360 //		Apple API extensions in scope.
    361 //
    362 //		Most users will use this compilation environment to avoid
    363 //		behavioral differences between 32 and 64 bit code.
    364 //
    365 // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
    366 //		API extensions in scope.
    367 //
    368 //		This is generally equivalent to the Tiger release compilation
    369 //		environment, except that it cannot be applied to 64 bit code;
    370 //		its use is discouraged.
    371 //
    372 //		We expect this environment to be deprecated in the future.
    373 //
    374 // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
    375 //		available APIs to exactly the set of APIs defined by the
    376 //		corresponding standard, based on the value defined.
    377 //
    378 //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
    379 //		A correct, portable definition for _XOPEN_SOURCE is 600L.
    380 //
    381 //		Apple API extensions are not visible in this environment,
    382 //		which can cause Apple specific code to fail to compile,
    383 //		or behave incorrectly if prototypes are not in scope or
    384 //		warnings about missing prototypes are not enabled or ignored.
    385 //
    386 // In any compilation environment, for correct symbol resolution to occur,
    387 // function prototypes must be in scope.  It is recommended that all Apple
    388 // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
    389 // compiler flags to their projects to be warned when a function is being
    390 // used without a prototype in scope.
    391 
    392 // These settings are particular to each product.
    393 // Platform: MacOSX
    394 // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
    395 
    396 // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
    397 // legacy code to use the old symbol, thus maintaining binary compatibility
    398 // while new code can use a standards compliant version of the same function.
    399 //
    400 // __DARWIN_ALIAS is used by itself if the function signature has not
    401 // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
    402 // if the signature has changed.  Because the __LP64__ environment
    403 // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
    404 // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
    405 //
    406 // As a special case, when XCode is used to target a specific version of the
    407 // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
    408 // will be defined by the compiler, with the digits representing major version
    409 // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
    410 // pre-10.5, and it is the default compilation environment, revert the
    411 // compilation environment to pre-__DARWIN_UNIX03.
    412 
    413 // symbol suffixes used for symbol versioning
    414 
    415 // symbol versioning macros
    416 
    417 // symbol release macros
    418 // Copyright (c) 2010 Apple Inc. All rights reserved.
    419 //
    420 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    421 //
    422 // This file contains Original Code and/or Modifications of Original Code
    423 // as defined in and that are subject to the Apple Public Source License
    424 // Version 2.0 (the 'License'). You may not use this file except in
    425 // compliance with the License. The rights granted to you under the License
    426 // may not be used to create, or enable the creation or redistribution of,
    427 // unlawful or unlicensed copies of an Apple operating system, or to
    428 // circumvent, violate, or enable the circumvention or violation of, any
    429 // terms of an Apple operating system software license agreement.
    430 //
    431 // Please obtain a copy of the License at
    432 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    433 //
    434 // The Original Code and all software distributed under the License are
    435 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    436 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    437 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    438 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    439 // Please see the License for the specific language governing rights and
    440 // limitations under the License.
    441 //
    442 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    443 
    444 // POSIX.1 requires that the macros we test be defined before any standard
    445 // header file is included.  This permits us to convert values for feature
    446 // testing, as necessary, using only _POSIX_C_SOURCE.
    447 //
    448 // Here's a quick run-down of the versions:
    449 //  defined(_POSIX_SOURCE)		1003.1-1988
    450 //  _POSIX_C_SOURCE == 1L		1003.1-1990
    451 //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
    452 //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
    453 //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
    454 //					and the omnibus ISO/IEC 9945-1: 1996
    455 //  _POSIX_C_SOURCE == 200112L		1003.1-2001
    456 //  _POSIX_C_SOURCE == 200809L		1003.1-2008
    457 //
    458 // In addition, the X/Open Portability Guide, which is now the Single UNIX
    459 // Specification, defines a feature-test macro which indicates the version of
    460 // that specification, and which subsumes _POSIX_C_SOURCE.
    461 
    462 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
    463 
    464 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
    465 
    466 // Deal with various X/Open Portability Guides and Single UNIX Spec.
    467 
    468 // Deal with all versions of POSIX.  The ordering relative to the tests above is
    469 // important.
    470 
    471 // POSIX C deprecation macros
    472 // Copyright (c) 2010 Apple Inc. All rights reserved.
    473 //
    474 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    475 //
    476 // This file contains Original Code and/or Modifications of Original Code
    477 // as defined in and that are subject to the Apple Public Source License
    478 // Version 2.0 (the 'License'). You may not use this file except in
    479 // compliance with the License. The rights granted to you under the License
    480 // may not be used to create, or enable the creation or redistribution of,
    481 // unlawful or unlicensed copies of an Apple operating system, or to
    482 // circumvent, violate, or enable the circumvention or violation of, any
    483 // terms of an Apple operating system software license agreement.
    484 //
    485 // Please obtain a copy of the License at
    486 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    487 //
    488 // The Original Code and all software distributed under the License are
    489 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    490 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    491 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    492 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    493 // Please see the License for the specific language governing rights and
    494 // limitations under the License.
    495 //
    496 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    497 
    498 // Set a single macro which will always be defined and can be used to determine
    499 // the appropriate namespace.  For POSIX, these values will correspond to
    500 // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
    501 // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
    502 
    503 // If the developer has neither requested a strict language mode nor a version
    504 // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
    505 // of __DARWIN_C_FULL.
    506 
    507 // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
    508 // c99 still want long longs.  While not perfect, we allow long longs for
    509 // g++.
    510 
    511 // ****************************************
    512 //
    513 //  Public darwin-specific feature macros
    514 //
    515 
    516 // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
    517 // structures modified for 64-bit inodes (like struct stat) will be used.
    518 
    519 // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
    520 // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
    521 // (and non-zero).  There is no struct stat64 either, as the regular
    522 // struct stat will already be the 64-bit version.
    523 
    524 // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
    525 // in 10.5 exists; no pre-10.5 variants are available.
    526 
    527 // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
    528 // are available (the legacy BSD APIs are not available)
    529 
    530 // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
    531 // and specifies the conformance level (3 is SUSv3)
    532 
    533 // This macro casts away the qualifier from the variable
    534 //
    535 // Note: use at your own risk, removing qualifiers can result in
    536 // catastrophic run-time failures.
    537 
    538 // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
    539 // used from other compilation units, but not other libraries or executables.
    540 
    541 // Architecture validation for current SDK
    542 
    543 // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
    544 //
    545 // This provides more advanced type checking on compilers supporting
    546 // the proper extensions, even in C.
    547 
    548 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    549 //
    550 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    551 //
    552 // This file contains Original Code and/or Modifications of Original Code
    553 // as defined in and that are subject to the Apple Public Source License
    554 // Version 2.0 (the 'License'). You may not use this file except in
    555 // compliance with the License. The rights granted to you under the License
    556 // may not be used to create, or enable the creation or redistribution of,
    557 // unlawful or unlicensed copies of an Apple operating system, or to
    558 // circumvent, violate, or enable the circumvention or violation of, any
    559 // terms of an Apple operating system software license agreement.
    560 //
    561 // Please obtain a copy of the License at
    562 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    563 //
    564 // The Original Code and all software distributed under the License are
    565 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    566 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    567 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    568 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    569 // Please see the License for the specific language governing rights and
    570 // limitations under the License.
    571 //
    572 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    573 
    574 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
    575 //
    576 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    577 //
    578 // This file contains Original Code and/or Modifications of Original Code
    579 // as defined in and that are subject to the Apple Public Source License
    580 // Version 2.0 (the 'License'). You may not use this file except in
    581 // compliance with the License. The rights granted to you under the License
    582 // may not be used to create, or enable the creation or redistribution of,
    583 // unlawful or unlicensed copies of an Apple operating system, or to
    584 // circumvent, violate, or enable the circumvention or violation of, any
    585 // terms of an Apple operating system software license agreement.
    586 //
    587 // Please obtain a copy of the License at
    588 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    589 //
    590 // The Original Code and all software distributed under the License are
    591 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    592 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    593 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    594 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    595 // Please see the License for the specific language governing rights and
    596 // limitations under the License.
    597 //
    598 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    599 
    600 // This header file contains integer types.  It's intended to also contain
    601 // flotaing point and other arithmetic types, as needed, later.
    602 
    603 type X__int8_t = int8     /* _types.h:37:33 */
    604 type X__uint8_t = uint8   /* _types.h:41:33 */
    605 type X__int16_t = int16   /* _types.h:42:33 */
    606 type X__uint16_t = uint16 /* _types.h:43:33 */
    607 type X__int32_t = int32   /* _types.h:44:33 */
    608 type X__uint32_t = uint32 /* _types.h:45:33 */
    609 type X__int64_t = int64   /* _types.h:46:33 */
    610 type X__uint64_t = uint64 /* _types.h:47:33 */
    611 
    612 type X__darwin_intptr_t = int64   /* _types.h:49:33 */
    613 type X__darwin_natural_t = uint32 /* _types.h:50:33 */
    614 
    615 // The rune type below is declared to be an ``int'' instead of the more natural
    616 // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
    617 // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
    618 // it looks like 10646 will be a 31 bit standard.  This means that if your
    619 // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
    620 // chosen over a long is that the is*() and to*() routines take ints (says
    621 // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
    622 // here, you lose a bit of ANSI conformance, but your programs will still
    623 // work.
    624 //
    625 // NOTE: rune_t is not covered by ANSI nor other standards, and should not
    626 // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
    627 // rune_t must be the same type.  Also wint_t must be no narrower than
    628 // wchar_t, and should also be able to hold all members of the largest
    629 // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
    630 
    631 type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
    632 
    633 // mbstate_t is an opaque object to keep conversion state, during multibyte
    634 // stream conversions.  The content must not be referenced by user programs.
    635 type X__mbstate_t = struct {
    636 	F__ccgo_pad1 [0]uint64
    637 	F__mbstate8  [128]int8
    638 } /* _types.h:79:3 */
    639 
    640 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
    641 
    642 type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
    643 
    644 type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
    645 
    646 type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
    647 
    648 type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
    649 
    650 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
    651 
    652 type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
    653 
    654 type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
    655 type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
    656 type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
    657 type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
    658 
    659 // Type definitions; takes common type definitions that must be used
    660 // in multiple header files due to [XSI], removes them from the system
    661 // space, and puts them in the implementation space.
    662 
    663 type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
    664 type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
    665 type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
    666 type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
    667 type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
    668 type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
    669 type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
    670 type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
    671 type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
    672 type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
    673 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
    674 type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
    675 type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
    676 type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
    677 type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
    678 type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
    679 type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
    680 type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
    681 type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
    682 type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
    683 
    684 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
    685 //
    686 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    687 //
    688 // This file contains Original Code and/or Modifications of Original Code
    689 // as defined in and that are subject to the Apple Public Source License
    690 // Version 2.0 (the 'License'). You may not use this file except in
    691 // compliance with the License. The rights granted to you under the License
    692 // may not be used to create, or enable the creation or redistribution of,
    693 // unlawful or unlicensed copies of an Apple operating system, or to
    694 // circumvent, violate, or enable the circumvention or violation of, any
    695 // terms of an Apple operating system software license agreement.
    696 //
    697 // Please obtain a copy of the License at
    698 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    699 //
    700 // The Original Code and all software distributed under the License are
    701 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    702 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    703 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    704 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    705 // Please see the License for the specific language governing rights and
    706 // limitations under the License.
    707 //
    708 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    709 
    710 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    711 //
    712 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    713 //
    714 // This file contains Original Code and/or Modifications of Original Code
    715 // as defined in and that are subject to the Apple Public Source License
    716 // Version 2.0 (the 'License'). You may not use this file except in
    717 // compliance with the License. The rights granted to you under the License
    718 // may not be used to create, or enable the creation or redistribution of,
    719 // unlawful or unlicensed copies of an Apple operating system, or to
    720 // circumvent, violate, or enable the circumvention or violation of, any
    721 // terms of an Apple operating system software license agreement.
    722 //
    723 // Please obtain a copy of the License at
    724 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    725 //
    726 // The Original Code and all software distributed under the License are
    727 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    728 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    729 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    730 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    731 // Please see the License for the specific language governing rights and
    732 // limitations under the License.
    733 //
    734 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    735 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    736 // Copyright (c) 1991, 1993
    737 //	The Regents of the University of California.  All rights reserved.
    738 //
    739 // This code is derived from software contributed to Berkeley by
    740 // Berkeley Software Design, Inc.
    741 //
    742 // Redistribution and use in source and binary forms, with or without
    743 // modification, are permitted provided that the following conditions
    744 // are met:
    745 // 1. Redistributions of source code must retain the above copyright
    746 //    notice, this list of conditions and the following disclaimer.
    747 // 2. Redistributions in binary form must reproduce the above copyright
    748 //    notice, this list of conditions and the following disclaimer in the
    749 //    documentation and/or other materials provided with the distribution.
    750 // 3. All advertising materials mentioning features or use of this software
    751 //    must display the following acknowledgement:
    752 //	This product includes software developed by the University of
    753 //	California, Berkeley and its contributors.
    754 // 4. Neither the name of the University nor the names of its contributors
    755 //    may be used to endorse or promote products derived from this software
    756 //    without specific prior written permission.
    757 //
    758 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    759 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    760 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    761 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    762 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    763 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    764 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    765 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    766 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    767 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    768 // SUCH DAMAGE.
    769 //
    770 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    771 
    772 // pthread opaque structures
    773 
    774 type X__darwin_pthread_handler_rec = struct {
    775 	F__routine uintptr
    776 	F__arg     uintptr
    777 	F__next    uintptr
    778 } /* _pthread_types.h:57:1 */
    779 
    780 type X_opaque_pthread_attr_t = struct {
    781 	F__sig    int64
    782 	F__opaque [56]int8
    783 } /* _pthread_types.h:63:1 */
    784 
    785 type X_opaque_pthread_cond_t = struct {
    786 	F__sig    int64
    787 	F__opaque [40]int8
    788 } /* _pthread_types.h:68:1 */
    789 
    790 type X_opaque_pthread_condattr_t = struct {
    791 	F__sig    int64
    792 	F__opaque [8]int8
    793 } /* _pthread_types.h:73:1 */
    794 
    795 type X_opaque_pthread_mutex_t = struct {
    796 	F__sig    int64
    797 	F__opaque [56]int8
    798 } /* _pthread_types.h:78:1 */
    799 
    800 type X_opaque_pthread_mutexattr_t = struct {
    801 	F__sig    int64
    802 	F__opaque [8]int8
    803 } /* _pthread_types.h:83:1 */
    804 
    805 type X_opaque_pthread_once_t = struct {
    806 	F__sig    int64
    807 	F__opaque [8]int8
    808 } /* _pthread_types.h:88:1 */
    809 
    810 type X_opaque_pthread_rwlock_t = struct {
    811 	F__sig    int64
    812 	F__opaque [192]int8
    813 } /* _pthread_types.h:93:1 */
    814 
    815 type X_opaque_pthread_rwlockattr_t = struct {
    816 	F__sig    int64
    817 	F__opaque [16]int8
    818 } /* _pthread_types.h:98:1 */
    819 
    820 type X_opaque_pthread_t = struct {
    821 	F__sig           int64
    822 	F__cleanup_stack uintptr
    823 	F__opaque        [8176]int8
    824 } /* _pthread_types.h:103:1 */
    825 
    826 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
    827 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
    828 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
    829 type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
    830 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
    831 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
    832 type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
    833 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
    834 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
    835 type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
    836 
    837 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    838 //
    839 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    840 //
    841 // This file contains Original Code and/or Modifications of Original Code
    842 // as defined in and that are subject to the Apple Public Source License
    843 // Version 2.0 (the 'License'). You may not use this file except in
    844 // compliance with the License. The rights granted to you under the License
    845 // may not be used to create, or enable the creation or redistribution of,
    846 // unlawful or unlicensed copies of an Apple operating system, or to
    847 // circumvent, violate, or enable the circumvention or violation of, any
    848 // terms of an Apple operating system software license agreement.
    849 //
    850 // Please obtain a copy of the License at
    851 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    852 //
    853 // The Original Code and all software distributed under the License are
    854 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    855 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    856 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    857 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    858 // Please see the License for the specific language governing rights and
    859 // limitations under the License.
    860 //
    861 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    862 
    863 type X__darwin_nl_item = int32        /* _types.h:40:14 */
    864 type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
    865 type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
    866 
    867 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    868 //
    869 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    870 //
    871 // This file contains Original Code and/or Modifications of Original Code
    872 // as defined in and that are subject to the Apple Public Source License
    873 // Version 2.0 (the 'License'). You may not use this file except in
    874 // compliance with the License. The rights granted to you under the License
    875 // may not be used to create, or enable the creation or redistribution of,
    876 // unlawful or unlicensed copies of an Apple operating system, or to
    877 // circumvent, violate, or enable the circumvention or violation of, any
    878 // terms of an Apple operating system software license agreement.
    879 //
    880 // Please obtain a copy of the License at
    881 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    882 //
    883 // The Original Code and all software distributed under the License are
    884 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    885 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    886 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    887 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    888 // Please see the License for the specific language governing rights and
    889 // limitations under the License.
    890 //
    891 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    892 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    893 // Copyright (c) 1991, 1993
    894 //	The Regents of the University of California.  All rights reserved.
    895 //
    896 // This code is derived from software contributed to Berkeley by
    897 // Berkeley Software Design, Inc.
    898 //
    899 // Redistribution and use in source and binary forms, with or without
    900 // modification, are permitted provided that the following conditions
    901 // are met:
    902 // 1. Redistributions of source code must retain the above copyright
    903 //    notice, this list of conditions and the following disclaimer.
    904 // 2. Redistributions in binary form must reproduce the above copyright
    905 //    notice, this list of conditions and the following disclaimer in the
    906 //    documentation and/or other materials provided with the distribution.
    907 // 3. All advertising materials mentioning features or use of this software
    908 //    must display the following acknowledgement:
    909 //	This product includes software developed by the University of
    910 //	California, Berkeley and its contributors.
    911 // 4. Neither the name of the University nor the names of its contributors
    912 //    may be used to endorse or promote products derived from this software
    913 //    without specific prior written permission.
    914 //
    915 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    916 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    917 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    918 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    919 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    920 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    921 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    922 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    923 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    924 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    925 // SUCH DAMAGE.
    926 //
    927 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    928 
    929 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
    930 //
    931 // @APPLE_LICENSE_HEADER_START@
    932 //
    933 // This file contains Original Code and/or Modifications of Original Code
    934 // as defined in and that are subject to the Apple Public Source License
    935 // Version 2.0 (the 'License'). You may not use this file except in
    936 // compliance with the License. Please obtain a copy of the License at
    937 // http://www.opensource.apple.com/apsl/ and read it before using this
    938 // file.
    939 //
    940 // The Original Code and all software distributed under the License are
    941 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    942 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    943 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    944 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    945 // Please see the License for the specific language governing rights and
    946 // limitations under the License.
    947 //
    948 // @APPLE_LICENSE_HEADER_END@
    949 
    950 //
    951 //     These macros are for use in OS header files. They enable function prototypes
    952 //     and Objective-C methods to be tagged with the OS version in which they
    953 //     were first available; and, if applicable, the OS version in which they
    954 //     became deprecated.
    955 //
    956 //     The desktop Mac OS X and iOS each have different version numbers.
    957 //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
    958 //     and iOS version numbers.  For instance:
    959 //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
    960 //     means the function/method was first available on Mac OS X 10.2 on the desktop
    961 //     and first available in iOS 2.0 on the iPhone.
    962 //
    963 //     If a function is available on one platform, but not the other a _NA (not
    964 //     applicable) parameter is used.  For instance:
    965 //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
    966 //     means that the function/method was first available on Mac OS X 10.3, and it
    967 //     currently not implemented on the iPhone.
    968 //
    969 //     At some point, a function/method may be deprecated.  That means Apple
    970 //     recommends applications stop using the function, either because there is a
    971 //     better replacement or the functionality is being phased out.  Deprecated
    972 //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
    973 //     macro which specifies the OS version where the function became available
    974 //     as well as the OS version in which it became deprecated.  For instance:
    975 //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
    976 //     means that the function/method was introduced in Mac OS X 10.0, then
    977 //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
    978 //     has never been available.
    979 //
    980 //     For these macros to function properly, a program must specify the OS version range
    981 //     it is targeting.  The min OS version is specified as an option to the compiler:
    982 //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
    983 //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
    984 //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
    985 //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
    986 //
    987 //     Examples:
    988 //
    989 //         A function available in Mac OS X 10.5 and later, but not on the phone:
    990 //
    991 //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
    992 //
    993 //
    994 //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
    995 //
    996 //             @interface MyClass : NSObject
    997 //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
    998 //             @end
    999 //
   1000 //
   1001 //         An enum available on the phone, but not available on Mac OS X:
   1002 //
   1003 //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
   1004 //                 enum { myEnum = 1 };
   1005 //             #endif
   1006 //            Note: this works when targeting the Mac OS X platform because
   1007 //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
   1008 //
   1009 //
   1010 //         An enum with values added in different iPhoneOS versions:
   1011 //
   1012 // 			enum {
   1013 // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
   1014 // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
   1015 // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
   1016 // 				...
   1017 // 		      Note: you do not want to use #if with enumeration values
   1018 // 			  when a client needs to see all values at compile time
   1019 // 			  and use runtime logic to only use the viable values.
   1020 //
   1021 //
   1022 //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
   1023 //     source base that can be compiled to target a range of OS versions.  It is best
   1024 //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
   1025 //     That is because you might get compiled on an old OS that does not define a later
   1026 //     OS version macro, and in the C preprocessor undefined values evaluate to zero
   1027 //     in expresssions, which could cause the #if expression to evaluate in an unexpected
   1028 //     way.
   1029 //
   1030 //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
   1031 //             // code only compiled when targeting Mac OS X and not iPhone
   1032 //             // note use of 1050 instead of __MAC_10_5
   1033 //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
   1034 //                 // code in here might run on pre-Leopard OS
   1035 //             #else
   1036 //                 // code here can assume Leopard or later
   1037 //             #endif
   1038 //         #endif
   1039 //
   1040 //
   1041 
   1042 // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
   1043 // in an upcoming release. This soft deprecation is an intermediate step before formal
   1044 // deprecation to notify developers about the API before compiler warnings are generated.
   1045 // You can find all places in your code that use soft deprecated API by redefining the
   1046 // value of this macro to your current minimum deployment target, for example:
   1047 // (macOS)
   1048 //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
   1049 // (iOS)
   1050 //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
   1051 
   1052 // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
   1053 
   1054 // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
   1055 
   1056 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   1057 //
   1058 // @APPLE_LICENSE_HEADER_START@
   1059 //
   1060 // This file contains Original Code and/or Modifications of Original Code
   1061 // as defined in and that are subject to the Apple Public Source License
   1062 // Version 2.0 (the 'License'). You may not use this file except in
   1063 // compliance with the License. Please obtain a copy of the License at
   1064 // http://www.opensource.apple.com/apsl/ and read it before using this
   1065 // file.
   1066 //
   1067 // The Original Code and all software distributed under the License are
   1068 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1069 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1070 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1071 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1072 // Please see the License for the specific language governing rights and
   1073 // limitations under the License.
   1074 //
   1075 // @APPLE_LICENSE_HEADER_END@
   1076 
   1077 //
   1078 //     File:       AvailabilityInternal.h
   1079 //
   1080 //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
   1081 //
   1082 
   1083 // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   1084 
   1085 // make sure a default max version is set
   1086 
   1087 //
   1088 //  Macros for defining which versions/platform a given symbol can be used.
   1089 //
   1090 //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
   1091 //
   1092 
   1093 // Evaluate to nothing for compilers that don't support availability.
   1094 
   1095 // Swift compiler version
   1096 // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
   1097 // Example:
   1098 //
   1099 //  #if __swift_compiler_version_at_least(800, 2, 20)
   1100 //  - (nonnull NSString *)description;
   1101 //  #else
   1102 //  - (NSString *)description;
   1103 //  #endif
   1104 
   1105 // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
   1106 
   1107 // for use to document app extension usage
   1108 
   1109 // for use marking APIs available info for Mac OSX
   1110 
   1111 // for use marking APIs available info for iOS
   1112 
   1113 // for use marking APIs available info for tvOS
   1114 
   1115 // for use marking APIs available info for Watch OS
   1116 
   1117 // for use marking APIs unavailable for swift
   1118 
   1119 //
   1120 //  Macros for defining which versions/platform a given symbol can be used.
   1121 //
   1122 //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
   1123 //
   1124 //  * Note that these macros are only compatible with clang compilers that
   1125 //  * support the following target selection options:
   1126 //  *
   1127 //  * -mmacosx-version-min
   1128 //  * -miphoneos-version-min
   1129 //  * -mwatchos-version-min
   1130 //  * -mtvos-version-min
   1131 //
   1132 
   1133 // Evaluate to nothing for compilers that don't support availability.
   1134 
   1135 // If SPI decorations have not been defined elsewhere, disable them.
   1136 
   1137 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1138 //
   1139 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1140 //
   1141 // This file contains Original Code and/or Modifications of Original Code
   1142 // as defined in and that are subject to the Apple Public Source License
   1143 // Version 2.0 (the 'License'). You may not use this file except in
   1144 // compliance with the License. The rights granted to you under the License
   1145 // may not be used to create, or enable the creation or redistribution of,
   1146 // unlawful or unlicensed copies of an Apple operating system, or to
   1147 // circumvent, violate, or enable the circumvention or violation of, any
   1148 // terms of an Apple operating system software license agreement.
   1149 //
   1150 // Please obtain a copy of the License at
   1151 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1152 //
   1153 // The Original Code and all software distributed under the License are
   1154 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1155 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1156 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1157 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1158 // Please see the License for the specific language governing rights and
   1159 // limitations under the License.
   1160 //
   1161 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1162 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1163 //
   1164 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1165 //
   1166 // This file contains Original Code and/or Modifications of Original Code
   1167 // as defined in and that are subject to the Apple Public Source License
   1168 // Version 2.0 (the 'License'). You may not use this file except in
   1169 // compliance with the License. The rights granted to you under the License
   1170 // may not be used to create, or enable the creation or redistribution of,
   1171 // unlawful or unlicensed copies of an Apple operating system, or to
   1172 // circumvent, violate, or enable the circumvention or violation of, any
   1173 // terms of an Apple operating system software license agreement.
   1174 //
   1175 // Please obtain a copy of the License at
   1176 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1177 //
   1178 // The Original Code and all software distributed under the License are
   1179 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1180 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1181 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1182 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1183 // Please see the License for the specific language governing rights and
   1184 // limitations under the License.
   1185 //
   1186 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1187 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1188 
   1189 // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   1190 //
   1191 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1192 //
   1193 // This file contains Original Code and/or Modifications of Original Code
   1194 // as defined in and that are subject to the Apple Public Source License
   1195 // Version 2.0 (the 'License'). You may not use this file except in
   1196 // compliance with the License. The rights granted to you under the License
   1197 // may not be used to create, or enable the creation or redistribution of,
   1198 // unlawful or unlicensed copies of an Apple operating system, or to
   1199 // circumvent, violate, or enable the circumvention or violation of, any
   1200 // terms of an Apple operating system software license agreement.
   1201 //
   1202 // Please obtain a copy of the License at
   1203 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1204 //
   1205 // The Original Code and all software distributed under the License are
   1206 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1207 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1208 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1209 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1210 // Please see the License for the specific language governing rights and
   1211 // limitations under the License.
   1212 //
   1213 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1214 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1215 // Copyright (c) 1990, 1993
   1216 //	The Regents of the University of California.  All rights reserved.
   1217 //
   1218 // Redistribution and use in source and binary forms, with or without
   1219 // modification, are permitted provided that the following conditions
   1220 // are met:
   1221 // 1. Redistributions of source code must retain the above copyright
   1222 //    notice, this list of conditions and the following disclaimer.
   1223 // 2. Redistributions in binary form must reproduce the above copyright
   1224 //    notice, this list of conditions and the following disclaimer in the
   1225 //    documentation and/or other materials provided with the distribution.
   1226 // 3. All advertising materials mentioning features or use of this software
   1227 //    must display the following acknowledgement:
   1228 //	This product includes software developed by the University of
   1229 //	California, Berkeley and its contributors.
   1230 // 4. Neither the name of the University nor the names of its contributors
   1231 //    may be used to endorse or promote products derived from this software
   1232 //    without specific prior written permission.
   1233 //
   1234 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1235 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1236 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1237 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1238 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1239 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1240 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1241 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1242 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1243 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1244 // SUCH DAMAGE.
   1245 //
   1246 //	@(#)types.h	8.3 (Berkeley) 1/5/94
   1247 
   1248 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   1249 //
   1250 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1251 //
   1252 // This file contains Original Code and/or Modifications of Original Code
   1253 // as defined in and that are subject to the Apple Public Source License
   1254 // Version 2.0 (the 'License'). You may not use this file except in
   1255 // compliance with the License. The rights granted to you under the License
   1256 // may not be used to create, or enable the creation or redistribution of,
   1257 // unlawful or unlicensed copies of an Apple operating system, or to
   1258 // circumvent, violate, or enable the circumvention or violation of, any
   1259 // terms of an Apple operating system software license agreement.
   1260 //
   1261 // Please obtain a copy of the License at
   1262 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1263 //
   1264 // The Original Code and all software distributed under the License are
   1265 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1266 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1267 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1268 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1269 // Please see the License for the specific language governing rights and
   1270 // limitations under the License.
   1271 //
   1272 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1273 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   1274 //
   1275 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1276 //
   1277 // This file contains Original Code and/or Modifications of Original Code
   1278 // as defined in and that are subject to the Apple Public Source License
   1279 // Version 2.0 (the 'License'). You may not use this file except in
   1280 // compliance with the License. The rights granted to you under the License
   1281 // may not be used to create, or enable the creation or redistribution of,
   1282 // unlawful or unlicensed copies of an Apple operating system, or to
   1283 // circumvent, violate, or enable the circumvention or violation of, any
   1284 // terms of an Apple operating system software license agreement.
   1285 //
   1286 // Please obtain a copy of the License at
   1287 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1288 //
   1289 // The Original Code and all software distributed under the License are
   1290 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1291 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1292 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1293 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1294 // Please see the License for the specific language governing rights and
   1295 // limitations under the License.
   1296 //
   1297 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1298 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1299 // Copyright (c) 1991, 1993
   1300 //	The Regents of the University of California.  All rights reserved.
   1301 //
   1302 // This code is derived from software contributed to Berkeley by
   1303 // Berkeley Software Design, Inc.
   1304 //
   1305 // Redistribution and use in source and binary forms, with or without
   1306 // modification, are permitted provided that the following conditions
   1307 // are met:
   1308 // 1. Redistributions of source code must retain the above copyright
   1309 //    notice, this list of conditions and the following disclaimer.
   1310 // 2. Redistributions in binary form must reproduce the above copyright
   1311 //    notice, this list of conditions and the following disclaimer in the
   1312 //    documentation and/or other materials provided with the distribution.
   1313 // 3. All advertising materials mentioning features or use of this software
   1314 //    must display the following acknowledgement:
   1315 //	This product includes software developed by the University of
   1316 //	California, Berkeley and its contributors.
   1317 // 4. Neither the name of the University nor the names of its contributors
   1318 //    may be used to endorse or promote products derived from this software
   1319 //    without specific prior written permission.
   1320 //
   1321 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1322 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1323 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1324 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1325 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1326 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1327 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1328 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1329 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1330 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1331 // SUCH DAMAGE.
   1332 //
   1333 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1334 
   1335 // Basic integral types.  Omit the typedef if
   1336 // not possible for a machine/compiler combination.
   1337 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1338 //
   1339 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1340 //
   1341 // This file contains Original Code and/or Modifications of Original Code
   1342 // as defined in and that are subject to the Apple Public Source License
   1343 // Version 2.0 (the 'License'). You may not use this file except in
   1344 // compliance with the License. The rights granted to you under the License
   1345 // may not be used to create, or enable the creation or redistribution of,
   1346 // unlawful or unlicensed copies of an Apple operating system, or to
   1347 // circumvent, violate, or enable the circumvention or violation of, any
   1348 // terms of an Apple operating system software license agreement.
   1349 //
   1350 // Please obtain a copy of the License at
   1351 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1352 //
   1353 // The Original Code and all software distributed under the License are
   1354 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1355 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1356 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1357 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1358 // Please see the License for the specific language governing rights and
   1359 // limitations under the License.
   1360 //
   1361 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1362 type Int8_t = int8 /* _int8_t.h:30:33 */
   1363 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1364 //
   1365 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1366 //
   1367 // This file contains Original Code and/or Modifications of Original Code
   1368 // as defined in and that are subject to the Apple Public Source License
   1369 // Version 2.0 (the 'License'). You may not use this file except in
   1370 // compliance with the License. The rights granted to you under the License
   1371 // may not be used to create, or enable the creation or redistribution of,
   1372 // unlawful or unlicensed copies of an Apple operating system, or to
   1373 // circumvent, violate, or enable the circumvention or violation of, any
   1374 // terms of an Apple operating system software license agreement.
   1375 //
   1376 // Please obtain a copy of the License at
   1377 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1378 //
   1379 // The Original Code and all software distributed under the License are
   1380 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1381 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1382 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1383 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1384 // Please see the License for the specific language governing rights and
   1385 // limitations under the License.
   1386 //
   1387 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1388 type Int16_t = int16 /* _int16_t.h:30:33 */
   1389 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1390 //
   1391 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1392 //
   1393 // This file contains Original Code and/or Modifications of Original Code
   1394 // as defined in and that are subject to the Apple Public Source License
   1395 // Version 2.0 (the 'License'). You may not use this file except in
   1396 // compliance with the License. The rights granted to you under the License
   1397 // may not be used to create, or enable the creation or redistribution of,
   1398 // unlawful or unlicensed copies of an Apple operating system, or to
   1399 // circumvent, violate, or enable the circumvention or violation of, any
   1400 // terms of an Apple operating system software license agreement.
   1401 //
   1402 // Please obtain a copy of the License at
   1403 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1404 //
   1405 // The Original Code and all software distributed under the License are
   1406 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1407 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1408 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1409 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1410 // Please see the License for the specific language governing rights and
   1411 // limitations under the License.
   1412 //
   1413 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1414 type Int32_t = int32 /* _int32_t.h:30:33 */
   1415 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1416 //
   1417 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1418 //
   1419 // This file contains Original Code and/or Modifications of Original Code
   1420 // as defined in and that are subject to the Apple Public Source License
   1421 // Version 2.0 (the 'License'). You may not use this file except in
   1422 // compliance with the License. The rights granted to you under the License
   1423 // may not be used to create, or enable the creation or redistribution of,
   1424 // unlawful or unlicensed copies of an Apple operating system, or to
   1425 // circumvent, violate, or enable the circumvention or violation of, any
   1426 // terms of an Apple operating system software license agreement.
   1427 //
   1428 // Please obtain a copy of the License at
   1429 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1430 //
   1431 // The Original Code and all software distributed under the License are
   1432 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1433 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1434 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1435 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1436 // Please see the License for the specific language governing rights and
   1437 // limitations under the License.
   1438 //
   1439 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1440 type Int64_t = int64 /* _int64_t.h:30:33 */
   1441 
   1442 // Copyright (c) 2016 Apple Inc. All rights reserved.
   1443 //
   1444 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1445 //
   1446 // This file contains Original Code and/or Modifications of Original Code
   1447 // as defined in and that are subject to the Apple Public Source License
   1448 // Version 2.0 (the 'License'). You may not use this file except in
   1449 // compliance with the License. The rights granted to you under the License
   1450 // may not be used to create, or enable the creation or redistribution of,
   1451 // unlawful or unlicensed copies of an Apple operating system, or to
   1452 // circumvent, violate, or enable the circumvention or violation of, any
   1453 // terms of an Apple operating system software license agreement.
   1454 //
   1455 // Please obtain a copy of the License at
   1456 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1457 //
   1458 // The Original Code and all software distributed under the License are
   1459 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1460 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1461 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1462 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1463 // Please see the License for the specific language governing rights and
   1464 // limitations under the License.
   1465 //
   1466 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1467 type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
   1468 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1469 //
   1470 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1471 //
   1472 // This file contains Original Code and/or Modifications of Original Code
   1473 // as defined in and that are subject to the Apple Public Source License
   1474 // Version 2.0 (the 'License'). You may not use this file except in
   1475 // compliance with the License. The rights granted to you under the License
   1476 // may not be used to create, or enable the creation or redistribution of,
   1477 // unlawful or unlicensed copies of an Apple operating system, or to
   1478 // circumvent, violate, or enable the circumvention or violation of, any
   1479 // terms of an Apple operating system software license agreement.
   1480 //
   1481 // Please obtain a copy of the License at
   1482 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1483 //
   1484 // The Original Code and all software distributed under the License are
   1485 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1486 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1487 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1488 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1489 // Please see the License for the specific language governing rights and
   1490 // limitations under the License.
   1491 //
   1492 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1493 type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
   1494 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1495 //
   1496 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1497 //
   1498 // This file contains Original Code and/or Modifications of Original Code
   1499 // as defined in and that are subject to the Apple Public Source License
   1500 // Version 2.0 (the 'License'). You may not use this file except in
   1501 // compliance with the License. The rights granted to you under the License
   1502 // may not be used to create, or enable the creation or redistribution of,
   1503 // unlawful or unlicensed copies of an Apple operating system, or to
   1504 // circumvent, violate, or enable the circumvention or violation of, any
   1505 // terms of an Apple operating system software license agreement.
   1506 //
   1507 // Please obtain a copy of the License at
   1508 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1509 //
   1510 // The Original Code and all software distributed under the License are
   1511 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1512 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1513 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1514 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1515 // Please see the License for the specific language governing rights and
   1516 // limitations under the License.
   1517 //
   1518 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1519 type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
   1520 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1521 //
   1522 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1523 //
   1524 // This file contains Original Code and/or Modifications of Original Code
   1525 // as defined in and that are subject to the Apple Public Source License
   1526 // Version 2.0 (the 'License'). You may not use this file except in
   1527 // compliance with the License. The rights granted to you under the License
   1528 // may not be used to create, or enable the creation or redistribution of,
   1529 // unlawful or unlicensed copies of an Apple operating system, or to
   1530 // circumvent, violate, or enable the circumvention or violation of, any
   1531 // terms of an Apple operating system software license agreement.
   1532 //
   1533 // Please obtain a copy of the License at
   1534 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1535 //
   1536 // The Original Code and all software distributed under the License are
   1537 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1538 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1539 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1540 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1541 // Please see the License for the specific language governing rights and
   1542 // limitations under the License.
   1543 //
   1544 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1545 type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
   1546 
   1547 type Register_t = Int64_t /* types.h:87:33 */
   1548 
   1549 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1550 //
   1551 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1552 //
   1553 // This file contains Original Code and/or Modifications of Original Code
   1554 // as defined in and that are subject to the Apple Public Source License
   1555 // Version 2.0 (the 'License'). You may not use this file except in
   1556 // compliance with the License. The rights granted to you under the License
   1557 // may not be used to create, or enable the creation or redistribution of,
   1558 // unlawful or unlicensed copies of an Apple operating system, or to
   1559 // circumvent, violate, or enable the circumvention or violation of, any
   1560 // terms of an Apple operating system software license agreement.
   1561 //
   1562 // Please obtain a copy of the License at
   1563 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1564 //
   1565 // The Original Code and all software distributed under the License are
   1566 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1567 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1568 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1569 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1570 // Please see the License for the specific language governing rights and
   1571 // limitations under the License.
   1572 //
   1573 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1574 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1575 //
   1576 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1577 //
   1578 // This file contains Original Code and/or Modifications of Original Code
   1579 // as defined in and that are subject to the Apple Public Source License
   1580 // Version 2.0 (the 'License'). You may not use this file except in
   1581 // compliance with the License. The rights granted to you under the License
   1582 // may not be used to create, or enable the creation or redistribution of,
   1583 // unlawful or unlicensed copies of an Apple operating system, or to
   1584 // circumvent, violate, or enable the circumvention or violation of, any
   1585 // terms of an Apple operating system software license agreement.
   1586 //
   1587 // Please obtain a copy of the License at
   1588 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1589 //
   1590 // The Original Code and all software distributed under the License are
   1591 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1592 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1593 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1594 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1595 // Please see the License for the specific language governing rights and
   1596 // limitations under the License.
   1597 //
   1598 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1599 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1600 
   1601 type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
   1602 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1603 //
   1604 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1605 //
   1606 // This file contains Original Code and/or Modifications of Original Code
   1607 // as defined in and that are subject to the Apple Public Source License
   1608 // Version 2.0 (the 'License'). You may not use this file except in
   1609 // compliance with the License. The rights granted to you under the License
   1610 // may not be used to create, or enable the creation or redistribution of,
   1611 // unlawful or unlicensed copies of an Apple operating system, or to
   1612 // circumvent, violate, or enable the circumvention or violation of, any
   1613 // terms of an Apple operating system software license agreement.
   1614 //
   1615 // Please obtain a copy of the License at
   1616 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1617 //
   1618 // The Original Code and all software distributed under the License are
   1619 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1620 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1621 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1622 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1623 // Please see the License for the specific language governing rights and
   1624 // limitations under the License.
   1625 //
   1626 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1627 type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
   1628 
   1629 // These types are used for reserving the largest possible size.
   1630 type User_addr_t = U_int64_t  /* types.h:97:33 */
   1631 type User_size_t = U_int64_t  /* types.h:98:33 */
   1632 type User_ssize_t = Int64_t   /* types.h:99:33 */
   1633 type User_long_t = Int64_t    /* types.h:100:33 */
   1634 type User_ulong_t = U_int64_t /* types.h:101:33 */
   1635 type User_time_t = Int64_t    /* types.h:102:33 */
   1636 type User_off_t = Int64_t     /* types.h:103:33 */
   1637 
   1638 // This defines the size of syscall arguments after copying into the kernel:
   1639 type Syscall_arg_t = U_int64_t /* types.h:111:33 */
   1640 
   1641 type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
   1642 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1643 //
   1644 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1645 //
   1646 // This file contains Original Code and/or Modifications of Original Code
   1647 // as defined in and that are subject to the Apple Public Source License
   1648 // Version 2.0 (the 'License'). You may not use this file except in
   1649 // compliance with the License. The rights granted to you under the License
   1650 // may not be used to create, or enable the creation or redistribution of,
   1651 // unlawful or unlicensed copies of an Apple operating system, or to
   1652 // circumvent, violate, or enable the circumvention or violation of, any
   1653 // terms of an Apple operating system software license agreement.
   1654 //
   1655 // Please obtain a copy of the License at
   1656 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1657 //
   1658 // The Original Code and all software distributed under the License are
   1659 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1660 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1661 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1662 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1663 // Please see the License for the specific language governing rights and
   1664 // limitations under the License.
   1665 //
   1666 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1667 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1668 //
   1669 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1670 //
   1671 // This file contains Original Code and/or Modifications of Original Code
   1672 // as defined in and that are subject to the Apple Public Source License
   1673 // Version 2.0 (the 'License'). You may not use this file except in
   1674 // compliance with the License. The rights granted to you under the License
   1675 // may not be used to create, or enable the creation or redistribution of,
   1676 // unlawful or unlicensed copies of an Apple operating system, or to
   1677 // circumvent, violate, or enable the circumvention or violation of, any
   1678 // terms of an Apple operating system software license agreement.
   1679 //
   1680 // Please obtain a copy of the License at
   1681 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1682 //
   1683 // The Original Code and all software distributed under the License are
   1684 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1685 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1686 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1687 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1688 // Please see the License for the specific language governing rights and
   1689 // limitations under the License.
   1690 //
   1691 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1692 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1693 type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
   1694 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1695 //
   1696 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1697 //
   1698 // This file contains Original Code and/or Modifications of Original Code
   1699 // as defined in and that are subject to the Apple Public Source License
   1700 // Version 2.0 (the 'License'). You may not use this file except in
   1701 // compliance with the License. The rights granted to you under the License
   1702 // may not be used to create, or enable the creation or redistribution of,
   1703 // unlawful or unlicensed copies of an Apple operating system, or to
   1704 // circumvent, violate, or enable the circumvention or violation of, any
   1705 // terms of an Apple operating system software license agreement.
   1706 //
   1707 // Please obtain a copy of the License at
   1708 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1709 //
   1710 // The Original Code and all software distributed under the License are
   1711 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1712 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1713 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1714 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1715 // Please see the License for the specific language governing rights and
   1716 // limitations under the License.
   1717 //
   1718 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1719 
   1720 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1721 //
   1722 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1723 //
   1724 // This file contains Original Code and/or Modifications of Original Code
   1725 // as defined in and that are subject to the Apple Public Source License
   1726 // Version 2.0 (the 'License'). You may not use this file except in
   1727 // compliance with the License. The rights granted to you under the License
   1728 // may not be used to create, or enable the creation or redistribution of,
   1729 // unlawful or unlicensed copies of an Apple operating system, or to
   1730 // circumvent, violate, or enable the circumvention or violation of, any
   1731 // terms of an Apple operating system software license agreement.
   1732 //
   1733 // Please obtain a copy of the License at
   1734 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1735 //
   1736 // The Original Code and all software distributed under the License are
   1737 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1738 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1739 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1740 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1741 // Please see the License for the specific language governing rights and
   1742 // limitations under the License.
   1743 //
   1744 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1745 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1746 
   1747 type Timespec = struct {
   1748 	Ftv_sec  X__darwin_time_t
   1749 	Ftv_nsec int64
   1750 } /* _timespec.h:33:1 */
   1751 
   1752 type Tm = struct {
   1753 	Ftm_sec      int32
   1754 	Ftm_min      int32
   1755 	Ftm_hour     int32
   1756 	Ftm_mday     int32
   1757 	Ftm_mon      int32
   1758 	Ftm_year     int32
   1759 	Ftm_wday     int32
   1760 	Ftm_yday     int32
   1761 	Ftm_isdst    int32
   1762 	F__ccgo_pad1 [4]byte
   1763 	Ftm_gmtoff   int64
   1764 	Ftm_zone     uintptr
   1765 } /* time.h:75:1 */
   1766 
   1767 type Clockid_t = uint32 /* time.h:172:3 */
   1768 
   1769 var _ int8 /* gen.c:2:13: */