github.com/afumu/libc@v0.0.6/utime/utime_darwin_amd64.go (about)

     1  // Code generated by 'ccgo utime/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 utime/utime_darwin_amd64.go -pkgname utime', DO NOT EDIT.
     2  
     3  package utime
     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  	X_BSD_I386__TYPES_H_                   = 0  // _types.h:29:1:
    19  	X_BSD_MACHINE_TYPES_H_                 = 0  // types.h:32:1:
    20  	X_BSD_MACHINE__TYPES_H_                = 0  // _types.h:29:1:
    21  	X_CDEFS_H_                             = 0  // cdefs.h:68:1:
    22  	X_DARWIN_FEATURE_64_BIT_INODE          = 1  // cdefs.h:745:1:
    23  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1  // cdefs.h:771:1:
    24  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3  // cdefs.h:779:1:
    25  	X_FILE_OFFSET_BITS                     = 64 // <builtin>:25:1:
    26  	X_FORTIFY_SOURCE                       = 2  // _types.h:65:1:
    27  	X_INT16_T                              = 0  // _int16_t.h:29:1:
    28  	X_INT32_T                              = 0  // _int32_t.h:29:1:
    29  	X_INT64_T                              = 0  // _int64_t.h:29:1:
    30  	X_INT8_T                               = 0  // _int8_t.h:29:1:
    31  	X_INTPTR_T                             = 0  // _intptr_t.h:29:1:
    32  	X_LP64                                 = 1  // <predefined>:1:1:
    33  	X_MACHTYPES_H_                         = 0  // types.h:67:1:
    34  	X_Nonnull                              = 0  // cdefs.h:243:1:
    35  	X_Null_unspecified                     = 0  // cdefs.h:246:1:
    36  	X_Nullable                             = 0  // cdefs.h:240:1:
    37  	X_SYS__PTHREAD_TYPES_H_                = 0  // _pthread_types.h:30:1:
    38  	X_SYS__TYPES_H_                        = 0  // _types.h:30:1:
    39  	X_TIME_T                               = 0  // _time_t.h:29:1:
    40  	X_UINTPTR_T                            = 0  // _uintptr_t.h:29:1:
    41  	X_UTIME_H_                             = 0  // utime.h:59:1:
    42  	X_U_INT16_T                            = 0  // _u_int16_t.h:29:1:
    43  	X_U_INT32_T                            = 0  // _u_int32_t.h:29:1:
    44  	X_U_INT64_T                            = 0  // _u_int64_t.h:29:1:
    45  	X_U_INT8_T                             = 0  // _u_int8_t.h:29:1:
    46  )
    47  
    48  type Ptrdiff_t = int64 /* <builtin>:3:26 */
    49  
    50  type Size_t = uint64 /* <builtin>:9:23 */
    51  
    52  type Wchar_t = int32 /* <builtin>:15:24 */
    53  
    54  type X__int128_t = struct {
    55  	Flo int64
    56  	Fhi int64
    57  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    58  type X__uint128_t = struct {
    59  	Flo uint64
    60  	Fhi uint64
    61  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    62  
    63  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    64  type X__float128 = float64        /* <builtin>:47:21 */
    65  
    66  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
    67  
    68  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
    69  //
    70  // @APPLE_LICENSE_HEADER_START@
    71  //
    72  // This file contains Original Code and/or Modifications of Original Code
    73  // as defined in and that are subject to the Apple Public Source License
    74  // Version 2.0 (the 'License'). You may not use this file except in
    75  // compliance with the License. Please obtain a copy of the License at
    76  // http://www.opensource.apple.com/apsl/ and read it before using this
    77  // file.
    78  //
    79  // The Original Code and all software distributed under the License are
    80  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    81  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    82  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    83  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    84  // Please see the License for the specific language governing rights and
    85  // limitations under the License.
    86  //
    87  // @APPLE_LICENSE_HEADER_END@
    88  // -
    89  // Copyright (c) 1990, 1993
    90  //	The Regents of the University of California.  All rights reserved.
    91  //
    92  // Redistribution and use in source and binary forms, with or without
    93  // modification, are permitted provided that the following conditions
    94  // are met:
    95  // 1. Redistributions of source code must retain the above copyright
    96  //    notice, this list of conditions and the following disclaimer.
    97  // 2. Redistributions in binary form must reproduce the above copyright
    98  //    notice, this list of conditions and the following disclaimer in the
    99  //    documentation and/or other materials provided with the distribution.
   100  // 3. All advertising materials mentioning features or use of this software
   101  //    must display the following acknowledgement:
   102  //	This product includes software developed by the University of
   103  //	California, Berkeley and its contributors.
   104  // 4. Neither the name of the University nor the names of its contributors
   105  //    may be used to endorse or promote products derived from this software
   106  //    without specific prior written permission.
   107  //
   108  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   109  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   110  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   111  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   112  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   113  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   114  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   115  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   116  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   117  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   118  // SUCH DAMAGE.
   119  //
   120  //	@(#)utime.h	8.1 (Berkeley) 6/2/93
   121  
   122  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
   123  //
   124  // @APPLE_LICENSE_HEADER_START@
   125  //
   126  // This file contains Original Code and/or Modifications of Original Code
   127  // as defined in and that are subject to the Apple Public Source License
   128  // Version 2.0 (the 'License'). You may not use this file except in
   129  // compliance with the License. Please obtain a copy of the License at
   130  // http://www.opensource.apple.com/apsl/ and read it before using this
   131  // file.
   132  //
   133  // The Original Code and all software distributed under the License are
   134  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   135  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   136  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   137  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   138  // Please see the License for the specific language governing rights and
   139  // limitations under the License.
   140  //
   141  // @APPLE_LICENSE_HEADER_END@
   142  
   143  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   144  //
   145  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   146  //
   147  // This file contains Original Code and/or Modifications of Original Code
   148  // as defined in and that are subject to the Apple Public Source License
   149  // Version 2.0 (the 'License'). You may not use this file except in
   150  // compliance with the License. The rights granted to you under the License
   151  // may not be used to create, or enable the creation or redistribution of,
   152  // unlawful or unlicensed copies of an Apple operating system, or to
   153  // circumvent, violate, or enable the circumvention or violation of, any
   154  // terms of an Apple operating system software license agreement.
   155  //
   156  // Please obtain a copy of the License at
   157  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   158  //
   159  // The Original Code and all software distributed under the License are
   160  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   161  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   162  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   163  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   164  // Please see the License for the specific language governing rights and
   165  // limitations under the License.
   166  //
   167  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   168  
   169  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   170  //
   171  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   172  //
   173  // This file contains Original Code and/or Modifications of Original Code
   174  // as defined in and that are subject to the Apple Public Source License
   175  // Version 2.0 (the 'License'). You may not use this file except in
   176  // compliance with the License. The rights granted to you under the License
   177  // may not be used to create, or enable the creation or redistribution of,
   178  // unlawful or unlicensed copies of an Apple operating system, or to
   179  // circumvent, violate, or enable the circumvention or violation of, any
   180  // terms of an Apple operating system software license agreement.
   181  //
   182  // Please obtain a copy of the License at
   183  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   184  //
   185  // The Original Code and all software distributed under the License are
   186  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   187  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   188  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   189  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   190  // Please see the License for the specific language governing rights and
   191  // limitations under the License.
   192  //
   193  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   194  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   195  // Copyright (c) 1991, 1993
   196  //	The Regents of the University of California.  All rights reserved.
   197  //
   198  // This code is derived from software contributed to Berkeley by
   199  // Berkeley Software Design, Inc.
   200  //
   201  // Redistribution and use in source and binary forms, with or without
   202  // modification, are permitted provided that the following conditions
   203  // are met:
   204  // 1. Redistributions of source code must retain the above copyright
   205  //    notice, this list of conditions and the following disclaimer.
   206  // 2. Redistributions in binary form must reproduce the above copyright
   207  //    notice, this list of conditions and the following disclaimer in the
   208  //    documentation and/or other materials provided with the distribution.
   209  // 3. All advertising materials mentioning features or use of this software
   210  //    must display the following acknowledgement:
   211  //	This product includes software developed by the University of
   212  //	California, Berkeley and its contributors.
   213  // 4. Neither the name of the University nor the names of its contributors
   214  //    may be used to endorse or promote products derived from this software
   215  //    without specific prior written permission.
   216  //
   217  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   218  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   219  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   220  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   221  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   222  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   223  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   224  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   225  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   226  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   227  // SUCH DAMAGE.
   228  //
   229  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   230  
   231  // This SDK is designed to work with clang and specific versions of
   232  // gcc >= 4.0 with Apple's patch sets
   233  
   234  // Compatibility with compilers and environments that don't support compiler
   235  // feature checking function-like macros.
   236  
   237  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   238  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   239  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   240  // in between its arguments.  __CONCAT can also concatenate double-quoted
   241  // strings produced by the __STRING macro, but this only works with ANSI C.
   242  
   243  // In non-ANSI C environments, new programs will want ANSI-only C keywords
   244  // deleted from the program and old programs will want them left alone.
   245  // When using a compiler other than gcc, programs using the ANSI C keywords
   246  // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
   247  // When using "gcc -traditional", we assume that this is the intent; if
   248  // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
   249  
   250  // __unused denotes variables and functions that may not be used, preventing
   251  // the compiler from warning about it if not used.
   252  
   253  // __used forces variables and functions to be included even if it appears
   254  // to the compiler that they are not used (and would thust be discarded).
   255  
   256  // __cold marks code used for debugging or that is rarely taken
   257  // and tells the compiler to optimize for size and outline code.
   258  
   259  // __deprecated causes the compiler to produce a warning when encountering
   260  // code using the deprecated functionality.
   261  // __deprecated_msg() does the same, and compilers that support it will print
   262  // a message along with the deprecation warning.
   263  // This may require turning on such warning with the -Wdeprecated flag.
   264  // __deprecated_enum_msg() should be used on enums, and compilers that support
   265  // it will print the deprecation warning.
   266  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   267  // interfaces in Kernel.framework used by KEXTs.
   268  
   269  // __unavailable causes the compiler to error out when encountering
   270  // code using the tagged function of variable.
   271  
   272  // Delete pseudo-keywords wherever they are not available or needed.
   273  
   274  // We use `__restrict' as a way to define the `restrict' type qualifier
   275  // without disturbing older software that is unaware of C99 keywords.
   276  
   277  // Compatibility with compilers and environments that don't support the
   278  // nullability feature.
   279  
   280  // __disable_tail_calls causes the compiler to not perform tail call
   281  // optimization inside the marked function.
   282  
   283  // __not_tail_called causes the compiler to prevent tail call optimization
   284  // on statically bound calls to the function.  It has no effect on indirect
   285  // calls.  Virtual functions, objective-c methods, and functions marked as
   286  // "always_inline" cannot be marked as __not_tail_called.
   287  
   288  // __result_use_check warns callers of a function that not using the function
   289  // return value is a bug, i.e. dismissing malloc() return value results in a
   290  // memory leak.
   291  
   292  // __swift_unavailable causes the compiler to mark a symbol as specifically
   293  // unavailable in Swift, regardless of any other availability in C.
   294  
   295  // __abortlike is the attribute to put on functions like abort() that are
   296  // typically used to mark assertions. These optimize the codegen
   297  // for outlining while still maintaining debugability.
   298  
   299  // Declaring inline functions within headers is error-prone due to differences
   300  // across various versions of the C language and extensions.  __header_inline
   301  // can be used to declare inline functions within system headers.  In cases
   302  // where you want to force inlining instead of letting the compiler make
   303  // the decision, you can use __header_always_inline.
   304  //
   305  // Be aware that using inline for functions which compilers may also provide
   306  // builtins can behave differently under various compilers.  If you intend to
   307  // provide an inline version of such a function, you may want to use a macro
   308  // instead.
   309  //
   310  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   311  // support c99 inline in some cases:
   312  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   313  
   314  // Compiler-dependent macros that bracket portions of code where the
   315  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   316  
   317  // Compiler-dependent macros to declare that functions take printf-like
   318  // or scanf-like arguments.  They are null except for versions of gcc
   319  // that are known to support the features properly.  Functions declared
   320  // with these attributes will cause compilation warnings if there is a
   321  // mismatch between the format string and subsequent function parameter
   322  // types.
   323  
   324  // Source compatibility only, ID string not emitted in object file
   325  
   326  // __alloc_size can be used to label function arguments that represent the
   327  // size of memory that the function allocates and returns. The one-argument
   328  // form labels a single argument that gives the allocation size (where the
   329  // arguments are numbered from 1):
   330  //
   331  // void	*malloc(size_t __size) __alloc_size(1);
   332  //
   333  // The two-argument form handles the case where the size is calculated as the
   334  // product of two arguments:
   335  //
   336  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   337  
   338  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   339  //
   340  // DEFAULT	By default newly complied code will get POSIX APIs plus
   341  //		Apple API extensions in scope.
   342  //
   343  //		Most users will use this compilation environment to avoid
   344  //		behavioral differences between 32 and 64 bit code.
   345  //
   346  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   347  //		API extensions in scope.
   348  //
   349  //		This is generally equivalent to the Tiger release compilation
   350  //		environment, except that it cannot be applied to 64 bit code;
   351  //		its use is discouraged.
   352  //
   353  //		We expect this environment to be deprecated in the future.
   354  //
   355  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   356  //		available APIs to exactly the set of APIs defined by the
   357  //		corresponding standard, based on the value defined.
   358  //
   359  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   360  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   361  //
   362  //		Apple API extensions are not visible in this environment,
   363  //		which can cause Apple specific code to fail to compile,
   364  //		or behave incorrectly if prototypes are not in scope or
   365  //		warnings about missing prototypes are not enabled or ignored.
   366  //
   367  // In any compilation environment, for correct symbol resolution to occur,
   368  // function prototypes must be in scope.  It is recommended that all Apple
   369  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   370  // compiler flags to their projects to be warned when a function is being
   371  // used without a prototype in scope.
   372  
   373  // These settings are particular to each product.
   374  // Platform: MacOSX
   375  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
   376  
   377  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   378  // legacy code to use the old symbol, thus maintaining binary compatibility
   379  // while new code can use a standards compliant version of the same function.
   380  //
   381  // __DARWIN_ALIAS is used by itself if the function signature has not
   382  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   383  // if the signature has changed.  Because the __LP64__ environment
   384  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   385  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   386  //
   387  // As a special case, when XCode is used to target a specific version of the
   388  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   389  // will be defined by the compiler, with the digits representing major version
   390  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   391  // pre-10.5, and it is the default compilation environment, revert the
   392  // compilation environment to pre-__DARWIN_UNIX03.
   393  
   394  // symbol suffixes used for symbol versioning
   395  
   396  // symbol versioning macros
   397  
   398  // symbol release macros
   399  // Copyright (c) 2010 Apple Inc. All rights reserved.
   400  //
   401  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   402  //
   403  // This file contains Original Code and/or Modifications of Original Code
   404  // as defined in and that are subject to the Apple Public Source License
   405  // Version 2.0 (the 'License'). You may not use this file except in
   406  // compliance with the License. The rights granted to you under the License
   407  // may not be used to create, or enable the creation or redistribution of,
   408  // unlawful or unlicensed copies of an Apple operating system, or to
   409  // circumvent, violate, or enable the circumvention or violation of, any
   410  // terms of an Apple operating system software license agreement.
   411  //
   412  // Please obtain a copy of the License at
   413  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   414  //
   415  // The Original Code and all software distributed under the License are
   416  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   417  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   418  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   419  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   420  // Please see the License for the specific language governing rights and
   421  // limitations under the License.
   422  //
   423  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   424  
   425  // POSIX.1 requires that the macros we test be defined before any standard
   426  // header file is included.  This permits us to convert values for feature
   427  // testing, as necessary, using only _POSIX_C_SOURCE.
   428  //
   429  // Here's a quick run-down of the versions:
   430  //  defined(_POSIX_SOURCE)		1003.1-1988
   431  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   432  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   433  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   434  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   435  //					and the omnibus ISO/IEC 9945-1: 1996
   436  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   437  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   438  //
   439  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   440  // Specification, defines a feature-test macro which indicates the version of
   441  // that specification, and which subsumes _POSIX_C_SOURCE.
   442  
   443  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   444  
   445  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   446  
   447  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   448  
   449  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   450  // important.
   451  
   452  // POSIX C deprecation macros
   453  // Copyright (c) 2010 Apple Inc. All rights reserved.
   454  //
   455  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   456  //
   457  // This file contains Original Code and/or Modifications of Original Code
   458  // as defined in and that are subject to the Apple Public Source License
   459  // Version 2.0 (the 'License'). You may not use this file except in
   460  // compliance with the License. The rights granted to you under the License
   461  // may not be used to create, or enable the creation or redistribution of,
   462  // unlawful or unlicensed copies of an Apple operating system, or to
   463  // circumvent, violate, or enable the circumvention or violation of, any
   464  // terms of an Apple operating system software license agreement.
   465  //
   466  // Please obtain a copy of the License at
   467  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   468  //
   469  // The Original Code and all software distributed under the License are
   470  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   471  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   472  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   473  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   474  // Please see the License for the specific language governing rights and
   475  // limitations under the License.
   476  //
   477  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   478  
   479  // Set a single macro which will always be defined and can be used to determine
   480  // the appropriate namespace.  For POSIX, these values will correspond to
   481  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   482  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   483  
   484  // If the developer has neither requested a strict language mode nor a version
   485  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   486  // of __DARWIN_C_FULL.
   487  
   488  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   489  // c99 still want long longs.  While not perfect, we allow long longs for
   490  // g++.
   491  
   492  // ****************************************
   493  //
   494  //  Public darwin-specific feature macros
   495  //
   496  
   497  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   498  // structures modified for 64-bit inodes (like struct stat) will be used.
   499  
   500  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   501  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   502  // (and non-zero).  There is no struct stat64 either, as the regular
   503  // struct stat will already be the 64-bit version.
   504  
   505  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   506  // in 10.5 exists; no pre-10.5 variants are available.
   507  
   508  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   509  // are available (the legacy BSD APIs are not available)
   510  
   511  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   512  // and specifies the conformance level (3 is SUSv3)
   513  
   514  // This macro casts away the qualifier from the variable
   515  //
   516  // Note: use at your own risk, removing qualifiers can result in
   517  // catastrophic run-time failures.
   518  
   519  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   520  // used from other compilation units, but not other libraries or executables.
   521  
   522  // Architecture validation for current SDK
   523  
   524  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   525  //
   526  // This provides more advanced type checking on compilers supporting
   527  // the proper extensions, even in C.
   528  
   529  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   530  //
   531  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   532  //
   533  // This file contains Original Code and/or Modifications of Original Code
   534  // as defined in and that are subject to the Apple Public Source License
   535  // Version 2.0 (the 'License'). You may not use this file except in
   536  // compliance with the License. The rights granted to you under the License
   537  // may not be used to create, or enable the creation or redistribution of,
   538  // unlawful or unlicensed copies of an Apple operating system, or to
   539  // circumvent, violate, or enable the circumvention or violation of, any
   540  // terms of an Apple operating system software license agreement.
   541  //
   542  // Please obtain a copy of the License at
   543  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   544  //
   545  // The Original Code and all software distributed under the License are
   546  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   547  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   548  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   549  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   550  // Please see the License for the specific language governing rights and
   551  // limitations under the License.
   552  //
   553  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   554  
   555  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   556  //
   557  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   558  //
   559  // This file contains Original Code and/or Modifications of Original Code
   560  // as defined in and that are subject to the Apple Public Source License
   561  // Version 2.0 (the 'License'). You may not use this file except in
   562  // compliance with the License. The rights granted to you under the License
   563  // may not be used to create, or enable the creation or redistribution of,
   564  // unlawful or unlicensed copies of an Apple operating system, or to
   565  // circumvent, violate, or enable the circumvention or violation of, any
   566  // terms of an Apple operating system software license agreement.
   567  //
   568  // Please obtain a copy of the License at
   569  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   570  //
   571  // The Original Code and all software distributed under the License are
   572  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   573  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   574  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   575  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   576  // Please see the License for the specific language governing rights and
   577  // limitations under the License.
   578  //
   579  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   580  
   581  // This header file contains integer types.  It's intended to also contain
   582  // flotaing point and other arithmetic types, as needed, later.
   583  
   584  type X__int8_t = int8     /* _types.h:37:33 */
   585  type X__uint8_t = uint8   /* _types.h:41:33 */
   586  type X__int16_t = int16   /* _types.h:42:33 */
   587  type X__uint16_t = uint16 /* _types.h:43:33 */
   588  type X__int32_t = int32   /* _types.h:44:33 */
   589  type X__uint32_t = uint32 /* _types.h:45:33 */
   590  type X__int64_t = int64   /* _types.h:46:33 */
   591  type X__uint64_t = uint64 /* _types.h:47:33 */
   592  
   593  type X__darwin_intptr_t = int64   /* _types.h:49:33 */
   594  type X__darwin_natural_t = uint32 /* _types.h:50:33 */
   595  
   596  // The rune type below is declared to be an ``int'' instead of the more natural
   597  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
   598  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
   599  // it looks like 10646 will be a 31 bit standard.  This means that if your
   600  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
   601  // chosen over a long is that the is*() and to*() routines take ints (says
   602  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
   603  // here, you lose a bit of ANSI conformance, but your programs will still
   604  // work.
   605  //
   606  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
   607  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
   608  // rune_t must be the same type.  Also wint_t must be no narrower than
   609  // wchar_t, and should also be able to hold all members of the largest
   610  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
   611  
   612  type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
   613  
   614  // mbstate_t is an opaque object to keep conversion state, during multibyte
   615  // stream conversions.  The content must not be referenced by user programs.
   616  type X__mbstate_t = struct {
   617  	F__ccgo_pad1 [0]uint64
   618  	F__mbstate8  [128]int8
   619  } /* _types.h:79:3 */
   620  
   621  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
   622  
   623  type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
   624  
   625  type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
   626  
   627  type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
   628  
   629  type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
   630  
   631  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
   632  
   633  type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
   634  
   635  type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
   636  type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
   637  type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
   638  type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
   639  
   640  // Type definitions; takes common type definitions that must be used
   641  // in multiple header files due to [XSI], removes them from the system
   642  // space, and puts them in the implementation space.
   643  
   644  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
   645  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
   646  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
   647  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
   648  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
   649  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
   650  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
   651  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
   652  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
   653  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
   654  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
   655  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
   656  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
   657  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
   658  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
   659  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
   660  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
   661  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
   662  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
   663  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
   664  
   665  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
   666  //
   667  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   668  //
   669  // This file contains Original Code and/or Modifications of Original Code
   670  // as defined in and that are subject to the Apple Public Source License
   671  // Version 2.0 (the 'License'). You may not use this file except in
   672  // compliance with the License. The rights granted to you under the License
   673  // may not be used to create, or enable the creation or redistribution of,
   674  // unlawful or unlicensed copies of an Apple operating system, or to
   675  // circumvent, violate, or enable the circumvention or violation of, any
   676  // terms of an Apple operating system software license agreement.
   677  //
   678  // Please obtain a copy of the License at
   679  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   680  //
   681  // The Original Code and all software distributed under the License are
   682  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   683  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   684  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   685  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   686  // Please see the License for the specific language governing rights and
   687  // limitations under the License.
   688  //
   689  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   690  
   691  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   692  //
   693  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   694  //
   695  // This file contains Original Code and/or Modifications of Original Code
   696  // as defined in and that are subject to the Apple Public Source License
   697  // Version 2.0 (the 'License'). You may not use this file except in
   698  // compliance with the License. The rights granted to you under the License
   699  // may not be used to create, or enable the creation or redistribution of,
   700  // unlawful or unlicensed copies of an Apple operating system, or to
   701  // circumvent, violate, or enable the circumvention or violation of, any
   702  // terms of an Apple operating system software license agreement.
   703  //
   704  // Please obtain a copy of the License at
   705  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   706  //
   707  // The Original Code and all software distributed under the License are
   708  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   709  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   710  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   711  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   712  // Please see the License for the specific language governing rights and
   713  // limitations under the License.
   714  //
   715  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   716  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   717  // Copyright (c) 1991, 1993
   718  //	The Regents of the University of California.  All rights reserved.
   719  //
   720  // This code is derived from software contributed to Berkeley by
   721  // Berkeley Software Design, Inc.
   722  //
   723  // Redistribution and use in source and binary forms, with or without
   724  // modification, are permitted provided that the following conditions
   725  // are met:
   726  // 1. Redistributions of source code must retain the above copyright
   727  //    notice, this list of conditions and the following disclaimer.
   728  // 2. Redistributions in binary form must reproduce the above copyright
   729  //    notice, this list of conditions and the following disclaimer in the
   730  //    documentation and/or other materials provided with the distribution.
   731  // 3. All advertising materials mentioning features or use of this software
   732  //    must display the following acknowledgement:
   733  //	This product includes software developed by the University of
   734  //	California, Berkeley and its contributors.
   735  // 4. Neither the name of the University nor the names of its contributors
   736  //    may be used to endorse or promote products derived from this software
   737  //    without specific prior written permission.
   738  //
   739  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   740  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   741  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   742  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   743  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   744  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   745  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   746  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   747  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   748  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   749  // SUCH DAMAGE.
   750  //
   751  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   752  
   753  // pthread opaque structures
   754  
   755  type X__darwin_pthread_handler_rec = struct {
   756  	F__routine uintptr
   757  	F__arg     uintptr
   758  	F__next    uintptr
   759  } /* _pthread_types.h:57:1 */
   760  
   761  type X_opaque_pthread_attr_t = struct {
   762  	F__sig    int64
   763  	F__opaque [56]int8
   764  } /* _pthread_types.h:63:1 */
   765  
   766  type X_opaque_pthread_cond_t = struct {
   767  	F__sig    int64
   768  	F__opaque [40]int8
   769  } /* _pthread_types.h:68:1 */
   770  
   771  type X_opaque_pthread_condattr_t = struct {
   772  	F__sig    int64
   773  	F__opaque [8]int8
   774  } /* _pthread_types.h:73:1 */
   775  
   776  type X_opaque_pthread_mutex_t = struct {
   777  	F__sig    int64
   778  	F__opaque [56]int8
   779  } /* _pthread_types.h:78:1 */
   780  
   781  type X_opaque_pthread_mutexattr_t = struct {
   782  	F__sig    int64
   783  	F__opaque [8]int8
   784  } /* _pthread_types.h:83:1 */
   785  
   786  type X_opaque_pthread_once_t = struct {
   787  	F__sig    int64
   788  	F__opaque [8]int8
   789  } /* _pthread_types.h:88:1 */
   790  
   791  type X_opaque_pthread_rwlock_t = struct {
   792  	F__sig    int64
   793  	F__opaque [192]int8
   794  } /* _pthread_types.h:93:1 */
   795  
   796  type X_opaque_pthread_rwlockattr_t = struct {
   797  	F__sig    int64
   798  	F__opaque [16]int8
   799  } /* _pthread_types.h:98:1 */
   800  
   801  type X_opaque_pthread_t = struct {
   802  	F__sig           int64
   803  	F__cleanup_stack uintptr
   804  	F__opaque        [8176]int8
   805  } /* _pthread_types.h:103:1 */
   806  
   807  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
   808  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
   809  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
   810  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
   811  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
   812  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
   813  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
   814  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
   815  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
   816  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
   817  
   818  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   819  //
   820  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   821  //
   822  // This file contains Original Code and/or Modifications of Original Code
   823  // as defined in and that are subject to the Apple Public Source License
   824  // Version 2.0 (the 'License'). You may not use this file except in
   825  // compliance with the License. The rights granted to you under the License
   826  // may not be used to create, or enable the creation or redistribution of,
   827  // unlawful or unlicensed copies of an Apple operating system, or to
   828  // circumvent, violate, or enable the circumvention or violation of, any
   829  // terms of an Apple operating system software license agreement.
   830  //
   831  // Please obtain a copy of the License at
   832  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   833  //
   834  // The Original Code and all software distributed under the License are
   835  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   836  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   837  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   838  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   839  // Please see the License for the specific language governing rights and
   840  // limitations under the License.
   841  //
   842  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   843  
   844  type X__darwin_nl_item = int32        /* _types.h:40:14 */
   845  type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
   846  type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
   847  
   848  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   849  //
   850  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   851  //
   852  // This file contains Original Code and/or Modifications of Original Code
   853  // as defined in and that are subject to the Apple Public Source License
   854  // Version 2.0 (the 'License'). You may not use this file except in
   855  // compliance with the License. The rights granted to you under the License
   856  // may not be used to create, or enable the creation or redistribution of,
   857  // unlawful or unlicensed copies of an Apple operating system, or to
   858  // circumvent, violate, or enable the circumvention or violation of, any
   859  // terms of an Apple operating system software license agreement.
   860  //
   861  // Please obtain a copy of the License at
   862  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   863  //
   864  // The Original Code and all software distributed under the License are
   865  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   866  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   867  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   868  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   869  // Please see the License for the specific language governing rights and
   870  // limitations under the License.
   871  //
   872  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   873  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   874  //
   875  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   876  //
   877  // This file contains Original Code and/or Modifications of Original Code
   878  // as defined in and that are subject to the Apple Public Source License
   879  // Version 2.0 (the 'License'). You may not use this file except in
   880  // compliance with the License. The rights granted to you under the License
   881  // may not be used to create, or enable the creation or redistribution of,
   882  // unlawful or unlicensed copies of an Apple operating system, or to
   883  // circumvent, violate, or enable the circumvention or violation of, any
   884  // terms of an Apple operating system software license agreement.
   885  //
   886  // Please obtain a copy of the License at
   887  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   888  //
   889  // The Original Code and all software distributed under the License are
   890  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   891  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   892  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   893  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   894  // Please see the License for the specific language governing rights and
   895  // limitations under the License.
   896  //
   897  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   898  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   899  
   900  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   901  //
   902  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   903  //
   904  // This file contains Original Code and/or Modifications of Original Code
   905  // as defined in and that are subject to the Apple Public Source License
   906  // Version 2.0 (the 'License'). You may not use this file except in
   907  // compliance with the License. The rights granted to you under the License
   908  // may not be used to create, or enable the creation or redistribution of,
   909  // unlawful or unlicensed copies of an Apple operating system, or to
   910  // circumvent, violate, or enable the circumvention or violation of, any
   911  // terms of an Apple operating system software license agreement.
   912  //
   913  // Please obtain a copy of the License at
   914  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   915  //
   916  // The Original Code and all software distributed under the License are
   917  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   918  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   919  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   920  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   921  // Please see the License for the specific language governing rights and
   922  // limitations under the License.
   923  //
   924  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   925  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   926  // Copyright (c) 1990, 1993
   927  //	The Regents of the University of California.  All rights reserved.
   928  //
   929  // Redistribution and use in source and binary forms, with or without
   930  // modification, are permitted provided that the following conditions
   931  // are met:
   932  // 1. Redistributions of source code must retain the above copyright
   933  //    notice, this list of conditions and the following disclaimer.
   934  // 2. Redistributions in binary form must reproduce the above copyright
   935  //    notice, this list of conditions and the following disclaimer in the
   936  //    documentation and/or other materials provided with the distribution.
   937  // 3. All advertising materials mentioning features or use of this software
   938  //    must display the following acknowledgement:
   939  //	This product includes software developed by the University of
   940  //	California, Berkeley and its contributors.
   941  // 4. Neither the name of the University nor the names of its contributors
   942  //    may be used to endorse or promote products derived from this software
   943  //    without specific prior written permission.
   944  //
   945  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   946  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   947  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   948  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   949  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   950  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   951  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   952  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   953  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   954  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   955  // SUCH DAMAGE.
   956  //
   957  //	@(#)types.h	8.3 (Berkeley) 1/5/94
   958  
   959  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   960  //
   961  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   962  //
   963  // This file contains Original Code and/or Modifications of Original Code
   964  // as defined in and that are subject to the Apple Public Source License
   965  // Version 2.0 (the 'License'). You may not use this file except in
   966  // compliance with the License. The rights granted to you under the License
   967  // may not be used to create, or enable the creation or redistribution of,
   968  // unlawful or unlicensed copies of an Apple operating system, or to
   969  // circumvent, violate, or enable the circumvention or violation of, any
   970  // terms of an Apple operating system software license agreement.
   971  //
   972  // Please obtain a copy of the License at
   973  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   974  //
   975  // The Original Code and all software distributed under the License are
   976  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   977  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   978  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   979  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   980  // Please see the License for the specific language governing rights and
   981  // limitations under the License.
   982  //
   983  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   984  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   985  //
   986  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   987  //
   988  // This file contains Original Code and/or Modifications of Original Code
   989  // as defined in and that are subject to the Apple Public Source License
   990  // Version 2.0 (the 'License'). You may not use this file except in
   991  // compliance with the License. The rights granted to you under the License
   992  // may not be used to create, or enable the creation or redistribution of,
   993  // unlawful or unlicensed copies of an Apple operating system, or to
   994  // circumvent, violate, or enable the circumvention or violation of, any
   995  // terms of an Apple operating system software license agreement.
   996  //
   997  // Please obtain a copy of the License at
   998  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   999  //
  1000  // The Original Code and all software distributed under the License are
  1001  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1002  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1003  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1004  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1005  // Please see the License for the specific language governing rights and
  1006  // limitations under the License.
  1007  //
  1008  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1009  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1010  // Copyright (c) 1991, 1993
  1011  //	The Regents of the University of California.  All rights reserved.
  1012  //
  1013  // This code is derived from software contributed to Berkeley by
  1014  // Berkeley Software Design, Inc.
  1015  //
  1016  // Redistribution and use in source and binary forms, with or without
  1017  // modification, are permitted provided that the following conditions
  1018  // are met:
  1019  // 1. Redistributions of source code must retain the above copyright
  1020  //    notice, this list of conditions and the following disclaimer.
  1021  // 2. Redistributions in binary form must reproduce the above copyright
  1022  //    notice, this list of conditions and the following disclaimer in the
  1023  //    documentation and/or other materials provided with the distribution.
  1024  // 3. All advertising materials mentioning features or use of this software
  1025  //    must display the following acknowledgement:
  1026  //	This product includes software developed by the University of
  1027  //	California, Berkeley and its contributors.
  1028  // 4. Neither the name of the University nor the names of its contributors
  1029  //    may be used to endorse or promote products derived from this software
  1030  //    without specific prior written permission.
  1031  //
  1032  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1033  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1034  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1035  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1036  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1037  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1038  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1039  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1040  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1041  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1042  // SUCH DAMAGE.
  1043  //
  1044  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1045  
  1046  // Basic integral types.  Omit the typedef if
  1047  // not possible for a machine/compiler combination.
  1048  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1049  //
  1050  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1051  //
  1052  // This file contains Original Code and/or Modifications of Original Code
  1053  // as defined in and that are subject to the Apple Public Source License
  1054  // Version 2.0 (the 'License'). You may not use this file except in
  1055  // compliance with the License. The rights granted to you under the License
  1056  // may not be used to create, or enable the creation or redistribution of,
  1057  // unlawful or unlicensed copies of an Apple operating system, or to
  1058  // circumvent, violate, or enable the circumvention or violation of, any
  1059  // terms of an Apple operating system software license agreement.
  1060  //
  1061  // Please obtain a copy of the License at
  1062  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1063  //
  1064  // The Original Code and all software distributed under the License are
  1065  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1066  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1067  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1068  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1069  // Please see the License for the specific language governing rights and
  1070  // limitations under the License.
  1071  //
  1072  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1073  type Int8_t = int8 /* _int8_t.h:30:33 */
  1074  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1075  //
  1076  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1077  //
  1078  // This file contains Original Code and/or Modifications of Original Code
  1079  // as defined in and that are subject to the Apple Public Source License
  1080  // Version 2.0 (the 'License'). You may not use this file except in
  1081  // compliance with the License. The rights granted to you under the License
  1082  // may not be used to create, or enable the creation or redistribution of,
  1083  // unlawful or unlicensed copies of an Apple operating system, or to
  1084  // circumvent, violate, or enable the circumvention or violation of, any
  1085  // terms of an Apple operating system software license agreement.
  1086  //
  1087  // Please obtain a copy of the License at
  1088  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1089  //
  1090  // The Original Code and all software distributed under the License are
  1091  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1092  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1093  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1094  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1095  // Please see the License for the specific language governing rights and
  1096  // limitations under the License.
  1097  //
  1098  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1099  type Int16_t = int16 /* _int16_t.h:30:33 */
  1100  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1101  //
  1102  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1103  //
  1104  // This file contains Original Code and/or Modifications of Original Code
  1105  // as defined in and that are subject to the Apple Public Source License
  1106  // Version 2.0 (the 'License'). You may not use this file except in
  1107  // compliance with the License. The rights granted to you under the License
  1108  // may not be used to create, or enable the creation or redistribution of,
  1109  // unlawful or unlicensed copies of an Apple operating system, or to
  1110  // circumvent, violate, or enable the circumvention or violation of, any
  1111  // terms of an Apple operating system software license agreement.
  1112  //
  1113  // Please obtain a copy of the License at
  1114  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1115  //
  1116  // The Original Code and all software distributed under the License are
  1117  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1118  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1119  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1120  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1121  // Please see the License for the specific language governing rights and
  1122  // limitations under the License.
  1123  //
  1124  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1125  type Int32_t = int32 /* _int32_t.h:30:33 */
  1126  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1127  //
  1128  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1129  //
  1130  // This file contains Original Code and/or Modifications of Original Code
  1131  // as defined in and that are subject to the Apple Public Source License
  1132  // Version 2.0 (the 'License'). You may not use this file except in
  1133  // compliance with the License. The rights granted to you under the License
  1134  // may not be used to create, or enable the creation or redistribution of,
  1135  // unlawful or unlicensed copies of an Apple operating system, or to
  1136  // circumvent, violate, or enable the circumvention or violation of, any
  1137  // terms of an Apple operating system software license agreement.
  1138  //
  1139  // Please obtain a copy of the License at
  1140  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1141  //
  1142  // The Original Code and all software distributed under the License are
  1143  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1144  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1145  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1146  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1147  // Please see the License for the specific language governing rights and
  1148  // limitations under the License.
  1149  //
  1150  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1151  type Int64_t = int64 /* _int64_t.h:30:33 */
  1152  
  1153  // Copyright (c) 2016 Apple Inc. All rights reserved.
  1154  //
  1155  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1156  //
  1157  // This file contains Original Code and/or Modifications of Original Code
  1158  // as defined in and that are subject to the Apple Public Source License
  1159  // Version 2.0 (the 'License'). You may not use this file except in
  1160  // compliance with the License. The rights granted to you under the License
  1161  // may not be used to create, or enable the creation or redistribution of,
  1162  // unlawful or unlicensed copies of an Apple operating system, or to
  1163  // circumvent, violate, or enable the circumvention or violation of, any
  1164  // terms of an Apple operating system software license agreement.
  1165  //
  1166  // Please obtain a copy of the License at
  1167  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1168  //
  1169  // The Original Code and all software distributed under the License are
  1170  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1171  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1172  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1173  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1174  // Please see the License for the specific language governing rights and
  1175  // limitations under the License.
  1176  //
  1177  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1178  type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1179  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1180  //
  1181  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1182  //
  1183  // This file contains Original Code and/or Modifications of Original Code
  1184  // as defined in and that are subject to the Apple Public Source License
  1185  // Version 2.0 (the 'License'). You may not use this file except in
  1186  // compliance with the License. The rights granted to you under the License
  1187  // may not be used to create, or enable the creation or redistribution of,
  1188  // unlawful or unlicensed copies of an Apple operating system, or to
  1189  // circumvent, violate, or enable the circumvention or violation of, any
  1190  // terms of an Apple operating system software license agreement.
  1191  //
  1192  // Please obtain a copy of the License at
  1193  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1194  //
  1195  // The Original Code and all software distributed under the License are
  1196  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1197  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1198  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1199  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1200  // Please see the License for the specific language governing rights and
  1201  // limitations under the License.
  1202  //
  1203  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1204  type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1205  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1206  //
  1207  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1208  //
  1209  // This file contains Original Code and/or Modifications of Original Code
  1210  // as defined in and that are subject to the Apple Public Source License
  1211  // Version 2.0 (the 'License'). You may not use this file except in
  1212  // compliance with the License. The rights granted to you under the License
  1213  // may not be used to create, or enable the creation or redistribution of,
  1214  // unlawful or unlicensed copies of an Apple operating system, or to
  1215  // circumvent, violate, or enable the circumvention or violation of, any
  1216  // terms of an Apple operating system software license agreement.
  1217  //
  1218  // Please obtain a copy of the License at
  1219  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1220  //
  1221  // The Original Code and all software distributed under the License are
  1222  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1223  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1224  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1225  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1226  // Please see the License for the specific language governing rights and
  1227  // limitations under the License.
  1228  //
  1229  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1230  type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1231  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1232  //
  1233  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1234  //
  1235  // This file contains Original Code and/or Modifications of Original Code
  1236  // as defined in and that are subject to the Apple Public Source License
  1237  // Version 2.0 (the 'License'). You may not use this file except in
  1238  // compliance with the License. The rights granted to you under the License
  1239  // may not be used to create, or enable the creation or redistribution of,
  1240  // unlawful or unlicensed copies of an Apple operating system, or to
  1241  // circumvent, violate, or enable the circumvention or violation of, any
  1242  // terms of an Apple operating system software license agreement.
  1243  //
  1244  // Please obtain a copy of the License at
  1245  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1246  //
  1247  // The Original Code and all software distributed under the License are
  1248  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1249  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1250  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1251  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1252  // Please see the License for the specific language governing rights and
  1253  // limitations under the License.
  1254  //
  1255  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1256  type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1257  
  1258  type Register_t = Int64_t /* types.h:87:33 */
  1259  
  1260  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1261  //
  1262  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1263  //
  1264  // This file contains Original Code and/or Modifications of Original Code
  1265  // as defined in and that are subject to the Apple Public Source License
  1266  // Version 2.0 (the 'License'). You may not use this file except in
  1267  // compliance with the License. The rights granted to you under the License
  1268  // may not be used to create, or enable the creation or redistribution of,
  1269  // unlawful or unlicensed copies of an Apple operating system, or to
  1270  // circumvent, violate, or enable the circumvention or violation of, any
  1271  // terms of an Apple operating system software license agreement.
  1272  //
  1273  // Please obtain a copy of the License at
  1274  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1275  //
  1276  // The Original Code and all software distributed under the License are
  1277  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1278  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1279  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1280  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1281  // Please see the License for the specific language governing rights and
  1282  // limitations under the License.
  1283  //
  1284  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1285  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1286  //
  1287  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1288  //
  1289  // This file contains Original Code and/or Modifications of Original Code
  1290  // as defined in and that are subject to the Apple Public Source License
  1291  // Version 2.0 (the 'License'). You may not use this file except in
  1292  // compliance with the License. The rights granted to you under the License
  1293  // may not be used to create, or enable the creation or redistribution of,
  1294  // unlawful or unlicensed copies of an Apple operating system, or to
  1295  // circumvent, violate, or enable the circumvention or violation of, any
  1296  // terms of an Apple operating system software license agreement.
  1297  //
  1298  // Please obtain a copy of the License at
  1299  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1300  //
  1301  // The Original Code and all software distributed under the License are
  1302  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1303  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1304  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1305  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1306  // Please see the License for the specific language governing rights and
  1307  // limitations under the License.
  1308  //
  1309  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1310  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1311  
  1312  type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  1313  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1314  //
  1315  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1316  //
  1317  // This file contains Original Code and/or Modifications of Original Code
  1318  // as defined in and that are subject to the Apple Public Source License
  1319  // Version 2.0 (the 'License'). You may not use this file except in
  1320  // compliance with the License. The rights granted to you under the License
  1321  // may not be used to create, or enable the creation or redistribution of,
  1322  // unlawful or unlicensed copies of an Apple operating system, or to
  1323  // circumvent, violate, or enable the circumvention or violation of, any
  1324  // terms of an Apple operating system software license agreement.
  1325  //
  1326  // Please obtain a copy of the License at
  1327  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1328  //
  1329  // The Original Code and all software distributed under the License are
  1330  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1331  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1332  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1333  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1334  // Please see the License for the specific language governing rights and
  1335  // limitations under the License.
  1336  //
  1337  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1338  type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  1339  
  1340  // These types are used for reserving the largest possible size.
  1341  type User_addr_t = U_int64_t  /* types.h:97:33 */
  1342  type User_size_t = U_int64_t  /* types.h:98:33 */
  1343  type User_ssize_t = Int64_t   /* types.h:99:33 */
  1344  type User_long_t = Int64_t    /* types.h:100:33 */
  1345  type User_ulong_t = U_int64_t /* types.h:101:33 */
  1346  type User_time_t = Int64_t    /* types.h:102:33 */
  1347  type User_off_t = Int64_t     /* types.h:103:33 */
  1348  
  1349  // This defines the size of syscall arguments after copying into the kernel:
  1350  type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  1351  
  1352  type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  1353  
  1354  type Utimbuf = struct {
  1355  	Factime  Time_t
  1356  	Fmodtime Time_t
  1357  } /* utime.h:64:1 */
  1358  
  1359  var _ int8 /* gen.c:2:13: */