github.com/afumu/libc@v0.0.6/sys/types/types_darwin_amd64.go (about)

     1  // Code generated by 'ccgo sys/types/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 sys/types/types_darwin_amd64.go -pkgname types', DO NOT EDIT.
     2  
     3  package types
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	BIG_ENDIAN                             = 4321 // endian.h:94:1:
    19  	BYTE_ORDER                             = 1234 // endian.h:97:1:
    20  	FD_SETSIZE                             = 1024 // _fd_setsize.h:29:1:
    21  	LITTLE_ENDIAN                          = 1234 // endian.h:93:1:
    22  	NBBY                                   = 8    // types.h:186:1:
    23  	PDP_ENDIAN                             = 3412 // endian.h:95:1:
    24  	X_BLKCNT_T                             = 0    // _blkcnt_t.h:29:1:
    25  	X_BLKSIZE_T                            = 0    // _blksize_t.h:29:1:
    26  	X_BSD_I386__TYPES_H_                   = 0    // _types.h:29:1:
    27  	X_BSD_MACHINE_ENDIAN_H_                = 0    // endian.h:32:1:
    28  	X_BSD_MACHINE_TYPES_H_                 = 0    // types.h:32:1:
    29  	X_BSD_MACHINE__TYPES_H_                = 0    // _types.h:29:1:
    30  	X_CADDR_T                              = 0    // _caddr_t.h:29:1:
    31  	X_CDEFS_H_                             = 0    // cdefs.h:68:1:
    32  	X_CLOCK_T                              = 0    // _clock_t.h:29:1:
    33  	X_DARWIN_FEATURE_64_BIT_INODE          = 1    // cdefs.h:745:1:
    34  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1    // cdefs.h:771:1:
    35  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3    // cdefs.h:779:1:
    36  	X_DEV_T                                = 0    // _dev_t.h:29:1:
    37  	X_ERRNO_T                              = 0    // _errno_t.h:29:1:
    38  	X_FD_SET                               = 0    // _fd_def.h:29:1:
    39  	X_FILE_OFFSET_BITS                     = 64   // <builtin>:25:1:
    40  	X_FSBLKCNT_T                           = 0    // _fsblkcnt_t.h:29:1:
    41  	X_FSFILCNT_T                           = 0    // _fsfilcnt_t.h:29:1:
    42  	X_GID_T                                = 0    // _gid_t.h:29:1:
    43  	X_I386__ENDIAN_H_                      = 0    // endian.h:67:1:
    44  	X_ID_T                                 = 0    // _id_t.h:29:1:
    45  	X_INO64_T                              = 0    // _ino64_t.h:29:1:
    46  	X_INO_T                                = 0    // _ino_t.h:29:1:
    47  	X_INT16_T                              = 0    // _int16_t.h:29:1:
    48  	X_INT32_T                              = 0    // _int32_t.h:29:1:
    49  	X_INT64_T                              = 0    // _int64_t.h:29:1:
    50  	X_INT8_T                               = 0    // _int8_t.h:29:1:
    51  	X_INTPTR_T                             = 0    // _intptr_t.h:29:1:
    52  	X_IN_ADDR_T                            = 0    // _in_addr_t.h:29:1:
    53  	X_IN_PORT_T                            = 0    // _in_port_t.h:29:1:
    54  	X_KEY_T                                = 0    // _key_t.h:29:1:
    55  	X_LP64                                 = 1    // <predefined>:1:1:
    56  	X_MACHTYPES_H_                         = 0    // types.h:67:1:
    57  	X_MODE_T                               = 0    // _mode_t.h:29:1:
    58  	X_NLINK_T                              = 0    // _nlink_t.h:29:1:
    59  	X_Nonnull                              = 0    // cdefs.h:243:1:
    60  	X_Null_unspecified                     = 0    // cdefs.h:246:1:
    61  	X_Nullable                             = 0    // cdefs.h:240:1:
    62  	X_OFF_T                                = 0    // _off_t.h:29:1:
    63  	X_OS__OSBYTEORDERI386_H                = 0    // _OSByteOrder.h:30:1:
    64  	X_OS__OSBYTEORDER_H                    = 0    // _OSByteOrder.h:30:1:
    65  	X_PID_T                                = 0    // _pid_t.h:29:1:
    66  	X_PTHREAD_ATTR_T                       = 0    // _pthread_attr_t.h:29:1:
    67  	X_PTHREAD_CONDATTR_T                   = 0    // _pthread_condattr_t.h:29:1:
    68  	X_PTHREAD_COND_T                       = 0    // _pthread_cond_t.h:29:1:
    69  	X_PTHREAD_KEY_T                        = 0    // _pthread_key_t.h:29:1:
    70  	X_PTHREAD_MUTEXATTR_T                  = 0    // _pthread_mutexattr_t.h:29:1:
    71  	X_PTHREAD_MUTEX_T                      = 0    // _pthread_mutex_t.h:29:1:
    72  	X_PTHREAD_ONCE_T                       = 0    // _pthread_once_t.h:29:1:
    73  	X_PTHREAD_RWLOCKATTR_T                 = 0    // _pthread_rwlockattr_t.h:29:1:
    74  	X_PTHREAD_RWLOCK_T                     = 0    // _pthread_rwlock_t.h:29:1:
    75  	X_PTHREAD_T                            = 0    // _pthread_t.h:29:1:
    76  	X_QUAD_HIGHWORD                        = 1    // endian.h:78:1:
    77  	X_QUAD_LOWWORD                         = 0    // endian.h:79:1:
    78  	X_RSIZE_T                              = 0    // _rsize_t.h:29:1:
    79  	X_SIZE_T                               = 0    // _size_t.h:29:1:
    80  	X_SSIZE_T                              = 0    // _ssize_t.h:29:1:
    81  	X_SUSECONDS_T                          = 0    // _suseconds_t.h:29:1:
    82  	X_SYS_TYPES_H_                         = 0    // types.h:70:1:
    83  	X_SYS__ENDIAN_H_                       = 0    // _endian.h:91:1:
    84  	X_SYS__PTHREAD_TYPES_H_                = 0    // _pthread_types.h:30:1:
    85  	X_SYS__TYPES_H_                        = 0    // _types.h:30:1:
    86  	X_TIME_T                               = 0    // _time_t.h:29:1:
    87  	X_UID_T                                = 0    // _uid_t.h:29:1:
    88  	X_UINTPTR_T                            = 0    // _uintptr_t.h:29:1:
    89  	X_USECONDS_T                           = 0    // _useconds_t.h:29:1:
    90  	X_U_CHAR                               = 0    // _u_char.h:29:1:
    91  	X_U_INT                                = 0    // _u_int.h:29:1:
    92  	X_U_INT16_T                            = 0    // _u_int16_t.h:29:1:
    93  	X_U_INT32_T                            = 0    // _u_int32_t.h:29:1:
    94  	X_U_INT64_T                            = 0    // _u_int64_t.h:29:1:
    95  	X_U_INT8_T                             = 0    // _u_int8_t.h:29:1:
    96  	X_U_LONG                               = 0    // types.h:89:1:
    97  	X_U_SHORT                              = 0    // _u_short.h:29:1:
    98  )
    99  
   100  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   101  
   102  type Size_t = uint64 /* <builtin>:9:23 */
   103  
   104  type Wchar_t = int32 /* <builtin>:15:24 */
   105  
   106  type X__int128_t = struct {
   107  	Flo int64
   108  	Fhi int64
   109  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   110  type X__uint128_t = struct {
   111  	Flo uint64
   112  	Fhi uint64
   113  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   114  
   115  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   116  type X__float128 = float64        /* <builtin>:47:21 */
   117  
   118  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
   119  
   120  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   121  //
   122  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   123  //
   124  // This file contains Original Code and/or Modifications of Original Code
   125  // as defined in and that are subject to the Apple Public Source License
   126  // Version 2.0 (the 'License'). You may not use this file except in
   127  // compliance with the License. The rights granted to you under the License
   128  // may not be used to create, or enable the creation or redistribution of,
   129  // unlawful or unlicensed copies of an Apple operating system, or to
   130  // circumvent, violate, or enable the circumvention or violation of, any
   131  // terms of an Apple operating system software license agreement.
   132  //
   133  // Please obtain a copy of the License at
   134  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   135  //
   136  // The Original Code and all software distributed under the License are
   137  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   138  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   139  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   140  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   141  // Please see the License for the specific language governing rights and
   142  // limitations under the License.
   143  //
   144  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   145  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
   146  // Copyright (c) 1982, 1986, 1991, 1993, 1994
   147  //	The Regents of the University of California.  All rights reserved.
   148  // (c) UNIX System Laboratories, Inc.
   149  // All or some portions of this file are derived from material licensed
   150  // to the University of California by American Telephone and Telegraph
   151  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
   152  // the permission of UNIX System Laboratories, Inc.
   153  //
   154  // Redistribution and use in source and binary forms, with or without
   155  // modification, are permitted provided that the following conditions
   156  // are met:
   157  // 1. Redistributions of source code must retain the above copyright
   158  //    notice, this list of conditions and the following disclaimer.
   159  // 2. Redistributions in binary form must reproduce the above copyright
   160  //    notice, this list of conditions and the following disclaimer in the
   161  //    documentation and/or other materials provided with the distribution.
   162  // 3. All advertising materials mentioning features or use of this software
   163  //    must display the following acknowledgement:
   164  //	This product includes software developed by the University of
   165  //	California, Berkeley and its contributors.
   166  // 4. Neither the name of the University nor the names of its contributors
   167  //    may be used to endorse or promote products derived from this software
   168  //    without specific prior written permission.
   169  //
   170  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   171  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   172  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   173  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   174  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   175  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   176  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   177  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   178  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   179  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   180  // SUCH DAMAGE.
   181  //
   182  //	@(#)types.h	8.4 (Berkeley) 1/21/94
   183  
   184  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
   185  //
   186  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   187  //
   188  // This file contains Original Code and/or Modifications of Original Code
   189  // as defined in and that are subject to the Apple Public Source License
   190  // Version 2.0 (the 'License'). You may not use this file except in
   191  // compliance with the License. The rights granted to you under the License
   192  // may not be used to create, or enable the creation or redistribution of,
   193  // unlawful or unlicensed copies of an Apple operating system, or to
   194  // circumvent, violate, or enable the circumvention or violation of, any
   195  // terms of an Apple operating system software license agreement.
   196  //
   197  // Please obtain a copy of the License at
   198  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   199  //
   200  // The Original Code and all software distributed under the License are
   201  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   202  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   203  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   204  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   205  // Please see the License for the specific language governing rights and
   206  // limitations under the License.
   207  //
   208  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   209  
   210  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   211  //
   212  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   213  //
   214  // This file contains Original Code and/or Modifications of Original Code
   215  // as defined in and that are subject to the Apple Public Source License
   216  // Version 2.0 (the 'License'). You may not use this file except in
   217  // compliance with the License. The rights granted to you under the License
   218  // may not be used to create, or enable the creation or redistribution of,
   219  // unlawful or unlicensed copies of an Apple operating system, or to
   220  // circumvent, violate, or enable the circumvention or violation of, any
   221  // terms of an Apple operating system software license agreement.
   222  //
   223  // Please obtain a copy of the License at
   224  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   225  //
   226  // The Original Code and all software distributed under the License are
   227  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   228  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   229  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   230  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   231  // Please see the License for the specific language governing rights and
   232  // limitations under the License.
   233  //
   234  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   235  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   236  // Copyright (c) 1991, 1993
   237  //	The Regents of the University of California.  All rights reserved.
   238  //
   239  // This code is derived from software contributed to Berkeley by
   240  // Berkeley Software Design, Inc.
   241  //
   242  // Redistribution and use in source and binary forms, with or without
   243  // modification, are permitted provided that the following conditions
   244  // are met:
   245  // 1. Redistributions of source code must retain the above copyright
   246  //    notice, this list of conditions and the following disclaimer.
   247  // 2. Redistributions in binary form must reproduce the above copyright
   248  //    notice, this list of conditions and the following disclaimer in the
   249  //    documentation and/or other materials provided with the distribution.
   250  // 3. All advertising materials mentioning features or use of this software
   251  //    must display the following acknowledgement:
   252  //	This product includes software developed by the University of
   253  //	California, Berkeley and its contributors.
   254  // 4. Neither the name of the University nor the names of its contributors
   255  //    may be used to endorse or promote products derived from this software
   256  //    without specific prior written permission.
   257  //
   258  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   259  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   260  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   261  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   262  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   263  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   264  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   265  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   266  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   267  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   268  // SUCH DAMAGE.
   269  //
   270  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   271  
   272  // This SDK is designed to work with clang and specific versions of
   273  // gcc >= 4.0 with Apple's patch sets
   274  
   275  // Compatibility with compilers and environments that don't support compiler
   276  // feature checking function-like macros.
   277  
   278  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   279  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   280  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   281  // in between its arguments.  __CONCAT can also concatenate double-quoted
   282  // strings produced by the __STRING macro, but this only works with ANSI C.
   283  
   284  // In non-ANSI C environments, new programs will want ANSI-only C keywords
   285  // deleted from the program and old programs will want them left alone.
   286  // When using a compiler other than gcc, programs using the ANSI C keywords
   287  // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
   288  // When using "gcc -traditional", we assume that this is the intent; if
   289  // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
   290  
   291  // __unused denotes variables and functions that may not be used, preventing
   292  // the compiler from warning about it if not used.
   293  
   294  // __used forces variables and functions to be included even if it appears
   295  // to the compiler that they are not used (and would thust be discarded).
   296  
   297  // __cold marks code used for debugging or that is rarely taken
   298  // and tells the compiler to optimize for size and outline code.
   299  
   300  // __deprecated causes the compiler to produce a warning when encountering
   301  // code using the deprecated functionality.
   302  // __deprecated_msg() does the same, and compilers that support it will print
   303  // a message along with the deprecation warning.
   304  // This may require turning on such warning with the -Wdeprecated flag.
   305  // __deprecated_enum_msg() should be used on enums, and compilers that support
   306  // it will print the deprecation warning.
   307  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   308  // interfaces in Kernel.framework used by KEXTs.
   309  
   310  // __unavailable causes the compiler to error out when encountering
   311  // code using the tagged function of variable.
   312  
   313  // Delete pseudo-keywords wherever they are not available or needed.
   314  
   315  // We use `__restrict' as a way to define the `restrict' type qualifier
   316  // without disturbing older software that is unaware of C99 keywords.
   317  
   318  // Compatibility with compilers and environments that don't support the
   319  // nullability feature.
   320  
   321  // __disable_tail_calls causes the compiler to not perform tail call
   322  // optimization inside the marked function.
   323  
   324  // __not_tail_called causes the compiler to prevent tail call optimization
   325  // on statically bound calls to the function.  It has no effect on indirect
   326  // calls.  Virtual functions, objective-c methods, and functions marked as
   327  // "always_inline" cannot be marked as __not_tail_called.
   328  
   329  // __result_use_check warns callers of a function that not using the function
   330  // return value is a bug, i.e. dismissing malloc() return value results in a
   331  // memory leak.
   332  
   333  // __swift_unavailable causes the compiler to mark a symbol as specifically
   334  // unavailable in Swift, regardless of any other availability in C.
   335  
   336  // __abortlike is the attribute to put on functions like abort() that are
   337  // typically used to mark assertions. These optimize the codegen
   338  // for outlining while still maintaining debugability.
   339  
   340  // Declaring inline functions within headers is error-prone due to differences
   341  // across various versions of the C language and extensions.  __header_inline
   342  // can be used to declare inline functions within system headers.  In cases
   343  // where you want to force inlining instead of letting the compiler make
   344  // the decision, you can use __header_always_inline.
   345  //
   346  // Be aware that using inline for functions which compilers may also provide
   347  // builtins can behave differently under various compilers.  If you intend to
   348  // provide an inline version of such a function, you may want to use a macro
   349  // instead.
   350  //
   351  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   352  // support c99 inline in some cases:
   353  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   354  
   355  // Compiler-dependent macros that bracket portions of code where the
   356  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   357  
   358  // Compiler-dependent macros to declare that functions take printf-like
   359  // or scanf-like arguments.  They are null except for versions of gcc
   360  // that are known to support the features properly.  Functions declared
   361  // with these attributes will cause compilation warnings if there is a
   362  // mismatch between the format string and subsequent function parameter
   363  // types.
   364  
   365  // Source compatibility only, ID string not emitted in object file
   366  
   367  // __alloc_size can be used to label function arguments that represent the
   368  // size of memory that the function allocates and returns. The one-argument
   369  // form labels a single argument that gives the allocation size (where the
   370  // arguments are numbered from 1):
   371  //
   372  // void	*malloc(size_t __size) __alloc_size(1);
   373  //
   374  // The two-argument form handles the case where the size is calculated as the
   375  // product of two arguments:
   376  //
   377  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   378  
   379  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   380  //
   381  // DEFAULT	By default newly complied code will get POSIX APIs plus
   382  //		Apple API extensions in scope.
   383  //
   384  //		Most users will use this compilation environment to avoid
   385  //		behavioral differences between 32 and 64 bit code.
   386  //
   387  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   388  //		API extensions in scope.
   389  //
   390  //		This is generally equivalent to the Tiger release compilation
   391  //		environment, except that it cannot be applied to 64 bit code;
   392  //		its use is discouraged.
   393  //
   394  //		We expect this environment to be deprecated in the future.
   395  //
   396  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   397  //		available APIs to exactly the set of APIs defined by the
   398  //		corresponding standard, based on the value defined.
   399  //
   400  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   401  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   402  //
   403  //		Apple API extensions are not visible in this environment,
   404  //		which can cause Apple specific code to fail to compile,
   405  //		or behave incorrectly if prototypes are not in scope or
   406  //		warnings about missing prototypes are not enabled or ignored.
   407  //
   408  // In any compilation environment, for correct symbol resolution to occur,
   409  // function prototypes must be in scope.  It is recommended that all Apple
   410  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   411  // compiler flags to their projects to be warned when a function is being
   412  // used without a prototype in scope.
   413  
   414  // These settings are particular to each product.
   415  // Platform: MacOSX
   416  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
   417  
   418  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   419  // legacy code to use the old symbol, thus maintaining binary compatibility
   420  // while new code can use a standards compliant version of the same function.
   421  //
   422  // __DARWIN_ALIAS is used by itself if the function signature has not
   423  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   424  // if the signature has changed.  Because the __LP64__ environment
   425  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   426  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   427  //
   428  // As a special case, when XCode is used to target a specific version of the
   429  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   430  // will be defined by the compiler, with the digits representing major version
   431  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   432  // pre-10.5, and it is the default compilation environment, revert the
   433  // compilation environment to pre-__DARWIN_UNIX03.
   434  
   435  // symbol suffixes used for symbol versioning
   436  
   437  // symbol versioning macros
   438  
   439  // symbol release macros
   440  // Copyright (c) 2010 Apple Inc. All rights reserved.
   441  //
   442  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   443  //
   444  // This file contains Original Code and/or Modifications of Original Code
   445  // as defined in and that are subject to the Apple Public Source License
   446  // Version 2.0 (the 'License'). You may not use this file except in
   447  // compliance with the License. The rights granted to you under the License
   448  // may not be used to create, or enable the creation or redistribution of,
   449  // unlawful or unlicensed copies of an Apple operating system, or to
   450  // circumvent, violate, or enable the circumvention or violation of, any
   451  // terms of an Apple operating system software license agreement.
   452  //
   453  // Please obtain a copy of the License at
   454  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   455  //
   456  // The Original Code and all software distributed under the License are
   457  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   458  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   459  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   460  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   461  // Please see the License for the specific language governing rights and
   462  // limitations under the License.
   463  //
   464  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   465  
   466  // POSIX.1 requires that the macros we test be defined before any standard
   467  // header file is included.  This permits us to convert values for feature
   468  // testing, as necessary, using only _POSIX_C_SOURCE.
   469  //
   470  // Here's a quick run-down of the versions:
   471  //  defined(_POSIX_SOURCE)		1003.1-1988
   472  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   473  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   474  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   475  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   476  //					and the omnibus ISO/IEC 9945-1: 1996
   477  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   478  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   479  //
   480  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   481  // Specification, defines a feature-test macro which indicates the version of
   482  // that specification, and which subsumes _POSIX_C_SOURCE.
   483  
   484  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   485  
   486  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   487  
   488  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   489  
   490  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   491  // important.
   492  
   493  // POSIX C deprecation macros
   494  // Copyright (c) 2010 Apple Inc. All rights reserved.
   495  //
   496  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   497  //
   498  // This file contains Original Code and/or Modifications of Original Code
   499  // as defined in and that are subject to the Apple Public Source License
   500  // Version 2.0 (the 'License'). You may not use this file except in
   501  // compliance with the License. The rights granted to you under the License
   502  // may not be used to create, or enable the creation or redistribution of,
   503  // unlawful or unlicensed copies of an Apple operating system, or to
   504  // circumvent, violate, or enable the circumvention or violation of, any
   505  // terms of an Apple operating system software license agreement.
   506  //
   507  // Please obtain a copy of the License at
   508  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   509  //
   510  // The Original Code and all software distributed under the License are
   511  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   512  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   513  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   514  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   515  // Please see the License for the specific language governing rights and
   516  // limitations under the License.
   517  //
   518  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   519  
   520  // Set a single macro which will always be defined and can be used to determine
   521  // the appropriate namespace.  For POSIX, these values will correspond to
   522  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   523  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   524  
   525  // If the developer has neither requested a strict language mode nor a version
   526  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   527  // of __DARWIN_C_FULL.
   528  
   529  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   530  // c99 still want long longs.  While not perfect, we allow long longs for
   531  // g++.
   532  
   533  // ****************************************
   534  //
   535  //  Public darwin-specific feature macros
   536  //
   537  
   538  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   539  // structures modified for 64-bit inodes (like struct stat) will be used.
   540  
   541  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   542  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   543  // (and non-zero).  There is no struct stat64 either, as the regular
   544  // struct stat will already be the 64-bit version.
   545  
   546  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   547  // in 10.5 exists; no pre-10.5 variants are available.
   548  
   549  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   550  // are available (the legacy BSD APIs are not available)
   551  
   552  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   553  // and specifies the conformance level (3 is SUSv3)
   554  
   555  // This macro casts away the qualifier from the variable
   556  //
   557  // Note: use at your own risk, removing qualifiers can result in
   558  // catastrophic run-time failures.
   559  
   560  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   561  // used from other compilation units, but not other libraries or executables.
   562  
   563  // Architecture validation for current SDK
   564  
   565  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   566  //
   567  // This provides more advanced type checking on compilers supporting
   568  // the proper extensions, even in C.
   569  
   570  // Machine type dependent parameters.
   571  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   572  //
   573  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   574  //
   575  // This file contains Original Code and/or Modifications of Original Code
   576  // as defined in and that are subject to the Apple Public Source License
   577  // Version 2.0 (the 'License'). You may not use this file except in
   578  // compliance with the License. The rights granted to you under the License
   579  // may not be used to create, or enable the creation or redistribution of,
   580  // unlawful or unlicensed copies of an Apple operating system, or to
   581  // circumvent, violate, or enable the circumvention or violation of, any
   582  // terms of an Apple operating system software license agreement.
   583  //
   584  // Please obtain a copy of the License at
   585  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   586  //
   587  // The Original Code and all software distributed under the License are
   588  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   589  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   590  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   591  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   592  // Please see the License for the specific language governing rights and
   593  // limitations under the License.
   594  //
   595  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   596  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   597  
   598  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   599  //
   600  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   601  //
   602  // This file contains Original Code and/or Modifications of Original Code
   603  // as defined in and that are subject to the Apple Public Source License
   604  // Version 2.0 (the 'License'). You may not use this file except in
   605  // compliance with the License. The rights granted to you under the License
   606  // may not be used to create, or enable the creation or redistribution of,
   607  // unlawful or unlicensed copies of an Apple operating system, or to
   608  // circumvent, violate, or enable the circumvention or violation of, any
   609  // terms of an Apple operating system software license agreement.
   610  //
   611  // Please obtain a copy of the License at
   612  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   613  //
   614  // The Original Code and all software distributed under the License are
   615  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   616  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   617  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   618  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   619  // Please see the License for the specific language governing rights and
   620  // limitations under the License.
   621  //
   622  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   623  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   624  // Copyright (c) 1990, 1993
   625  //	The Regents of the University of California.  All rights reserved.
   626  //
   627  // Redistribution and use in source and binary forms, with or without
   628  // modification, are permitted provided that the following conditions
   629  // are met:
   630  // 1. Redistributions of source code must retain the above copyright
   631  //    notice, this list of conditions and the following disclaimer.
   632  // 2. Redistributions in binary form must reproduce the above copyright
   633  //    notice, this list of conditions and the following disclaimer in the
   634  //    documentation and/or other materials provided with the distribution.
   635  // 3. All advertising materials mentioning features or use of this software
   636  //    must display the following acknowledgement:
   637  //	This product includes software developed by the University of
   638  //	California, Berkeley and its contributors.
   639  // 4. Neither the name of the University nor the names of its contributors
   640  //    may be used to endorse or promote products derived from this software
   641  //    without specific prior written permission.
   642  //
   643  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   644  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   645  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   646  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   647  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   648  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   649  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   650  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   651  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   652  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   653  // SUCH DAMAGE.
   654  //
   655  //	@(#)types.h	8.3 (Berkeley) 1/5/94
   656  
   657  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   658  //
   659  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   660  //
   661  // This file contains Original Code and/or Modifications of Original Code
   662  // as defined in and that are subject to the Apple Public Source License
   663  // Version 2.0 (the 'License'). You may not use this file except in
   664  // compliance with the License. The rights granted to you under the License
   665  // may not be used to create, or enable the creation or redistribution of,
   666  // unlawful or unlicensed copies of an Apple operating system, or to
   667  // circumvent, violate, or enable the circumvention or violation of, any
   668  // terms of an Apple operating system software license agreement.
   669  //
   670  // Please obtain a copy of the License at
   671  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   672  //
   673  // The Original Code and all software distributed under the License are
   674  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   675  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   676  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   677  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   678  // Please see the License for the specific language governing rights and
   679  // limitations under the License.
   680  //
   681  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   682  
   683  // This header file contains integer types.  It's intended to also contain
   684  // flotaing point and other arithmetic types, as needed, later.
   685  
   686  type X__int8_t = int8     /* _types.h:37:33 */
   687  type X__uint8_t = uint8   /* _types.h:41:33 */
   688  type X__int16_t = int16   /* _types.h:42:33 */
   689  type X__uint16_t = uint16 /* _types.h:43:33 */
   690  type X__int32_t = int32   /* _types.h:44:33 */
   691  type X__uint32_t = uint32 /* _types.h:45:33 */
   692  type X__int64_t = int64   /* _types.h:46:33 */
   693  type X__uint64_t = uint64 /* _types.h:47:33 */
   694  
   695  type X__darwin_intptr_t = int64   /* _types.h:49:33 */
   696  type X__darwin_natural_t = uint32 /* _types.h:50:33 */
   697  
   698  // The rune type below is declared to be an ``int'' instead of the more natural
   699  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
   700  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
   701  // it looks like 10646 will be a 31 bit standard.  This means that if your
   702  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
   703  // chosen over a long is that the is*() and to*() routines take ints (says
   704  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
   705  // here, you lose a bit of ANSI conformance, but your programs will still
   706  // work.
   707  //
   708  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
   709  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
   710  // rune_t must be the same type.  Also wint_t must be no narrower than
   711  // wchar_t, and should also be able to hold all members of the largest
   712  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
   713  
   714  type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
   715  
   716  // mbstate_t is an opaque object to keep conversion state, during multibyte
   717  // stream conversions.  The content must not be referenced by user programs.
   718  type X__mbstate_t = struct {
   719  	F__ccgo_pad1 [0]uint64
   720  	F__mbstate8  [128]int8
   721  } /* _types.h:79:3 */
   722  
   723  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
   724  
   725  type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
   726  
   727  type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
   728  
   729  type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
   730  
   731  type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
   732  
   733  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
   734  
   735  type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
   736  
   737  type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
   738  type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
   739  type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
   740  type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
   741  
   742  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   743  //
   744  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   745  //
   746  // This file contains Original Code and/or Modifications of Original Code
   747  // as defined in and that are subject to the Apple Public Source License
   748  // Version 2.0 (the 'License'). You may not use this file except in
   749  // compliance with the License. The rights granted to you under the License
   750  // may not be used to create, or enable the creation or redistribution of,
   751  // unlawful or unlicensed copies of an Apple operating system, or to
   752  // circumvent, violate, or enable the circumvention or violation of, any
   753  // terms of an Apple operating system software license agreement.
   754  //
   755  // Please obtain a copy of the License at
   756  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   757  //
   758  // The Original Code and all software distributed under the License are
   759  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   760  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   761  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   762  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   763  // Please see the License for the specific language governing rights and
   764  // limitations under the License.
   765  //
   766  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   767  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   768  // Copyright (c) 1991, 1993
   769  //	The Regents of the University of California.  All rights reserved.
   770  //
   771  // This code is derived from software contributed to Berkeley by
   772  // Berkeley Software Design, Inc.
   773  //
   774  // Redistribution and use in source and binary forms, with or without
   775  // modification, are permitted provided that the following conditions
   776  // are met:
   777  // 1. Redistributions of source code must retain the above copyright
   778  //    notice, this list of conditions and the following disclaimer.
   779  // 2. Redistributions in binary form must reproduce the above copyright
   780  //    notice, this list of conditions and the following disclaimer in the
   781  //    documentation and/or other materials provided with the distribution.
   782  // 3. All advertising materials mentioning features or use of this software
   783  //    must display the following acknowledgement:
   784  //	This product includes software developed by the University of
   785  //	California, Berkeley and its contributors.
   786  // 4. Neither the name of the University nor the names of its contributors
   787  //    may be used to endorse or promote products derived from this software
   788  //    without specific prior written permission.
   789  //
   790  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   791  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   792  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   793  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   794  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   795  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   796  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   797  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   798  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   799  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   800  // SUCH DAMAGE.
   801  //
   802  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   803  
   804  // Basic integral types.  Omit the typedef if
   805  // not possible for a machine/compiler combination.
   806  // Copyright (c) 2012 Apple Inc. All rights reserved.
   807  //
   808  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   809  //
   810  // This file contains Original Code and/or Modifications of Original Code
   811  // as defined in and that are subject to the Apple Public Source License
   812  // Version 2.0 (the 'License'). You may not use this file except in
   813  // compliance with the License. The rights granted to you under the License
   814  // may not be used to create, or enable the creation or redistribution of,
   815  // unlawful or unlicensed copies of an Apple operating system, or to
   816  // circumvent, violate, or enable the circumvention or violation of, any
   817  // terms of an Apple operating system software license agreement.
   818  //
   819  // Please obtain a copy of the License at
   820  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   821  //
   822  // The Original Code and all software distributed under the License are
   823  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   824  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   825  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   826  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   827  // Please see the License for the specific language governing rights and
   828  // limitations under the License.
   829  //
   830  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   831  type Int8_t = int8 /* _int8_t.h:30:33 */
   832  // Copyright (c) 2012 Apple Inc. All rights reserved.
   833  //
   834  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   835  //
   836  // This file contains Original Code and/or Modifications of Original Code
   837  // as defined in and that are subject to the Apple Public Source License
   838  // Version 2.0 (the 'License'). You may not use this file except in
   839  // compliance with the License. The rights granted to you under the License
   840  // may not be used to create, or enable the creation or redistribution of,
   841  // unlawful or unlicensed copies of an Apple operating system, or to
   842  // circumvent, violate, or enable the circumvention or violation of, any
   843  // terms of an Apple operating system software license agreement.
   844  //
   845  // Please obtain a copy of the License at
   846  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   847  //
   848  // The Original Code and all software distributed under the License are
   849  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   850  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   851  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   852  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   853  // Please see the License for the specific language governing rights and
   854  // limitations under the License.
   855  //
   856  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   857  type Int16_t = int16 /* _int16_t.h:30:33 */
   858  // Copyright (c) 2012 Apple Inc. All rights reserved.
   859  //
   860  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   861  //
   862  // This file contains Original Code and/or Modifications of Original Code
   863  // as defined in and that are subject to the Apple Public Source License
   864  // Version 2.0 (the 'License'). You may not use this file except in
   865  // compliance with the License. The rights granted to you under the License
   866  // may not be used to create, or enable the creation or redistribution of,
   867  // unlawful or unlicensed copies of an Apple operating system, or to
   868  // circumvent, violate, or enable the circumvention or violation of, any
   869  // terms of an Apple operating system software license agreement.
   870  //
   871  // Please obtain a copy of the License at
   872  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   873  //
   874  // The Original Code and all software distributed under the License are
   875  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   876  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   877  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   878  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   879  // Please see the License for the specific language governing rights and
   880  // limitations under the License.
   881  //
   882  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   883  type Int32_t = int32 /* _int32_t.h:30:33 */
   884  // Copyright (c) 2012 Apple Inc. All rights reserved.
   885  //
   886  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   887  //
   888  // This file contains Original Code and/or Modifications of Original Code
   889  // as defined in and that are subject to the Apple Public Source License
   890  // Version 2.0 (the 'License'). You may not use this file except in
   891  // compliance with the License. The rights granted to you under the License
   892  // may not be used to create, or enable the creation or redistribution of,
   893  // unlawful or unlicensed copies of an Apple operating system, or to
   894  // circumvent, violate, or enable the circumvention or violation of, any
   895  // terms of an Apple operating system software license agreement.
   896  //
   897  // Please obtain a copy of the License at
   898  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   899  //
   900  // The Original Code and all software distributed under the License are
   901  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   902  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   903  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   904  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   905  // Please see the License for the specific language governing rights and
   906  // limitations under the License.
   907  //
   908  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   909  type Int64_t = int64 /* _int64_t.h:30:33 */
   910  
   911  // Copyright (c) 2016 Apple Inc. All rights reserved.
   912  //
   913  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   914  //
   915  // This file contains Original Code and/or Modifications of Original Code
   916  // as defined in and that are subject to the Apple Public Source License
   917  // Version 2.0 (the 'License'). You may not use this file except in
   918  // compliance with the License. The rights granted to you under the License
   919  // may not be used to create, or enable the creation or redistribution of,
   920  // unlawful or unlicensed copies of an Apple operating system, or to
   921  // circumvent, violate, or enable the circumvention or violation of, any
   922  // terms of an Apple operating system software license agreement.
   923  //
   924  // Please obtain a copy of the License at
   925  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   926  //
   927  // The Original Code and all software distributed under the License are
   928  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   929  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   930  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   931  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   932  // Please see the License for the specific language governing rights and
   933  // limitations under the License.
   934  //
   935  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   936  type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
   937  // Copyright (c) 2012 Apple Inc. All rights reserved.
   938  //
   939  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   940  //
   941  // This file contains Original Code and/or Modifications of Original Code
   942  // as defined in and that are subject to the Apple Public Source License
   943  // Version 2.0 (the 'License'). You may not use this file except in
   944  // compliance with the License. The rights granted to you under the License
   945  // may not be used to create, or enable the creation or redistribution of,
   946  // unlawful or unlicensed copies of an Apple operating system, or to
   947  // circumvent, violate, or enable the circumvention or violation of, any
   948  // terms of an Apple operating system software license agreement.
   949  //
   950  // Please obtain a copy of the License at
   951  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   952  //
   953  // The Original Code and all software distributed under the License are
   954  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   955  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   956  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   957  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   958  // Please see the License for the specific language governing rights and
   959  // limitations under the License.
   960  //
   961  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   962  type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
   963  // Copyright (c) 2012 Apple Inc. All rights reserved.
   964  //
   965  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   966  //
   967  // This file contains Original Code and/or Modifications of Original Code
   968  // as defined in and that are subject to the Apple Public Source License
   969  // Version 2.0 (the 'License'). You may not use this file except in
   970  // compliance with the License. The rights granted to you under the License
   971  // may not be used to create, or enable the creation or redistribution of,
   972  // unlawful or unlicensed copies of an Apple operating system, or to
   973  // circumvent, violate, or enable the circumvention or violation of, any
   974  // terms of an Apple operating system software license agreement.
   975  //
   976  // Please obtain a copy of the License at
   977  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   978  //
   979  // The Original Code and all software distributed under the License are
   980  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   981  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   982  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   983  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   984  // Please see the License for the specific language governing rights and
   985  // limitations under the License.
   986  //
   987  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   988  type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
   989  // Copyright (c) 2012 Apple Inc. All rights reserved.
   990  //
   991  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   992  //
   993  // This file contains Original Code and/or Modifications of Original Code
   994  // as defined in and that are subject to the Apple Public Source License
   995  // Version 2.0 (the 'License'). You may not use this file except in
   996  // compliance with the License. The rights granted to you under the License
   997  // may not be used to create, or enable the creation or redistribution of,
   998  // unlawful or unlicensed copies of an Apple operating system, or to
   999  // circumvent, violate, or enable the circumvention or violation of, any
  1000  // terms of an Apple operating system software license agreement.
  1001  //
  1002  // Please obtain a copy of the License at
  1003  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1004  //
  1005  // The Original Code and all software distributed under the License are
  1006  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1007  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1008  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1009  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1010  // Please see the License for the specific language governing rights and
  1011  // limitations under the License.
  1012  //
  1013  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1014  type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1015  
  1016  type Register_t = Int64_t /* types.h:87:33 */
  1017  
  1018  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1019  //
  1020  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1021  //
  1022  // This file contains Original Code and/or Modifications of Original Code
  1023  // as defined in and that are subject to the Apple Public Source License
  1024  // Version 2.0 (the 'License'). You may not use this file except in
  1025  // compliance with the License. The rights granted to you under the License
  1026  // may not be used to create, or enable the creation or redistribution of,
  1027  // unlawful or unlicensed copies of an Apple operating system, or to
  1028  // circumvent, violate, or enable the circumvention or violation of, any
  1029  // terms of an Apple operating system software license agreement.
  1030  //
  1031  // Please obtain a copy of the License at
  1032  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1033  //
  1034  // The Original Code and all software distributed under the License are
  1035  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1036  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1037  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1038  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1039  // Please see the License for the specific language governing rights and
  1040  // limitations under the License.
  1041  //
  1042  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1043  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1044  //
  1045  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1046  //
  1047  // This file contains Original Code and/or Modifications of Original Code
  1048  // as defined in and that are subject to the Apple Public Source License
  1049  // Version 2.0 (the 'License'). You may not use this file except in
  1050  // compliance with the License. The rights granted to you under the License
  1051  // may not be used to create, or enable the creation or redistribution of,
  1052  // unlawful or unlicensed copies of an Apple operating system, or to
  1053  // circumvent, violate, or enable the circumvention or violation of, any
  1054  // terms of an Apple operating system software license agreement.
  1055  //
  1056  // Please obtain a copy of the License at
  1057  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1058  //
  1059  // The Original Code and all software distributed under the License are
  1060  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1061  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1062  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1063  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1064  // Please see the License for the specific language governing rights and
  1065  // limitations under the License.
  1066  //
  1067  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1068  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1069  
  1070  type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  1071  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1072  //
  1073  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1074  //
  1075  // This file contains Original Code and/or Modifications of Original Code
  1076  // as defined in and that are subject to the Apple Public Source License
  1077  // Version 2.0 (the 'License'). You may not use this file except in
  1078  // compliance with the License. The rights granted to you under the License
  1079  // may not be used to create, or enable the creation or redistribution of,
  1080  // unlawful or unlicensed copies of an Apple operating system, or to
  1081  // circumvent, violate, or enable the circumvention or violation of, any
  1082  // terms of an Apple operating system software license agreement.
  1083  //
  1084  // Please obtain a copy of the License at
  1085  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1086  //
  1087  // The Original Code and all software distributed under the License are
  1088  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1089  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1090  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1091  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1092  // Please see the License for the specific language governing rights and
  1093  // limitations under the License.
  1094  //
  1095  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1096  type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  1097  
  1098  // These types are used for reserving the largest possible size.
  1099  type User_addr_t = U_int64_t  /* types.h:97:33 */
  1100  type User_size_t = U_int64_t  /* types.h:98:33 */
  1101  type User_ssize_t = Int64_t   /* types.h:99:33 */
  1102  type User_long_t = Int64_t    /* types.h:100:33 */
  1103  type User_ulong_t = U_int64_t /* types.h:101:33 */
  1104  type User_time_t = Int64_t    /* types.h:102:33 */
  1105  type User_off_t = Int64_t     /* types.h:103:33 */
  1106  
  1107  // This defines the size of syscall arguments after copying into the kernel:
  1108  type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  1109  
  1110  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1111  //
  1112  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1113  //
  1114  // This file contains Original Code and/or Modifications of Original Code
  1115  // as defined in and that are subject to the Apple Public Source License
  1116  // Version 2.0 (the 'License'). You may not use this file except in
  1117  // compliance with the License. The rights granted to you under the License
  1118  // may not be used to create, or enable the creation or redistribution of,
  1119  // unlawful or unlicensed copies of an Apple operating system, or to
  1120  // circumvent, violate, or enable the circumvention or violation of, any
  1121  // terms of an Apple operating system software license agreement.
  1122  //
  1123  // Please obtain a copy of the License at
  1124  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1125  //
  1126  // The Original Code and all software distributed under the License are
  1127  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1128  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1129  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1130  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1131  // Please see the License for the specific language governing rights and
  1132  // limitations under the License.
  1133  //
  1134  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1135  
  1136  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1137  //
  1138  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1139  //
  1140  // This file contains Original Code and/or Modifications of Original Code
  1141  // as defined in and that are subject to the Apple Public Source License
  1142  // Version 2.0 (the 'License'). You may not use this file except in
  1143  // compliance with the License. The rights granted to you under the License
  1144  // may not be used to create, or enable the creation or redistribution of,
  1145  // unlawful or unlicensed copies of an Apple operating system, or to
  1146  // circumvent, violate, or enable the circumvention or violation of, any
  1147  // terms of an Apple operating system software license agreement.
  1148  //
  1149  // Please obtain a copy of the License at
  1150  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1151  //
  1152  // The Original Code and all software distributed under the License are
  1153  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1154  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1155  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1156  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1157  // Please see the License for the specific language governing rights and
  1158  // limitations under the License.
  1159  //
  1160  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1161  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1162  // Copyright (c) 1991, 1993
  1163  //	The Regents of the University of California.  All rights reserved.
  1164  //
  1165  // This code is derived from software contributed to Berkeley by
  1166  // Berkeley Software Design, Inc.
  1167  //
  1168  // Redistribution and use in source and binary forms, with or without
  1169  // modification, are permitted provided that the following conditions
  1170  // are met:
  1171  // 1. Redistributions of source code must retain the above copyright
  1172  //    notice, this list of conditions and the following disclaimer.
  1173  // 2. Redistributions in binary form must reproduce the above copyright
  1174  //    notice, this list of conditions and the following disclaimer in the
  1175  //    documentation and/or other materials provided with the distribution.
  1176  // 3. All advertising materials mentioning features or use of this software
  1177  //    must display the following acknowledgement:
  1178  //	This product includes software developed by the University of
  1179  //	California, Berkeley and its contributors.
  1180  // 4. Neither the name of the University nor the names of its contributors
  1181  //    may be used to endorse or promote products derived from this software
  1182  //    without specific prior written permission.
  1183  //
  1184  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1185  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1186  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1187  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1188  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1189  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1190  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1191  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1192  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1193  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1194  // SUCH DAMAGE.
  1195  //
  1196  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1197  
  1198  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1199  //
  1200  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1201  //
  1202  // This file contains Original Code and/or Modifications of Original Code
  1203  // as defined in and that are subject to the Apple Public Source License
  1204  // Version 2.0 (the 'License'). You may not use this file except in
  1205  // compliance with the License. The rights granted to you under the License
  1206  // may not be used to create, or enable the creation or redistribution of,
  1207  // unlawful or unlicensed copies of an Apple operating system, or to
  1208  // circumvent, violate, or enable the circumvention or violation of, any
  1209  // terms of an Apple operating system software license agreement.
  1210  //
  1211  // Please obtain a copy of the License at
  1212  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1213  //
  1214  // The Original Code and all software distributed under the License are
  1215  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1216  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1217  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1218  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1219  // Please see the License for the specific language governing rights and
  1220  // limitations under the License.
  1221  //
  1222  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1223  
  1224  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  1225  //
  1226  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1227  //
  1228  // This file contains Original Code and/or Modifications of Original Code
  1229  // as defined in and that are subject to the Apple Public Source License
  1230  // Version 2.0 (the 'License'). You may not use this file except in
  1231  // compliance with the License. The rights granted to you under the License
  1232  // may not be used to create, or enable the creation or redistribution of,
  1233  // unlawful or unlicensed copies of an Apple operating system, or to
  1234  // circumvent, violate, or enable the circumvention or violation of, any
  1235  // terms of an Apple operating system software license agreement.
  1236  //
  1237  // Please obtain a copy of the License at
  1238  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1239  //
  1240  // The Original Code and all software distributed under the License are
  1241  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1242  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1243  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1244  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1245  // Please see the License for the specific language governing rights and
  1246  // limitations under the License.
  1247  //
  1248  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1249  
  1250  // Type definitions; takes common type definitions that must be used
  1251  // in multiple header files due to [XSI], removes them from the system
  1252  // space, and puts them in the implementation space.
  1253  
  1254  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
  1255  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
  1256  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
  1257  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  1258  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  1259  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
  1260  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  1261  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  1262  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
  1263  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
  1264  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1265  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
  1266  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
  1267  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
  1268  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
  1269  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
  1270  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
  1271  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
  1272  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
  1273  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
  1274  
  1275  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1276  //
  1277  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1278  //
  1279  // This file contains Original Code and/or Modifications of Original Code
  1280  // as defined in and that are subject to the Apple Public Source License
  1281  // Version 2.0 (the 'License'). You may not use this file except in
  1282  // compliance with the License. The rights granted to you under the License
  1283  // may not be used to create, or enable the creation or redistribution of,
  1284  // unlawful or unlicensed copies of an Apple operating system, or to
  1285  // circumvent, violate, or enable the circumvention or violation of, any
  1286  // terms of an Apple operating system software license agreement.
  1287  //
  1288  // Please obtain a copy of the License at
  1289  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1290  //
  1291  // The Original Code and all software distributed under the License are
  1292  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1293  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1294  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1295  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1296  // Please see the License for the specific language governing rights and
  1297  // limitations under the License.
  1298  //
  1299  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1300  
  1301  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1302  //
  1303  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1304  //
  1305  // This file contains Original Code and/or Modifications of Original Code
  1306  // as defined in and that are subject to the Apple Public Source License
  1307  // Version 2.0 (the 'License'). You may not use this file except in
  1308  // compliance with the License. The rights granted to you under the License
  1309  // may not be used to create, or enable the creation or redistribution of,
  1310  // unlawful or unlicensed copies of an Apple operating system, or to
  1311  // circumvent, violate, or enable the circumvention or violation of, any
  1312  // terms of an Apple operating system software license agreement.
  1313  //
  1314  // Please obtain a copy of the License at
  1315  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1316  //
  1317  // The Original Code and all software distributed under the License are
  1318  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1319  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1320  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1321  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1322  // Please see the License for the specific language governing rights and
  1323  // limitations under the License.
  1324  //
  1325  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1326  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1327  // Copyright (c) 1991, 1993
  1328  //	The Regents of the University of California.  All rights reserved.
  1329  //
  1330  // This code is derived from software contributed to Berkeley by
  1331  // Berkeley Software Design, Inc.
  1332  //
  1333  // Redistribution and use in source and binary forms, with or without
  1334  // modification, are permitted provided that the following conditions
  1335  // are met:
  1336  // 1. Redistributions of source code must retain the above copyright
  1337  //    notice, this list of conditions and the following disclaimer.
  1338  // 2. Redistributions in binary form must reproduce the above copyright
  1339  //    notice, this list of conditions and the following disclaimer in the
  1340  //    documentation and/or other materials provided with the distribution.
  1341  // 3. All advertising materials mentioning features or use of this software
  1342  //    must display the following acknowledgement:
  1343  //	This product includes software developed by the University of
  1344  //	California, Berkeley and its contributors.
  1345  // 4. Neither the name of the University nor the names of its contributors
  1346  //    may be used to endorse or promote products derived from this software
  1347  //    without specific prior written permission.
  1348  //
  1349  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1350  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1351  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1352  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1353  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1354  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1355  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1356  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1357  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1358  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1359  // SUCH DAMAGE.
  1360  //
  1361  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1362  
  1363  // pthread opaque structures
  1364  
  1365  type X__darwin_pthread_handler_rec = struct {
  1366  	F__routine uintptr
  1367  	F__arg     uintptr
  1368  	F__next    uintptr
  1369  } /* _pthread_types.h:57:1 */
  1370  
  1371  type X_opaque_pthread_attr_t = struct {
  1372  	F__sig    int64
  1373  	F__opaque [56]int8
  1374  } /* _pthread_types.h:63:1 */
  1375  
  1376  type X_opaque_pthread_cond_t = struct {
  1377  	F__sig    int64
  1378  	F__opaque [40]int8
  1379  } /* _pthread_types.h:68:1 */
  1380  
  1381  type X_opaque_pthread_condattr_t = struct {
  1382  	F__sig    int64
  1383  	F__opaque [8]int8
  1384  } /* _pthread_types.h:73:1 */
  1385  
  1386  type X_opaque_pthread_mutex_t = struct {
  1387  	F__sig    int64
  1388  	F__opaque [56]int8
  1389  } /* _pthread_types.h:78:1 */
  1390  
  1391  type X_opaque_pthread_mutexattr_t = struct {
  1392  	F__sig    int64
  1393  	F__opaque [8]int8
  1394  } /* _pthread_types.h:83:1 */
  1395  
  1396  type X_opaque_pthread_once_t = struct {
  1397  	F__sig    int64
  1398  	F__opaque [8]int8
  1399  } /* _pthread_types.h:88:1 */
  1400  
  1401  type X_opaque_pthread_rwlock_t = struct {
  1402  	F__sig    int64
  1403  	F__opaque [192]int8
  1404  } /* _pthread_types.h:93:1 */
  1405  
  1406  type X_opaque_pthread_rwlockattr_t = struct {
  1407  	F__sig    int64
  1408  	F__opaque [16]int8
  1409  } /* _pthread_types.h:98:1 */
  1410  
  1411  type X_opaque_pthread_t = struct {
  1412  	F__sig           int64
  1413  	F__cleanup_stack uintptr
  1414  	F__opaque        [8176]int8
  1415  } /* _pthread_types.h:103:1 */
  1416  
  1417  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
  1418  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
  1419  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
  1420  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
  1421  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
  1422  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
  1423  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
  1424  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
  1425  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1426  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
  1427  
  1428  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1429  //
  1430  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1431  //
  1432  // This file contains Original Code and/or Modifications of Original Code
  1433  // as defined in and that are subject to the Apple Public Source License
  1434  // Version 2.0 (the 'License'). You may not use this file except in
  1435  // compliance with the License. The rights granted to you under the License
  1436  // may not be used to create, or enable the creation or redistribution of,
  1437  // unlawful or unlicensed copies of an Apple operating system, or to
  1438  // circumvent, violate, or enable the circumvention or violation of, any
  1439  // terms of an Apple operating system software license agreement.
  1440  //
  1441  // Please obtain a copy of the License at
  1442  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1443  //
  1444  // The Original Code and all software distributed under the License are
  1445  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1446  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1447  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1448  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1449  // Please see the License for the specific language governing rights and
  1450  // limitations under the License.
  1451  //
  1452  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1453  type U_char = uint8 /* _u_char.h:30:25 */
  1454  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1455  //
  1456  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1457  //
  1458  // This file contains Original Code and/or Modifications of Original Code
  1459  // as defined in and that are subject to the Apple Public Source License
  1460  // Version 2.0 (the 'License'). You may not use this file except in
  1461  // compliance with the License. The rights granted to you under the License
  1462  // may not be used to create, or enable the creation or redistribution of,
  1463  // unlawful or unlicensed copies of an Apple operating system, or to
  1464  // circumvent, violate, or enable the circumvention or violation of, any
  1465  // terms of an Apple operating system software license agreement.
  1466  //
  1467  // Please obtain a copy of the License at
  1468  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1469  //
  1470  // The Original Code and all software distributed under the License are
  1471  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1472  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1473  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1474  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1475  // Please see the License for the specific language governing rights and
  1476  // limitations under the License.
  1477  //
  1478  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1479  type U_short = uint16 /* _u_short.h:30:25 */
  1480  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1481  //
  1482  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1483  //
  1484  // This file contains Original Code and/or Modifications of Original Code
  1485  // as defined in and that are subject to the Apple Public Source License
  1486  // Version 2.0 (the 'License'). You may not use this file except in
  1487  // compliance with the License. The rights granted to you under the License
  1488  // may not be used to create, or enable the creation or redistribution of,
  1489  // unlawful or unlicensed copies of an Apple operating system, or to
  1490  // circumvent, violate, or enable the circumvention or violation of, any
  1491  // terms of an Apple operating system software license agreement.
  1492  //
  1493  // Please obtain a copy of the License at
  1494  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1495  //
  1496  // The Original Code and all software distributed under the License are
  1497  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1498  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1499  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1500  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1501  // Please see the License for the specific language governing rights and
  1502  // limitations under the License.
  1503  //
  1504  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1505  type U_int = uint32  /* _u_int.h:30:25 */
  1506  type U_long = uint64 /* types.h:88:33 */
  1507  type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  1508  type Uint = uint32   /* types.h:92:33 */ // Sys V compatibility
  1509  
  1510  type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
  1511  type Quad_t = Int64_t     /* types.h:96:33 */
  1512  type Qaddr_t = uintptr    /* types.h:97:16 */
  1513  
  1514  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1515  //
  1516  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1517  //
  1518  // This file contains Original Code and/or Modifications of Original Code
  1519  // as defined in and that are subject to the Apple Public Source License
  1520  // Version 2.0 (the 'License'). You may not use this file except in
  1521  // compliance with the License. The rights granted to you under the License
  1522  // may not be used to create, or enable the creation or redistribution of,
  1523  // unlawful or unlicensed copies of an Apple operating system, or to
  1524  // circumvent, violate, or enable the circumvention or violation of, any
  1525  // terms of an Apple operating system software license agreement.
  1526  //
  1527  // Please obtain a copy of the License at
  1528  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1529  //
  1530  // The Original Code and all software distributed under the License are
  1531  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1532  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1533  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1534  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1535  // Please see the License for the specific language governing rights and
  1536  // limitations under the License.
  1537  //
  1538  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1539  type Caddr_t = uintptr /* _caddr_t.h:30:14 */
  1540  
  1541  type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
  1542  
  1543  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1544  //
  1545  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1546  //
  1547  // This file contains Original Code and/or Modifications of Original Code
  1548  // as defined in and that are subject to the Apple Public Source License
  1549  // Version 2.0 (the 'License'). You may not use this file except in
  1550  // compliance with the License. The rights granted to you under the License
  1551  // may not be used to create, or enable the creation or redistribution of,
  1552  // unlawful or unlicensed copies of an Apple operating system, or to
  1553  // circumvent, violate, or enable the circumvention or violation of, any
  1554  // terms of an Apple operating system software license agreement.
  1555  //
  1556  // Please obtain a copy of the License at
  1557  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1558  //
  1559  // The Original Code and all software distributed under the License are
  1560  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1561  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1562  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1563  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1564  // Please see the License for the specific language governing rights and
  1565  // limitations under the License.
  1566  //
  1567  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1568  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1569  //
  1570  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1571  //
  1572  // This file contains Original Code and/or Modifications of Original Code
  1573  // as defined in and that are subject to the Apple Public Source License
  1574  // Version 2.0 (the 'License'). You may not use this file except in
  1575  // compliance with the License. The rights granted to you under the License
  1576  // may not be used to create, or enable the creation or redistribution of,
  1577  // unlawful or unlicensed copies of an Apple operating system, or to
  1578  // circumvent, violate, or enable the circumvention or violation of, any
  1579  // terms of an Apple operating system software license agreement.
  1580  //
  1581  // Please obtain a copy of the License at
  1582  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1583  //
  1584  // The Original Code and all software distributed under the License are
  1585  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1586  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1587  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1588  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1589  // Please see the License for the specific language governing rights and
  1590  // limitations under the License.
  1591  //
  1592  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1593  
  1594  type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  1595  
  1596  type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
  1597  
  1598  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1599  //
  1600  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1601  //
  1602  // This file contains Original Code and/or Modifications of Original Code
  1603  // as defined in and that are subject to the Apple Public Source License
  1604  // Version 2.0 (the 'License'). You may not use this file except in
  1605  // compliance with the License. The rights granted to you under the License
  1606  // may not be used to create, or enable the creation or redistribution of,
  1607  // unlawful or unlicensed copies of an Apple operating system, or to
  1608  // circumvent, violate, or enable the circumvention or violation of, any
  1609  // terms of an Apple operating system software license agreement.
  1610  //
  1611  // Please obtain a copy of the License at
  1612  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1613  //
  1614  // The Original Code and all software distributed under the License are
  1615  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1616  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1617  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1618  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1619  // Please see the License for the specific language governing rights and
  1620  // limitations under the License.
  1621  //
  1622  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1623  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1624  //
  1625  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1626  //
  1627  // This file contains Original Code and/or Modifications of Original Code
  1628  // as defined in and that are subject to the Apple Public Source License
  1629  // Version 2.0 (the 'License'). You may not use this file except in
  1630  // compliance with the License. The rights granted to you under the License
  1631  // may not be used to create, or enable the creation or redistribution of,
  1632  // unlawful or unlicensed copies of an Apple operating system, or to
  1633  // circumvent, violate, or enable the circumvention or violation of, any
  1634  // terms of an Apple operating system software license agreement.
  1635  //
  1636  // Please obtain a copy of the License at
  1637  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1638  //
  1639  // The Original Code and all software distributed under the License are
  1640  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1641  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1642  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1643  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1644  // Please see the License for the specific language governing rights and
  1645  // limitations under the License.
  1646  //
  1647  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1648  
  1649  type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
  1650  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1651  //
  1652  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1653  //
  1654  // This file contains Original Code and/or Modifications of Original Code
  1655  // as defined in and that are subject to the Apple Public Source License
  1656  // Version 2.0 (the 'License'). You may not use this file except in
  1657  // compliance with the License. The rights granted to you under the License
  1658  // may not be used to create, or enable the creation or redistribution of,
  1659  // unlawful or unlicensed copies of an Apple operating system, or to
  1660  // circumvent, violate, or enable the circumvention or violation of, any
  1661  // terms of an Apple operating system software license agreement.
  1662  //
  1663  // Please obtain a copy of the License at
  1664  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1665  //
  1666  // The Original Code and all software distributed under the License are
  1667  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1668  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1669  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1670  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1671  // Please see the License for the specific language governing rights and
  1672  // limitations under the License.
  1673  //
  1674  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1675  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1676  //
  1677  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1678  //
  1679  // This file contains Original Code and/or Modifications of Original Code
  1680  // as defined in and that are subject to the Apple Public Source License
  1681  // Version 2.0 (the 'License'). You may not use this file except in
  1682  // compliance with the License. The rights granted to you under the License
  1683  // may not be used to create, or enable the creation or redistribution of,
  1684  // unlawful or unlicensed copies of an Apple operating system, or to
  1685  // circumvent, violate, or enable the circumvention or violation of, any
  1686  // terms of an Apple operating system software license agreement.
  1687  //
  1688  // Please obtain a copy of the License at
  1689  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1690  //
  1691  // The Original Code and all software distributed under the License are
  1692  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1693  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1694  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1695  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1696  // Please see the License for the specific language governing rights and
  1697  // limitations under the License.
  1698  //
  1699  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1700  
  1701  type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
  1702  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1703  //
  1704  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1705  //
  1706  // This file contains Original Code and/or Modifications of Original Code
  1707  // as defined in and that are subject to the Apple Public Source License
  1708  // Version 2.0 (the 'License'). You may not use this file except in
  1709  // compliance with the License. The rights granted to you under the License
  1710  // may not be used to create, or enable the creation or redistribution of,
  1711  // unlawful or unlicensed copies of an Apple operating system, or to
  1712  // circumvent, violate, or enable the circumvention or violation of, any
  1713  // terms of an Apple operating system software license agreement.
  1714  //
  1715  // Please obtain a copy of the License at
  1716  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1717  //
  1718  // The Original Code and all software distributed under the License are
  1719  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1720  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1721  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1722  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1723  // Please see the License for the specific language governing rights and
  1724  // limitations under the License.
  1725  //
  1726  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1727  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1728  //
  1729  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1730  //
  1731  // This file contains Original Code and/or Modifications of Original Code
  1732  // as defined in and that are subject to the Apple Public Source License
  1733  // Version 2.0 (the 'License'). You may not use this file except in
  1734  // compliance with the License. The rights granted to you under the License
  1735  // may not be used to create, or enable the creation or redistribution of,
  1736  // unlawful or unlicensed copies of an Apple operating system, or to
  1737  // circumvent, violate, or enable the circumvention or violation of, any
  1738  // terms of an Apple operating system software license agreement.
  1739  //
  1740  // Please obtain a copy of the License at
  1741  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1742  //
  1743  // The Original Code and all software distributed under the License are
  1744  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1745  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1746  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1747  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1748  // Please see the License for the specific language governing rights and
  1749  // limitations under the License.
  1750  //
  1751  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1752  
  1753  type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  1754  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1755  //
  1756  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1757  //
  1758  // This file contains Original Code and/or Modifications of Original Code
  1759  // as defined in and that are subject to the Apple Public Source License
  1760  // Version 2.0 (the 'License'). You may not use this file except in
  1761  // compliance with the License. The rights granted to you under the License
  1762  // may not be used to create, or enable the creation or redistribution of,
  1763  // unlawful or unlicensed copies of an Apple operating system, or to
  1764  // circumvent, violate, or enable the circumvention or violation of, any
  1765  // terms of an Apple operating system software license agreement.
  1766  //
  1767  // Please obtain a copy of the License at
  1768  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1769  //
  1770  // The Original Code and all software distributed under the License are
  1771  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1772  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1773  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1774  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1775  // Please see the License for the specific language governing rights and
  1776  // limitations under the License.
  1777  //
  1778  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1779  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1780  //
  1781  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1782  //
  1783  // This file contains Original Code and/or Modifications of Original Code
  1784  // as defined in and that are subject to the Apple Public Source License
  1785  // Version 2.0 (the 'License'). You may not use this file except in
  1786  // compliance with the License. The rights granted to you under the License
  1787  // may not be used to create, or enable the creation or redistribution of,
  1788  // unlawful or unlicensed copies of an Apple operating system, or to
  1789  // circumvent, violate, or enable the circumvention or violation of, any
  1790  // terms of an Apple operating system software license agreement.
  1791  //
  1792  // Please obtain a copy of the License at
  1793  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1794  //
  1795  // The Original Code and all software distributed under the License are
  1796  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1797  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1798  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1799  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1800  // Please see the License for the specific language governing rights and
  1801  // limitations under the License.
  1802  //
  1803  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1804  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1805  type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
  1806  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1807  //
  1808  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1809  //
  1810  // This file contains Original Code and/or Modifications of Original Code
  1811  // as defined in and that are subject to the Apple Public Source License
  1812  // Version 2.0 (the 'License'). You may not use this file except in
  1813  // compliance with the License. The rights granted to you under the License
  1814  // may not be used to create, or enable the creation or redistribution of,
  1815  // unlawful or unlicensed copies of an Apple operating system, or to
  1816  // circumvent, violate, or enable the circumvention or violation of, any
  1817  // terms of an Apple operating system software license agreement.
  1818  //
  1819  // Please obtain a copy of the License at
  1820  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1821  //
  1822  // The Original Code and all software distributed under the License are
  1823  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1824  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1825  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1826  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1827  // Please see the License for the specific language governing rights and
  1828  // limitations under the License.
  1829  //
  1830  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1831  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1832  //
  1833  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1834  //
  1835  // This file contains Original Code and/or Modifications of Original Code
  1836  // as defined in and that are subject to the Apple Public Source License
  1837  // Version 2.0 (the 'License'). You may not use this file except in
  1838  // compliance with the License. The rights granted to you under the License
  1839  // may not be used to create, or enable the creation or redistribution of,
  1840  // unlawful or unlicensed copies of an Apple operating system, or to
  1841  // circumvent, violate, or enable the circumvention or violation of, any
  1842  // terms of an Apple operating system software license agreement.
  1843  //
  1844  // Please obtain a copy of the License at
  1845  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1846  //
  1847  // The Original Code and all software distributed under the License are
  1848  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1849  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1850  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1851  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1852  // Please see the License for the specific language governing rights and
  1853  // limitations under the License.
  1854  //
  1855  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1856  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1857  type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
  1858  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1859  //
  1860  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1861  //
  1862  // This file contains Original Code and/or Modifications of Original Code
  1863  // as defined in and that are subject to the Apple Public Source License
  1864  // Version 2.0 (the 'License'). You may not use this file except in
  1865  // compliance with the License. The rights granted to you under the License
  1866  // may not be used to create, or enable the creation or redistribution of,
  1867  // unlawful or unlicensed copies of an Apple operating system, or to
  1868  // circumvent, violate, or enable the circumvention or violation of, any
  1869  // terms of an Apple operating system software license agreement.
  1870  //
  1871  // Please obtain a copy of the License at
  1872  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1873  //
  1874  // The Original Code and all software distributed under the License are
  1875  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1876  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1877  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1878  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1879  // Please see the License for the specific language governing rights and
  1880  // limitations under the License.
  1881  //
  1882  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1883  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1884  //
  1885  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1886  //
  1887  // This file contains Original Code and/or Modifications of Original Code
  1888  // as defined in and that are subject to the Apple Public Source License
  1889  // Version 2.0 (the 'License'). You may not use this file except in
  1890  // compliance with the License. The rights granted to you under the License
  1891  // may not be used to create, or enable the creation or redistribution of,
  1892  // unlawful or unlicensed copies of an Apple operating system, or to
  1893  // circumvent, violate, or enable the circumvention or violation of, any
  1894  // terms of an Apple operating system software license agreement.
  1895  //
  1896  // Please obtain a copy of the License at
  1897  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1898  //
  1899  // The Original Code and all software distributed under the License are
  1900  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1901  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1902  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1903  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1904  // Please see the License for the specific language governing rights and
  1905  // limitations under the License.
  1906  //
  1907  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1908  
  1909  type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
  1910  
  1911  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1912  //
  1913  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1914  //
  1915  // This file contains Original Code and/or Modifications of Original Code
  1916  // as defined in and that are subject to the Apple Public Source License
  1917  // Version 2.0 (the 'License'). You may not use this file except in
  1918  // compliance with the License. The rights granted to you under the License
  1919  // may not be used to create, or enable the creation or redistribution of,
  1920  // unlawful or unlicensed copies of an Apple operating system, or to
  1921  // circumvent, violate, or enable the circumvention or violation of, any
  1922  // terms of an Apple operating system software license agreement.
  1923  //
  1924  // Please obtain a copy of the License at
  1925  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1926  //
  1927  // The Original Code and all software distributed under the License are
  1928  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1929  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1930  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1931  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1932  // Please see the License for the specific language governing rights and
  1933  // limitations under the License.
  1934  //
  1935  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1936  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1937  //
  1938  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1939  //
  1940  // This file contains Original Code and/or Modifications of Original Code
  1941  // as defined in and that are subject to the Apple Public Source License
  1942  // Version 2.0 (the 'License'). You may not use this file except in
  1943  // compliance with the License. The rights granted to you under the License
  1944  // may not be used to create, or enable the creation or redistribution of,
  1945  // unlawful or unlicensed copies of an Apple operating system, or to
  1946  // circumvent, violate, or enable the circumvention or violation of, any
  1947  // terms of an Apple operating system software license agreement.
  1948  //
  1949  // Please obtain a copy of the License at
  1950  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1951  //
  1952  // The Original Code and all software distributed under the License are
  1953  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1954  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1955  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1956  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1957  // Please see the License for the specific language governing rights and
  1958  // limitations under the License.
  1959  //
  1960  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1961  
  1962  type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
  1963  
  1964  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1965  //
  1966  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1967  //
  1968  // This file contains Original Code and/or Modifications of Original Code
  1969  // as defined in and that are subject to the Apple Public Source License
  1970  // Version 2.0 (the 'License'). You may not use this file except in
  1971  // compliance with the License. The rights granted to you under the License
  1972  // may not be used to create, or enable the creation or redistribution of,
  1973  // unlawful or unlicensed copies of an Apple operating system, or to
  1974  // circumvent, violate, or enable the circumvention or violation of, any
  1975  // terms of an Apple operating system software license agreement.
  1976  //
  1977  // Please obtain a copy of the License at
  1978  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1979  //
  1980  // The Original Code and all software distributed under the License are
  1981  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1982  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1983  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1984  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1985  // Please see the License for the specific language governing rights and
  1986  // limitations under the License.
  1987  //
  1988  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1989  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1990  //
  1991  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1992  //
  1993  // This file contains Original Code and/or Modifications of Original Code
  1994  // as defined in and that are subject to the Apple Public Source License
  1995  // Version 2.0 (the 'License'). You may not use this file except in
  1996  // compliance with the License. The rights granted to you under the License
  1997  // may not be used to create, or enable the creation or redistribution of,
  1998  // unlawful or unlicensed copies of an Apple operating system, or to
  1999  // circumvent, violate, or enable the circumvention or violation of, any
  2000  // terms of an Apple operating system software license agreement.
  2001  //
  2002  // Please obtain a copy of the License at
  2003  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2004  //
  2005  // The Original Code and all software distributed under the License are
  2006  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2007  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2008  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2009  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2010  // Please see the License for the specific language governing rights and
  2011  // limitations under the License.
  2012  //
  2013  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2014  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2015  type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  2016  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2017  //
  2018  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2019  //
  2020  // This file contains Original Code and/or Modifications of Original Code
  2021  // as defined in and that are subject to the Apple Public Source License
  2022  // Version 2.0 (the 'License'). You may not use this file except in
  2023  // compliance with the License. The rights granted to you under the License
  2024  // may not be used to create, or enable the creation or redistribution of,
  2025  // unlawful or unlicensed copies of an Apple operating system, or to
  2026  // circumvent, violate, or enable the circumvention or violation of, any
  2027  // terms of an Apple operating system software license agreement.
  2028  //
  2029  // Please obtain a copy of the License at
  2030  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2031  //
  2032  // The Original Code and all software distributed under the License are
  2033  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2034  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2035  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2036  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2037  // Please see the License for the specific language governing rights and
  2038  // limitations under the License.
  2039  //
  2040  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2041  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2042  //
  2043  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2044  //
  2045  // This file contains Original Code and/or Modifications of Original Code
  2046  // as defined in and that are subject to the Apple Public Source License
  2047  // Version 2.0 (the 'License'). You may not use this file except in
  2048  // compliance with the License. The rights granted to you under the License
  2049  // may not be used to create, or enable the creation or redistribution of,
  2050  // unlawful or unlicensed copies of an Apple operating system, or to
  2051  // circumvent, violate, or enable the circumvention or violation of, any
  2052  // terms of an Apple operating system software license agreement.
  2053  //
  2054  // Please obtain a copy of the License at
  2055  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2056  //
  2057  // The Original Code and all software distributed under the License are
  2058  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2059  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2060  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2061  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2062  // Please see the License for the specific language governing rights and
  2063  // limitations under the License.
  2064  //
  2065  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2066  
  2067  type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  2068  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2069  //
  2070  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2071  //
  2072  // This file contains Original Code and/or Modifications of Original Code
  2073  // as defined in and that are subject to the Apple Public Source License
  2074  // Version 2.0 (the 'License'). You may not use this file except in
  2075  // compliance with the License. The rights granted to you under the License
  2076  // may not be used to create, or enable the creation or redistribution of,
  2077  // unlawful or unlicensed copies of an Apple operating system, or to
  2078  // circumvent, violate, or enable the circumvention or violation of, any
  2079  // terms of an Apple operating system software license agreement.
  2080  //
  2081  // Please obtain a copy of the License at
  2082  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2083  //
  2084  // The Original Code and all software distributed under the License are
  2085  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2086  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2087  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2088  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2089  // Please see the License for the specific language governing rights and
  2090  // limitations under the License.
  2091  //
  2092  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2093  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2094  //
  2095  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2096  //
  2097  // This file contains Original Code and/or Modifications of Original Code
  2098  // as defined in and that are subject to the Apple Public Source License
  2099  // Version 2.0 (the 'License'). You may not use this file except in
  2100  // compliance with the License. The rights granted to you under the License
  2101  // may not be used to create, or enable the creation or redistribution of,
  2102  // unlawful or unlicensed copies of an Apple operating system, or to
  2103  // circumvent, violate, or enable the circumvention or violation of, any
  2104  // terms of an Apple operating system software license agreement.
  2105  //
  2106  // Please obtain a copy of the License at
  2107  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2108  //
  2109  // The Original Code and all software distributed under the License are
  2110  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2111  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2112  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2113  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2114  // Please see the License for the specific language governing rights and
  2115  // limitations under the License.
  2116  //
  2117  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2118  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2119  type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
  2120  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2121  //
  2122  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2123  //
  2124  // This file contains Original Code and/or Modifications of Original Code
  2125  // as defined in and that are subject to the Apple Public Source License
  2126  // Version 2.0 (the 'License'). You may not use this file except in
  2127  // compliance with the License. The rights granted to you under the License
  2128  // may not be used to create, or enable the creation or redistribution of,
  2129  // unlawful or unlicensed copies of an Apple operating system, or to
  2130  // circumvent, violate, or enable the circumvention or violation of, any
  2131  // terms of an Apple operating system software license agreement.
  2132  //
  2133  // Please obtain a copy of the License at
  2134  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2135  //
  2136  // The Original Code and all software distributed under the License are
  2137  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2138  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2139  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2140  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2141  // Please see the License for the specific language governing rights and
  2142  // limitations under the License.
  2143  //
  2144  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2145  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2146  //
  2147  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2148  //
  2149  // This file contains Original Code and/or Modifications of Original Code
  2150  // as defined in and that are subject to the Apple Public Source License
  2151  // Version 2.0 (the 'License'). You may not use this file except in
  2152  // compliance with the License. The rights granted to you under the License
  2153  // may not be used to create, or enable the creation or redistribution of,
  2154  // unlawful or unlicensed copies of an Apple operating system, or to
  2155  // circumvent, violate, or enable the circumvention or violation of, any
  2156  // terms of an Apple operating system software license agreement.
  2157  //
  2158  // Please obtain a copy of the License at
  2159  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2160  //
  2161  // The Original Code and all software distributed under the License are
  2162  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2163  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2164  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2165  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2166  // Please see the License for the specific language governing rights and
  2167  // limitations under the License.
  2168  //
  2169  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2170  
  2171  type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  2172  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2173  //
  2174  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2175  //
  2176  // This file contains Original Code and/or Modifications of Original Code
  2177  // as defined in and that are subject to the Apple Public Source License
  2178  // Version 2.0 (the 'License'). You may not use this file except in
  2179  // compliance with the License. The rights granted to you under the License
  2180  // may not be used to create, or enable the creation or redistribution of,
  2181  // unlawful or unlicensed copies of an Apple operating system, or to
  2182  // circumvent, violate, or enable the circumvention or violation of, any
  2183  // terms of an Apple operating system software license agreement.
  2184  //
  2185  // Please obtain a copy of the License at
  2186  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2187  //
  2188  // The Original Code and all software distributed under the License are
  2189  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2190  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2191  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2192  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2193  // Please see the License for the specific language governing rights and
  2194  // limitations under the License.
  2195  //
  2196  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2197  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2198  //
  2199  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2200  //
  2201  // This file contains Original Code and/or Modifications of Original Code
  2202  // as defined in and that are subject to the Apple Public Source License
  2203  // Version 2.0 (the 'License'). You may not use this file except in
  2204  // compliance with the License. The rights granted to you under the License
  2205  // may not be used to create, or enable the creation or redistribution of,
  2206  // unlawful or unlicensed copies of an Apple operating system, or to
  2207  // circumvent, violate, or enable the circumvention or violation of, any
  2208  // terms of an Apple operating system software license agreement.
  2209  //
  2210  // Please obtain a copy of the License at
  2211  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2212  //
  2213  // The Original Code and all software distributed under the License are
  2214  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2215  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2216  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2217  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2218  // Please see the License for the specific language governing rights and
  2219  // limitations under the License.
  2220  //
  2221  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2222  
  2223  type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  2224  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2225  //
  2226  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2227  //
  2228  // This file contains Original Code and/or Modifications of Original Code
  2229  // as defined in and that are subject to the Apple Public Source License
  2230  // Version 2.0 (the 'License'). You may not use this file except in
  2231  // compliance with the License. The rights granted to you under the License
  2232  // may not be used to create, or enable the creation or redistribution of,
  2233  // unlawful or unlicensed copies of an Apple operating system, or to
  2234  // circumvent, violate, or enable the circumvention or violation of, any
  2235  // terms of an Apple operating system software license agreement.
  2236  //
  2237  // Please obtain a copy of the License at
  2238  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2239  //
  2240  // The Original Code and all software distributed under the License are
  2241  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2242  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2243  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2244  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2245  // Please see the License for the specific language governing rights and
  2246  // limitations under the License.
  2247  //
  2248  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2249  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2250  //
  2251  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2252  //
  2253  // This file contains Original Code and/or Modifications of Original Code
  2254  // as defined in and that are subject to the Apple Public Source License
  2255  // Version 2.0 (the 'License'). You may not use this file except in
  2256  // compliance with the License. The rights granted to you under the License
  2257  // may not be used to create, or enable the creation or redistribution of,
  2258  // unlawful or unlicensed copies of an Apple operating system, or to
  2259  // circumvent, violate, or enable the circumvention or violation of, any
  2260  // terms of an Apple operating system software license agreement.
  2261  //
  2262  // Please obtain a copy of the License at
  2263  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2264  //
  2265  // The Original Code and all software distributed under the License are
  2266  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2267  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2268  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2269  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2270  // Please see the License for the specific language governing rights and
  2271  // limitations under the License.
  2272  //
  2273  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2274  
  2275  type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  2276  
  2277  type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
  2278  type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
  2279  
  2280  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2281  //
  2282  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2283  //
  2284  // This file contains Original Code and/or Modifications of Original Code
  2285  // as defined in and that are subject to the Apple Public Source License
  2286  // Version 2.0 (the 'License'). You may not use this file except in
  2287  // compliance with the License. The rights granted to you under the License
  2288  // may not be used to create, or enable the creation or redistribution of,
  2289  // unlawful or unlicensed copies of an Apple operating system, or to
  2290  // circumvent, violate, or enable the circumvention or violation of, any
  2291  // terms of an Apple operating system software license agreement.
  2292  //
  2293  // Please obtain a copy of the License at
  2294  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2295  //
  2296  // The Original Code and all software distributed under the License are
  2297  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2298  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2299  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2300  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2301  // Please see the License for the specific language governing rights and
  2302  // limitations under the License.
  2303  //
  2304  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2305  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2306  //
  2307  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2308  //
  2309  // This file contains Original Code and/or Modifications of Original Code
  2310  // as defined in and that are subject to the Apple Public Source License
  2311  // Version 2.0 (the 'License'). You may not use this file except in
  2312  // compliance with the License. The rights granted to you under the License
  2313  // may not be used to create, or enable the creation or redistribution of,
  2314  // unlawful or unlicensed copies of an Apple operating system, or to
  2315  // circumvent, violate, or enable the circumvention or violation of, any
  2316  // terms of an Apple operating system software license agreement.
  2317  //
  2318  // Please obtain a copy of the License at
  2319  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2320  //
  2321  // The Original Code and all software distributed under the License are
  2322  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2323  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2324  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2325  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2326  // Please see the License for the specific language governing rights and
  2327  // limitations under the License.
  2328  //
  2329  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2330  
  2331  type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  2332  
  2333  // Major, minor numbers, dev_t's.
  2334  
  2335  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2336  //
  2337  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2338  //
  2339  // This file contains Original Code and/or Modifications of Original Code
  2340  // as defined in and that are subject to the Apple Public Source License
  2341  // Version 2.0 (the 'License'). You may not use this file except in
  2342  // compliance with the License. The rights granted to you under the License
  2343  // may not be used to create, or enable the creation or redistribution of,
  2344  // unlawful or unlicensed copies of an Apple operating system, or to
  2345  // circumvent, violate, or enable the circumvention or violation of, any
  2346  // terms of an Apple operating system software license agreement.
  2347  //
  2348  // Please obtain a copy of the License at
  2349  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2350  //
  2351  // The Original Code and all software distributed under the License are
  2352  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2353  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2354  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2355  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2356  // Please see the License for the specific language governing rights and
  2357  // limitations under the License.
  2358  //
  2359  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2360  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2361  //
  2362  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2363  //
  2364  // This file contains Original Code and/or Modifications of Original Code
  2365  // as defined in and that are subject to the Apple Public Source License
  2366  // Version 2.0 (the 'License'). You may not use this file except in
  2367  // compliance with the License. The rights granted to you under the License
  2368  // may not be used to create, or enable the creation or redistribution of,
  2369  // unlawful or unlicensed copies of an Apple operating system, or to
  2370  // circumvent, violate, or enable the circumvention or violation of, any
  2371  // terms of an Apple operating system software license agreement.
  2372  //
  2373  // Please obtain a copy of the License at
  2374  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2375  //
  2376  // The Original Code and all software distributed under the License are
  2377  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2378  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2379  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2380  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2381  // Please see the License for the specific language governing rights and
  2382  // limitations under the License.
  2383  //
  2384  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2385  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2386  type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
  2387  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2388  //
  2389  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2390  //
  2391  // This file contains Original Code and/or Modifications of Original Code
  2392  // as defined in and that are subject to the Apple Public Source License
  2393  // Version 2.0 (the 'License'). You may not use this file except in
  2394  // compliance with the License. The rights granted to you under the License
  2395  // may not be used to create, or enable the creation or redistribution of,
  2396  // unlawful or unlicensed copies of an Apple operating system, or to
  2397  // circumvent, violate, or enable the circumvention or violation of, any
  2398  // terms of an Apple operating system software license agreement.
  2399  //
  2400  // Please obtain a copy of the License at
  2401  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2402  //
  2403  // The Original Code and all software distributed under the License are
  2404  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2405  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2406  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2407  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2408  // Please see the License for the specific language governing rights and
  2409  // limitations under the License.
  2410  //
  2411  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2412  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2413  //
  2414  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2415  //
  2416  // This file contains Original Code and/or Modifications of Original Code
  2417  // as defined in and that are subject to the Apple Public Source License
  2418  // Version 2.0 (the 'License'). You may not use this file except in
  2419  // compliance with the License. The rights granted to you under the License
  2420  // may not be used to create, or enable the creation or redistribution of,
  2421  // unlawful or unlicensed copies of an Apple operating system, or to
  2422  // circumvent, violate, or enable the circumvention or violation of, any
  2423  // terms of an Apple operating system software license agreement.
  2424  //
  2425  // Please obtain a copy of the License at
  2426  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2427  //
  2428  // The Original Code and all software distributed under the License are
  2429  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2430  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2431  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2432  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2433  // Please see the License for the specific language governing rights and
  2434  // limitations under the License.
  2435  //
  2436  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2437  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2438  type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  2439  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2440  //
  2441  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2442  //
  2443  // This file contains Original Code and/or Modifications of Original Code
  2444  // as defined in and that are subject to the Apple Public Source License
  2445  // Version 2.0 (the 'License'). You may not use this file except in
  2446  // compliance with the License. The rights granted to you under the License
  2447  // may not be used to create, or enable the creation or redistribution of,
  2448  // unlawful or unlicensed copies of an Apple operating system, or to
  2449  // circumvent, violate, or enable the circumvention or violation of, any
  2450  // terms of an Apple operating system software license agreement.
  2451  //
  2452  // Please obtain a copy of the License at
  2453  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2454  //
  2455  // The Original Code and all software distributed under the License are
  2456  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2457  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2458  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2459  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2460  // Please see the License for the specific language governing rights and
  2461  // limitations under the License.
  2462  //
  2463  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2464  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2465  //
  2466  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2467  //
  2468  // This file contains Original Code and/or Modifications of Original Code
  2469  // as defined in and that are subject to the Apple Public Source License
  2470  // Version 2.0 (the 'License'). You may not use this file except in
  2471  // compliance with the License. The rights granted to you under the License
  2472  // may not be used to create, or enable the creation or redistribution of,
  2473  // unlawful or unlicensed copies of an Apple operating system, or to
  2474  // circumvent, violate, or enable the circumvention or violation of, any
  2475  // terms of an Apple operating system software license agreement.
  2476  //
  2477  // Please obtain a copy of the License at
  2478  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2479  //
  2480  // The Original Code and all software distributed under the License are
  2481  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2482  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2483  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2484  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2485  // Please see the License for the specific language governing rights and
  2486  // limitations under the License.
  2487  //
  2488  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2489  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2490  type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  2491  
  2492  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2493  //
  2494  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2495  //
  2496  // This file contains Original Code and/or Modifications of Original Code
  2497  // as defined in and that are subject to the Apple Public Source License
  2498  // Version 2.0 (the 'License'). You may not use this file except in
  2499  // compliance with the License. The rights granted to you under the License
  2500  // may not be used to create, or enable the creation or redistribution of,
  2501  // unlawful or unlicensed copies of an Apple operating system, or to
  2502  // circumvent, violate, or enable the circumvention or violation of, any
  2503  // terms of an Apple operating system software license agreement.
  2504  //
  2505  // Please obtain a copy of the License at
  2506  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2507  //
  2508  // The Original Code and all software distributed under the License are
  2509  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2510  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2511  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2512  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2513  // Please see the License for the specific language governing rights and
  2514  // limitations under the License.
  2515  //
  2516  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2517  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2518  //
  2519  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2520  //
  2521  // This file contains Original Code and/or Modifications of Original Code
  2522  // as defined in and that are subject to the Apple Public Source License
  2523  // Version 2.0 (the 'License'). You may not use this file except in
  2524  // compliance with the License. The rights granted to you under the License
  2525  // may not be used to create, or enable the creation or redistribution of,
  2526  // unlawful or unlicensed copies of an Apple operating system, or to
  2527  // circumvent, violate, or enable the circumvention or violation of, any
  2528  // terms of an Apple operating system software license agreement.
  2529  //
  2530  // Please obtain a copy of the License at
  2531  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2532  //
  2533  // The Original Code and all software distributed under the License are
  2534  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2535  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2536  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2537  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2538  // Please see the License for the specific language governing rights and
  2539  // limitations under the License.
  2540  //
  2541  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2542  
  2543  type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  2544  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2545  //
  2546  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2547  //
  2548  // This file contains Original Code and/or Modifications of Original Code
  2549  // as defined in and that are subject to the Apple Public Source License
  2550  // Version 2.0 (the 'License'). You may not use this file except in
  2551  // compliance with the License. The rights granted to you under the License
  2552  // may not be used to create, or enable the creation or redistribution of,
  2553  // unlawful or unlicensed copies of an Apple operating system, or to
  2554  // circumvent, violate, or enable the circumvention or violation of, any
  2555  // terms of an Apple operating system software license agreement.
  2556  //
  2557  // Please obtain a copy of the License at
  2558  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2559  //
  2560  // The Original Code and all software distributed under the License are
  2561  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2562  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2563  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2564  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2565  // Please see the License for the specific language governing rights and
  2566  // limitations under the License.
  2567  //
  2568  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2569  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2570  //
  2571  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2572  //
  2573  // This file contains Original Code and/or Modifications of Original Code
  2574  // as defined in and that are subject to the Apple Public Source License
  2575  // Version 2.0 (the 'License'). You may not use this file except in
  2576  // compliance with the License. The rights granted to you under the License
  2577  // may not be used to create, or enable the creation or redistribution of,
  2578  // unlawful or unlicensed copies of an Apple operating system, or to
  2579  // circumvent, violate, or enable the circumvention or violation of, any
  2580  // terms of an Apple operating system software license agreement.
  2581  //
  2582  // Please obtain a copy of the License at
  2583  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2584  //
  2585  // The Original Code and all software distributed under the License are
  2586  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2587  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2588  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2589  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2590  // Please see the License for the specific language governing rights and
  2591  // limitations under the License.
  2592  //
  2593  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2594  
  2595  type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  2596  
  2597  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2598  //
  2599  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2600  //
  2601  // This file contains Original Code and/or Modifications of Original Code
  2602  // as defined in and that are subject to the Apple Public Source License
  2603  // Version 2.0 (the 'License'). You may not use this file except in
  2604  // compliance with the License. The rights granted to you under the License
  2605  // may not be used to create, or enable the creation or redistribution of,
  2606  // unlawful or unlicensed copies of an Apple operating system, or to
  2607  // circumvent, violate, or enable the circumvention or violation of, any
  2608  // terms of an Apple operating system software license agreement.
  2609  //
  2610  // Please obtain a copy of the License at
  2611  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2612  //
  2613  // The Original Code and all software distributed under the License are
  2614  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2615  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2616  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2617  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2618  // Please see the License for the specific language governing rights and
  2619  // limitations under the License.
  2620  //
  2621  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2622  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2623  //
  2624  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2625  //
  2626  // This file contains Original Code and/or Modifications of Original Code
  2627  // as defined in and that are subject to the Apple Public Source License
  2628  // Version 2.0 (the 'License'). You may not use this file except in
  2629  // compliance with the License. The rights granted to you under the License
  2630  // may not be used to create, or enable the creation or redistribution of,
  2631  // unlawful or unlicensed copies of an Apple operating system, or to
  2632  // circumvent, violate, or enable the circumvention or violation of, any
  2633  // terms of an Apple operating system software license agreement.
  2634  //
  2635  // Please obtain a copy of the License at
  2636  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2637  //
  2638  // The Original Code and all software distributed under the License are
  2639  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2640  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2641  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2642  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2643  // Please see the License for the specific language governing rights and
  2644  // limitations under the License.
  2645  //
  2646  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2647  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2648  type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
  2649  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2650  //
  2651  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2652  //
  2653  // This file contains Original Code and/or Modifications of Original Code
  2654  // as defined in and that are subject to the Apple Public Source License
  2655  // Version 2.0 (the 'License'). You may not use this file except in
  2656  // compliance with the License. The rights granted to you under the License
  2657  // may not be used to create, or enable the creation or redistribution of,
  2658  // unlawful or unlicensed copies of an Apple operating system, or to
  2659  // circumvent, violate, or enable the circumvention or violation of, any
  2660  // terms of an Apple operating system software license agreement.
  2661  //
  2662  // Please obtain a copy of the License at
  2663  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2664  //
  2665  // The Original Code and all software distributed under the License are
  2666  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2667  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2668  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2669  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2670  // Please see the License for the specific language governing rights and
  2671  // limitations under the License.
  2672  //
  2673  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2674  type Errno_t = int32 /* _errno_t.h:30:32 */
  2675  
  2676  // This code is present here in order to maintain historical backward
  2677  // compatability, and is intended to be removed at some point in the
  2678  // future; please include <sys/select.h> instead.
  2679  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2680  //
  2681  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2682  //
  2683  // This file contains Original Code and/or Modifications of Original Code
  2684  // as defined in and that are subject to the Apple Public Source License
  2685  // Version 2.0 (the 'License'). You may not use this file except in
  2686  // compliance with the License. The rights granted to you under the License
  2687  // may not be used to create, or enable the creation or redistribution of,
  2688  // unlawful or unlicensed copies of an Apple operating system, or to
  2689  // circumvent, violate, or enable the circumvention or violation of, any
  2690  // terms of an Apple operating system software license agreement.
  2691  //
  2692  // Please obtain a copy of the License at
  2693  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2694  //
  2695  // The Original Code and all software distributed under the License are
  2696  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2697  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2698  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2699  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2700  // Please see the License for the specific language governing rights and
  2701  // limitations under the License.
  2702  //
  2703  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2704  
  2705  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2706  //
  2707  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2708  //
  2709  // This file contains Original Code and/or Modifications of Original Code
  2710  // as defined in and that are subject to the Apple Public Source License
  2711  // Version 2.0 (the 'License'). You may not use this file except in
  2712  // compliance with the License. The rights granted to you under the License
  2713  // may not be used to create, or enable the creation or redistribution of,
  2714  // unlawful or unlicensed copies of an Apple operating system, or to
  2715  // circumvent, violate, or enable the circumvention or violation of, any
  2716  // terms of an Apple operating system software license agreement.
  2717  //
  2718  // Please obtain a copy of the License at
  2719  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2720  //
  2721  // The Original Code and all software distributed under the License are
  2722  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2723  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2724  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2725  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2726  // Please see the License for the specific language governing rights and
  2727  // limitations under the License.
  2728  //
  2729  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2730  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2731  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2732  //
  2733  // @APPLE_LICENSE_HEADER_START@
  2734  //
  2735  // This file contains Original Code and/or Modifications of Original Code
  2736  // as defined in and that are subject to the Apple Public Source License
  2737  // Version 2.0 (the 'License'). You may not use this file except in
  2738  // compliance with the License. Please obtain a copy of the License at
  2739  // http://www.opensource.apple.com/apsl/ and read it before using this
  2740  // file.
  2741  //
  2742  // The Original Code and all software distributed under the License are
  2743  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2744  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2745  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2746  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2747  // Please see the License for the specific language governing rights and
  2748  // limitations under the License.
  2749  //
  2750  // @APPLE_LICENSE_HEADER_END@
  2751  
  2752  //
  2753  //     These macros are for use in OS header files. They enable function prototypes
  2754  //     and Objective-C methods to be tagged with the OS version in which they
  2755  //     were first available; and, if applicable, the OS version in which they
  2756  //     became deprecated.
  2757  //
  2758  //     The desktop Mac OS X and iOS each have different version numbers.
  2759  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  2760  //     and iOS version numbers.  For instance:
  2761  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  2762  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  2763  //     and first available in iOS 2.0 on the iPhone.
  2764  //
  2765  //     If a function is available on one platform, but not the other a _NA (not
  2766  //     applicable) parameter is used.  For instance:
  2767  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  2768  //     means that the function/method was first available on Mac OS X 10.3, and it
  2769  //     currently not implemented on the iPhone.
  2770  //
  2771  //     At some point, a function/method may be deprecated.  That means Apple
  2772  //     recommends applications stop using the function, either because there is a
  2773  //     better replacement or the functionality is being phased out.  Deprecated
  2774  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  2775  //     macro which specifies the OS version where the function became available
  2776  //     as well as the OS version in which it became deprecated.  For instance:
  2777  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  2778  //     means that the function/method was introduced in Mac OS X 10.0, then
  2779  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  2780  //     has never been available.
  2781  //
  2782  //     For these macros to function properly, a program must specify the OS version range
  2783  //     it is targeting.  The min OS version is specified as an option to the compiler:
  2784  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  2785  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  2786  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  2787  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  2788  //
  2789  //     Examples:
  2790  //
  2791  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  2792  //
  2793  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2794  //
  2795  //
  2796  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  2797  //
  2798  //             @interface MyClass : NSObject
  2799  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2800  //             @end
  2801  //
  2802  //
  2803  //         An enum available on the phone, but not available on Mac OS X:
  2804  //
  2805  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  2806  //                 enum { myEnum = 1 };
  2807  //             #endif
  2808  //            Note: this works when targeting the Mac OS X platform because
  2809  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  2810  //
  2811  //
  2812  //         An enum with values added in different iPhoneOS versions:
  2813  //
  2814  // 			enum {
  2815  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  2816  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  2817  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  2818  // 				...
  2819  // 		      Note: you do not want to use #if with enumeration values
  2820  // 			  when a client needs to see all values at compile time
  2821  // 			  and use runtime logic to only use the viable values.
  2822  //
  2823  //
  2824  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  2825  //     source base that can be compiled to target a range of OS versions.  It is best
  2826  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  2827  //     That is because you might get compiled on an old OS that does not define a later
  2828  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  2829  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  2830  //     way.
  2831  //
  2832  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  2833  //             // code only compiled when targeting Mac OS X and not iPhone
  2834  //             // note use of 1050 instead of __MAC_10_5
  2835  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  2836  //                 // code in here might run on pre-Leopard OS
  2837  //             #else
  2838  //                 // code here can assume Leopard or later
  2839  //             #endif
  2840  //         #endif
  2841  //
  2842  //
  2843  
  2844  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  2845  // in an upcoming release. This soft deprecation is an intermediate step before formal
  2846  // deprecation to notify developers about the API before compiler warnings are generated.
  2847  // You can find all places in your code that use soft deprecated API by redefining the
  2848  // value of this macro to your current minimum deployment target, for example:
  2849  // (macOS)
  2850  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  2851  // (iOS)
  2852  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  2853  
  2854  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  2855  
  2856  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  2857  
  2858  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2859  //
  2860  // @APPLE_LICENSE_HEADER_START@
  2861  //
  2862  // This file contains Original Code and/or Modifications of Original Code
  2863  // as defined in and that are subject to the Apple Public Source License
  2864  // Version 2.0 (the 'License'). You may not use this file except in
  2865  // compliance with the License. Please obtain a copy of the License at
  2866  // http://www.opensource.apple.com/apsl/ and read it before using this
  2867  // file.
  2868  //
  2869  // The Original Code and all software distributed under the License are
  2870  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2871  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2872  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2873  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2874  // Please see the License for the specific language governing rights and
  2875  // limitations under the License.
  2876  //
  2877  // @APPLE_LICENSE_HEADER_END@
  2878  
  2879  //
  2880  //     File:       AvailabilityInternal.h
  2881  //
  2882  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  2883  //
  2884  
  2885  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  2886  
  2887  // make sure a default max version is set
  2888  
  2889  //
  2890  //  Macros for defining which versions/platform a given symbol can be used.
  2891  //
  2892  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2893  //
  2894  
  2895  // Evaluate to nothing for compilers that don't support availability.
  2896  
  2897  // Swift compiler version
  2898  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  2899  // Example:
  2900  //
  2901  //  #if __swift_compiler_version_at_least(800, 2, 20)
  2902  //  - (nonnull NSString *)description;
  2903  //  #else
  2904  //  - (NSString *)description;
  2905  //  #endif
  2906  
  2907  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  2908  
  2909  // for use to document app extension usage
  2910  
  2911  // for use marking APIs available info for Mac OSX
  2912  
  2913  // for use marking APIs available info for iOS
  2914  
  2915  // for use marking APIs available info for tvOS
  2916  
  2917  // for use marking APIs available info for Watch OS
  2918  
  2919  // for use marking APIs unavailable for swift
  2920  
  2921  //
  2922  //  Macros for defining which versions/platform a given symbol can be used.
  2923  //
  2924  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2925  //
  2926  //  * Note that these macros are only compatible with clang compilers that
  2927  //  * support the following target selection options:
  2928  //  *
  2929  //  * -mmacosx-version-min
  2930  //  * -miphoneos-version-min
  2931  //  * -mwatchos-version-min
  2932  //  * -mtvos-version-min
  2933  //
  2934  
  2935  // Evaluate to nothing for compilers that don't support availability.
  2936  
  2937  // If SPI decorations have not been defined elsewhere, disable them.
  2938  
  2939  // Select uses bit masks of file descriptors in longs.  These macros
  2940  // manipulate such bit fields (the filesystem macros use chars).  The
  2941  // extra protection here is to permit application redefinition above
  2942  // the default size.
  2943  
  2944  type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  2945  
  2946  // This code is present here in order to maintain historical backward
  2947  // compatability, and is intended to be removed at some point in the
  2948  // future; please include <sys/select.h> instead.
  2949  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2950  //
  2951  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2952  //
  2953  // This file contains Original Code and/or Modifications of Original Code
  2954  // as defined in and that are subject to the Apple Public Source License
  2955  // Version 2.0 (the 'License'). You may not use this file except in
  2956  // compliance with the License. The rights granted to you under the License
  2957  // may not be used to create, or enable the creation or redistribution of,
  2958  // unlawful or unlicensed copies of an Apple operating system, or to
  2959  // circumvent, violate, or enable the circumvention or violation of, any
  2960  // terms of an Apple operating system software license agreement.
  2961  //
  2962  // Please obtain a copy of the License at
  2963  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2964  //
  2965  // The Original Code and all software distributed under the License are
  2966  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2967  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2968  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2969  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2970  // Please see the License for the specific language governing rights and
  2971  // limitations under the License.
  2972  //
  2973  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2974  
  2975  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2976  //
  2977  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2978  //
  2979  // This file contains Original Code and/or Modifications of Original Code
  2980  // as defined in and that are subject to the Apple Public Source License
  2981  // Version 2.0 (the 'License'). You may not use this file except in
  2982  // compliance with the License. The rights granted to you under the License
  2983  // may not be used to create, or enable the creation or redistribution of,
  2984  // unlawful or unlicensed copies of an Apple operating system, or to
  2985  // circumvent, violate, or enable the circumvention or violation of, any
  2986  // terms of an Apple operating system software license agreement.
  2987  //
  2988  // Please obtain a copy of the License at
  2989  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2990  //
  2991  // The Original Code and all software distributed under the License are
  2992  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2993  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2994  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2995  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2996  // Please see the License for the specific language governing rights and
  2997  // limitations under the License.
  2998  //
  2999  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3000  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3001  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3002  //
  3003  // @APPLE_LICENSE_HEADER_START@
  3004  //
  3005  // This file contains Original Code and/or Modifications of Original Code
  3006  // as defined in and that are subject to the Apple Public Source License
  3007  // Version 2.0 (the 'License'). You may not use this file except in
  3008  // compliance with the License. Please obtain a copy of the License at
  3009  // http://www.opensource.apple.com/apsl/ and read it before using this
  3010  // file.
  3011  //
  3012  // The Original Code and all software distributed under the License are
  3013  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3014  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3015  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3016  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3017  // Please see the License for the specific language governing rights and
  3018  // limitations under the License.
  3019  //
  3020  // @APPLE_LICENSE_HEADER_END@
  3021  
  3022  //
  3023  //     These macros are for use in OS header files. They enable function prototypes
  3024  //     and Objective-C methods to be tagged with the OS version in which they
  3025  //     were first available; and, if applicable, the OS version in which they
  3026  //     became deprecated.
  3027  //
  3028  //     The desktop Mac OS X and iOS each have different version numbers.
  3029  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  3030  //     and iOS version numbers.  For instance:
  3031  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  3032  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  3033  //     and first available in iOS 2.0 on the iPhone.
  3034  //
  3035  //     If a function is available on one platform, but not the other a _NA (not
  3036  //     applicable) parameter is used.  For instance:
  3037  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  3038  //     means that the function/method was first available on Mac OS X 10.3, and it
  3039  //     currently not implemented on the iPhone.
  3040  //
  3041  //     At some point, a function/method may be deprecated.  That means Apple
  3042  //     recommends applications stop using the function, either because there is a
  3043  //     better replacement or the functionality is being phased out.  Deprecated
  3044  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  3045  //     macro which specifies the OS version where the function became available
  3046  //     as well as the OS version in which it became deprecated.  For instance:
  3047  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  3048  //     means that the function/method was introduced in Mac OS X 10.0, then
  3049  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  3050  //     has never been available.
  3051  //
  3052  //     For these macros to function properly, a program must specify the OS version range
  3053  //     it is targeting.  The min OS version is specified as an option to the compiler:
  3054  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  3055  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  3056  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  3057  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  3058  //
  3059  //     Examples:
  3060  //
  3061  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  3062  //
  3063  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3064  //
  3065  //
  3066  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  3067  //
  3068  //             @interface MyClass : NSObject
  3069  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3070  //             @end
  3071  //
  3072  //
  3073  //         An enum available on the phone, but not available on Mac OS X:
  3074  //
  3075  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  3076  //                 enum { myEnum = 1 };
  3077  //             #endif
  3078  //            Note: this works when targeting the Mac OS X platform because
  3079  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  3080  //
  3081  //
  3082  //         An enum with values added in different iPhoneOS versions:
  3083  //
  3084  // 			enum {
  3085  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  3086  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  3087  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  3088  // 				...
  3089  // 		      Note: you do not want to use #if with enumeration values
  3090  // 			  when a client needs to see all values at compile time
  3091  // 			  and use runtime logic to only use the viable values.
  3092  //
  3093  //
  3094  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3095  //     source base that can be compiled to target a range of OS versions.  It is best
  3096  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3097  //     That is because you might get compiled on an old OS that does not define a later
  3098  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  3099  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  3100  //     way.
  3101  //
  3102  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3103  //             // code only compiled when targeting Mac OS X and not iPhone
  3104  //             // note use of 1050 instead of __MAC_10_5
  3105  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3106  //                 // code in here might run on pre-Leopard OS
  3107  //             #else
  3108  //                 // code here can assume Leopard or later
  3109  //             #endif
  3110  //         #endif
  3111  //
  3112  //
  3113  
  3114  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3115  // in an upcoming release. This soft deprecation is an intermediate step before formal
  3116  // deprecation to notify developers about the API before compiler warnings are generated.
  3117  // You can find all places in your code that use soft deprecated API by redefining the
  3118  // value of this macro to your current minimum deployment target, for example:
  3119  // (macOS)
  3120  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3121  // (iOS)
  3122  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3123  
  3124  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3125  
  3126  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3127  
  3128  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3129  //
  3130  // @APPLE_LICENSE_HEADER_START@
  3131  //
  3132  // This file contains Original Code and/or Modifications of Original Code
  3133  // as defined in and that are subject to the Apple Public Source License
  3134  // Version 2.0 (the 'License'). You may not use this file except in
  3135  // compliance with the License. Please obtain a copy of the License at
  3136  // http://www.opensource.apple.com/apsl/ and read it before using this
  3137  // file.
  3138  //
  3139  // The Original Code and all software distributed under the License are
  3140  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3141  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3142  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3143  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3144  // Please see the License for the specific language governing rights and
  3145  // limitations under the License.
  3146  //
  3147  // @APPLE_LICENSE_HEADER_END@
  3148  
  3149  //
  3150  //     File:       AvailabilityInternal.h
  3151  //
  3152  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3153  //
  3154  
  3155  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3156  
  3157  // make sure a default max version is set
  3158  
  3159  //
  3160  //  Macros for defining which versions/platform a given symbol can be used.
  3161  //
  3162  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3163  //
  3164  
  3165  // Evaluate to nothing for compilers that don't support availability.
  3166  
  3167  // Swift compiler version
  3168  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3169  // Example:
  3170  //
  3171  //  #if __swift_compiler_version_at_least(800, 2, 20)
  3172  //  - (nonnull NSString *)description;
  3173  //  #else
  3174  //  - (NSString *)description;
  3175  //  #endif
  3176  
  3177  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3178  
  3179  // for use to document app extension usage
  3180  
  3181  // for use marking APIs available info for Mac OSX
  3182  
  3183  // for use marking APIs available info for iOS
  3184  
  3185  // for use marking APIs available info for tvOS
  3186  
  3187  // for use marking APIs available info for Watch OS
  3188  
  3189  // for use marking APIs unavailable for swift
  3190  
  3191  //
  3192  //  Macros for defining which versions/platform a given symbol can be used.
  3193  //
  3194  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3195  //
  3196  //  * Note that these macros are only compatible with clang compilers that
  3197  //  * support the following target selection options:
  3198  //  *
  3199  //  * -mmacosx-version-min
  3200  //  * -miphoneos-version-min
  3201  //  * -mwatchos-version-min
  3202  //  * -mtvos-version-min
  3203  //
  3204  
  3205  // Evaluate to nothing for compilers that don't support availability.
  3206  
  3207  // If SPI decorations have not been defined elsewhere, disable them.
  3208  
  3209  // Select uses bit masks of file descriptors in longs.  These macros
  3210  // manipulate such bit fields (the filesystem macros use chars).  The
  3211  // extra protection here is to permit application redefinition above
  3212  // the default size.
  3213  
  3214  type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  3215  
  3216  // Use the built-in bzero function instead of the library version so that
  3217  // we do not pollute the namespace or introduce prototype warnings.
  3218  
  3219  type Fd_mask = X__int32_t /* types.h:189:25 */
  3220  
  3221  // Select uses bit masks of file descriptors in longs.  These macros
  3222  // manipulate such bit fields (the filesystem macros use chars).  The
  3223  // extra protection here is to permit application redefinition above
  3224  // the default size.
  3225  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3226  //
  3227  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3228  //
  3229  // This file contains Original Code and/or Modifications of Original Code
  3230  // as defined in and that are subject to the Apple Public Source License
  3231  // Version 2.0 (the 'License'). You may not use this file except in
  3232  // compliance with the License. The rights granted to you under the License
  3233  // may not be used to create, or enable the creation or redistribution of,
  3234  // unlawful or unlicensed copies of an Apple operating system, or to
  3235  // circumvent, violate, or enable the circumvention or violation of, any
  3236  // terms of an Apple operating system software license agreement.
  3237  //
  3238  // Please obtain a copy of the License at
  3239  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3240  //
  3241  // The Original Code and all software distributed under the License are
  3242  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3243  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3244  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3245  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3246  // Please see the License for the specific language governing rights and
  3247  // limitations under the License.
  3248  //
  3249  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3250  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3251  //
  3252  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3253  //
  3254  // This file contains Original Code and/or Modifications of Original Code
  3255  // as defined in and that are subject to the Apple Public Source License
  3256  // Version 2.0 (the 'License'). You may not use this file except in
  3257  // compliance with the License. The rights granted to you under the License
  3258  // may not be used to create, or enable the creation or redistribution of,
  3259  // unlawful or unlicensed copies of an Apple operating system, or to
  3260  // circumvent, violate, or enable the circumvention or violation of, any
  3261  // terms of an Apple operating system software license agreement.
  3262  //
  3263  // Please obtain a copy of the License at
  3264  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3265  //
  3266  // The Original Code and all software distributed under the License are
  3267  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3268  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3269  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3270  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3271  // Please see the License for the specific language governing rights and
  3272  // limitations under the License.
  3273  //
  3274  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3275  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3276  //
  3277  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3278  //
  3279  // This file contains Original Code and/or Modifications of Original Code
  3280  // as defined in and that are subject to the Apple Public Source License
  3281  // Version 2.0 (the 'License'). You may not use this file except in
  3282  // compliance with the License. The rights granted to you under the License
  3283  // may not be used to create, or enable the creation or redistribution of,
  3284  // unlawful or unlicensed copies of an Apple operating system, or to
  3285  // circumvent, violate, or enable the circumvention or violation of, any
  3286  // terms of an Apple operating system software license agreement.
  3287  //
  3288  // Please obtain a copy of the License at
  3289  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3290  //
  3291  // The Original Code and all software distributed under the License are
  3292  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3293  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3294  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3295  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3296  // Please see the License for the specific language governing rights and
  3297  // limitations under the License.
  3298  //
  3299  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3300  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3301  //
  3302  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3303  //
  3304  // This file contains Original Code and/or Modifications of Original Code
  3305  // as defined in and that are subject to the Apple Public Source License
  3306  // Version 2.0 (the 'License'). You may not use this file except in
  3307  // compliance with the License. The rights granted to you under the License
  3308  // may not be used to create, or enable the creation or redistribution of,
  3309  // unlawful or unlicensed copies of an Apple operating system, or to
  3310  // circumvent, violate, or enable the circumvention or violation of, any
  3311  // terms of an Apple operating system software license agreement.
  3312  //
  3313  // Please obtain a copy of the License at
  3314  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3315  //
  3316  // The Original Code and all software distributed under the License are
  3317  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3318  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3319  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3320  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3321  // Please see the License for the specific language governing rights and
  3322  // limitations under the License.
  3323  //
  3324  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3325  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3326  //
  3327  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3328  //
  3329  // This file contains Original Code and/or Modifications of Original Code
  3330  // as defined in and that are subject to the Apple Public Source License
  3331  // Version 2.0 (the 'License'). You may not use this file except in
  3332  // compliance with the License. The rights granted to you under the License
  3333  // may not be used to create, or enable the creation or redistribution of,
  3334  // unlawful or unlicensed copies of an Apple operating system, or to
  3335  // circumvent, violate, or enable the circumvention or violation of, any
  3336  // terms of an Apple operating system software license agreement.
  3337  //
  3338  // Please obtain a copy of the License at
  3339  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3340  //
  3341  // The Original Code and all software distributed under the License are
  3342  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3343  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3344  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3345  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3346  // Please see the License for the specific language governing rights and
  3347  // limitations under the License.
  3348  //
  3349  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3350  
  3351  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3352  //
  3353  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3354  //
  3355  // This file contains Original Code and/or Modifications of Original Code
  3356  // as defined in and that are subject to the Apple Public Source License
  3357  // Version 2.0 (the 'License'). You may not use this file except in
  3358  // compliance with the License. The rights granted to you under the License
  3359  // may not be used to create, or enable the creation or redistribution of,
  3360  // unlawful or unlicensed copies of an Apple operating system, or to
  3361  // circumvent, violate, or enable the circumvention or violation of, any
  3362  // terms of an Apple operating system software license agreement.
  3363  //
  3364  // Please obtain a copy of the License at
  3365  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3366  //
  3367  // The Original Code and all software distributed under the License are
  3368  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3369  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3370  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3371  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3372  // Please see the License for the specific language governing rights and
  3373  // limitations under the License.
  3374  //
  3375  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3376  
  3377  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3378  //
  3379  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3380  //
  3381  // This file contains Original Code and/or Modifications of Original Code
  3382  // as defined in and that are subject to the Apple Public Source License
  3383  // Version 2.0 (the 'License'). You may not use this file except in
  3384  // compliance with the License. The rights granted to you under the License
  3385  // may not be used to create, or enable the creation or redistribution of,
  3386  // unlawful or unlicensed copies of an Apple operating system, or to
  3387  // circumvent, violate, or enable the circumvention or violation of, any
  3388  // terms of an Apple operating system software license agreement.
  3389  //
  3390  // Please obtain a copy of the License at
  3391  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3392  //
  3393  // The Original Code and all software distributed under the License are
  3394  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3395  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3396  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3397  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3398  // Please see the License for the specific language governing rights and
  3399  // limitations under the License.
  3400  //
  3401  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3402  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3403  //
  3404  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3405  //
  3406  // This file contains Original Code and/or Modifications of Original Code
  3407  // as defined in and that are subject to the Apple Public Source License
  3408  // Version 2.0 (the 'License'). You may not use this file except in
  3409  // compliance with the License. The rights granted to you under the License
  3410  // may not be used to create, or enable the creation or redistribution of,
  3411  // unlawful or unlicensed copies of an Apple operating system, or to
  3412  // circumvent, violate, or enable the circumvention or violation of, any
  3413  // terms of an Apple operating system software license agreement.
  3414  //
  3415  // Please obtain a copy of the License at
  3416  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3417  //
  3418  // The Original Code and all software distributed under the License are
  3419  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3420  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3421  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3422  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3423  // Please see the License for the specific language governing rights and
  3424  // limitations under the License.
  3425  //
  3426  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3427  
  3428  type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  3429  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3430  //
  3431  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3432  //
  3433  // This file contains Original Code and/or Modifications of Original Code
  3434  // as defined in and that are subject to the Apple Public Source License
  3435  // Version 2.0 (the 'License'). You may not use this file except in
  3436  // compliance with the License. The rights granted to you under the License
  3437  // may not be used to create, or enable the creation or redistribution of,
  3438  // unlawful or unlicensed copies of an Apple operating system, or to
  3439  // circumvent, violate, or enable the circumvention or violation of, any
  3440  // terms of an Apple operating system software license agreement.
  3441  //
  3442  // Please obtain a copy of the License at
  3443  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3444  //
  3445  // The Original Code and all software distributed under the License are
  3446  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3447  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3448  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3449  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3450  // Please see the License for the specific language governing rights and
  3451  // limitations under the License.
  3452  //
  3453  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3454  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3455  //
  3456  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3457  //
  3458  // This file contains Original Code and/or Modifications of Original Code
  3459  // as defined in and that are subject to the Apple Public Source License
  3460  // Version 2.0 (the 'License'). You may not use this file except in
  3461  // compliance with the License. The rights granted to you under the License
  3462  // may not be used to create, or enable the creation or redistribution of,
  3463  // unlawful or unlicensed copies of an Apple operating system, or to
  3464  // circumvent, violate, or enable the circumvention or violation of, any
  3465  // terms of an Apple operating system software license agreement.
  3466  //
  3467  // Please obtain a copy of the License at
  3468  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3469  //
  3470  // The Original Code and all software distributed under the License are
  3471  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3472  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3473  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3474  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3475  // Please see the License for the specific language governing rights and
  3476  // limitations under the License.
  3477  //
  3478  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3479  
  3480  type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  3481  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3482  //
  3483  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3484  //
  3485  // This file contains Original Code and/or Modifications of Original Code
  3486  // as defined in and that are subject to the Apple Public Source License
  3487  // Version 2.0 (the 'License'). You may not use this file except in
  3488  // compliance with the License. The rights granted to you under the License
  3489  // may not be used to create, or enable the creation or redistribution of,
  3490  // unlawful or unlicensed copies of an Apple operating system, or to
  3491  // circumvent, violate, or enable the circumvention or violation of, any
  3492  // terms of an Apple operating system software license agreement.
  3493  //
  3494  // Please obtain a copy of the License at
  3495  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3496  //
  3497  // The Original Code and all software distributed under the License are
  3498  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3499  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3500  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3501  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3502  // Please see the License for the specific language governing rights and
  3503  // limitations under the License.
  3504  //
  3505  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3506  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3507  //
  3508  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3509  //
  3510  // This file contains Original Code and/or Modifications of Original Code
  3511  // as defined in and that are subject to the Apple Public Source License
  3512  // Version 2.0 (the 'License'). You may not use this file except in
  3513  // compliance with the License. The rights granted to you under the License
  3514  // may not be used to create, or enable the creation or redistribution of,
  3515  // unlawful or unlicensed copies of an Apple operating system, or to
  3516  // circumvent, violate, or enable the circumvention or violation of, any
  3517  // terms of an Apple operating system software license agreement.
  3518  //
  3519  // Please obtain a copy of the License at
  3520  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3521  //
  3522  // The Original Code and all software distributed under the License are
  3523  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3524  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3525  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3526  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3527  // Please see the License for the specific language governing rights and
  3528  // limitations under the License.
  3529  //
  3530  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3531  
  3532  type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  3533  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3534  //
  3535  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3536  //
  3537  // This file contains Original Code and/or Modifications of Original Code
  3538  // as defined in and that are subject to the Apple Public Source License
  3539  // Version 2.0 (the 'License'). You may not use this file except in
  3540  // compliance with the License. The rights granted to you under the License
  3541  // may not be used to create, or enable the creation or redistribution of,
  3542  // unlawful or unlicensed copies of an Apple operating system, or to
  3543  // circumvent, violate, or enable the circumvention or violation of, any
  3544  // terms of an Apple operating system software license agreement.
  3545  //
  3546  // Please obtain a copy of the License at
  3547  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3548  //
  3549  // The Original Code and all software distributed under the License are
  3550  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3551  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3552  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3553  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3554  // Please see the License for the specific language governing rights and
  3555  // limitations under the License.
  3556  //
  3557  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3558  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3559  //
  3560  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3561  //
  3562  // This file contains Original Code and/or Modifications of Original Code
  3563  // as defined in and that are subject to the Apple Public Source License
  3564  // Version 2.0 (the 'License'). You may not use this file except in
  3565  // compliance with the License. The rights granted to you under the License
  3566  // may not be used to create, or enable the creation or redistribution of,
  3567  // unlawful or unlicensed copies of an Apple operating system, or to
  3568  // circumvent, violate, or enable the circumvention or violation of, any
  3569  // terms of an Apple operating system software license agreement.
  3570  //
  3571  // Please obtain a copy of the License at
  3572  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3573  //
  3574  // The Original Code and all software distributed under the License are
  3575  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3576  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3577  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3578  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3579  // Please see the License for the specific language governing rights and
  3580  // limitations under the License.
  3581  //
  3582  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3583  
  3584  type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  3585  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3586  //
  3587  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3588  //
  3589  // This file contains Original Code and/or Modifications of Original Code
  3590  // as defined in and that are subject to the Apple Public Source License
  3591  // Version 2.0 (the 'License'). You may not use this file except in
  3592  // compliance with the License. The rights granted to you under the License
  3593  // may not be used to create, or enable the creation or redistribution of,
  3594  // unlawful or unlicensed copies of an Apple operating system, or to
  3595  // circumvent, violate, or enable the circumvention or violation of, any
  3596  // terms of an Apple operating system software license agreement.
  3597  //
  3598  // Please obtain a copy of the License at
  3599  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3600  //
  3601  // The Original Code and all software distributed under the License are
  3602  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3603  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3604  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3605  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3606  // Please see the License for the specific language governing rights and
  3607  // limitations under the License.
  3608  //
  3609  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3610  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3611  //
  3612  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3613  //
  3614  // This file contains Original Code and/or Modifications of Original Code
  3615  // as defined in and that are subject to the Apple Public Source License
  3616  // Version 2.0 (the 'License'). You may not use this file except in
  3617  // compliance with the License. The rights granted to you under the License
  3618  // may not be used to create, or enable the creation or redistribution of,
  3619  // unlawful or unlicensed copies of an Apple operating system, or to
  3620  // circumvent, violate, or enable the circumvention or violation of, any
  3621  // terms of an Apple operating system software license agreement.
  3622  //
  3623  // Please obtain a copy of the License at
  3624  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3625  //
  3626  // The Original Code and all software distributed under the License are
  3627  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3628  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3629  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3630  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3631  // Please see the License for the specific language governing rights and
  3632  // limitations under the License.
  3633  //
  3634  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3635  
  3636  type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  3637  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3638  //
  3639  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3640  //
  3641  // This file contains Original Code and/or Modifications of Original Code
  3642  // as defined in and that are subject to the Apple Public Source License
  3643  // Version 2.0 (the 'License'). You may not use this file except in
  3644  // compliance with the License. The rights granted to you under the License
  3645  // may not be used to create, or enable the creation or redistribution of,
  3646  // unlawful or unlicensed copies of an Apple operating system, or to
  3647  // circumvent, violate, or enable the circumvention or violation of, any
  3648  // terms of an Apple operating system software license agreement.
  3649  //
  3650  // Please obtain a copy of the License at
  3651  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3652  //
  3653  // The Original Code and all software distributed under the License are
  3654  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3655  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3656  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3657  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3658  // Please see the License for the specific language governing rights and
  3659  // limitations under the License.
  3660  //
  3661  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3662  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3663  //
  3664  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3665  //
  3666  // This file contains Original Code and/or Modifications of Original Code
  3667  // as defined in and that are subject to the Apple Public Source License
  3668  // Version 2.0 (the 'License'). You may not use this file except in
  3669  // compliance with the License. The rights granted to you under the License
  3670  // may not be used to create, or enable the creation or redistribution of,
  3671  // unlawful or unlicensed copies of an Apple operating system, or to
  3672  // circumvent, violate, or enable the circumvention or violation of, any
  3673  // terms of an Apple operating system software license agreement.
  3674  //
  3675  // Please obtain a copy of the License at
  3676  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3677  //
  3678  // The Original Code and all software distributed under the License are
  3679  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3680  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3681  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3682  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3683  // Please see the License for the specific language governing rights and
  3684  // limitations under the License.
  3685  //
  3686  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3687  
  3688  type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
  3689  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3690  //
  3691  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3692  //
  3693  // This file contains Original Code and/or Modifications of Original Code
  3694  // as defined in and that are subject to the Apple Public Source License
  3695  // Version 2.0 (the 'License'). You may not use this file except in
  3696  // compliance with the License. The rights granted to you under the License
  3697  // may not be used to create, or enable the creation or redistribution of,
  3698  // unlawful or unlicensed copies of an Apple operating system, or to
  3699  // circumvent, violate, or enable the circumvention or violation of, any
  3700  // terms of an Apple operating system software license agreement.
  3701  //
  3702  // Please obtain a copy of the License at
  3703  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3704  //
  3705  // The Original Code and all software distributed under the License are
  3706  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3707  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3708  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3709  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3710  // Please see the License for the specific language governing rights and
  3711  // limitations under the License.
  3712  //
  3713  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3714  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3715  //
  3716  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3717  //
  3718  // This file contains Original Code and/or Modifications of Original Code
  3719  // as defined in and that are subject to the Apple Public Source License
  3720  // Version 2.0 (the 'License'). You may not use this file except in
  3721  // compliance with the License. The rights granted to you under the License
  3722  // may not be used to create, or enable the creation or redistribution of,
  3723  // unlawful or unlicensed copies of an Apple operating system, or to
  3724  // circumvent, violate, or enable the circumvention or violation of, any
  3725  // terms of an Apple operating system software license agreement.
  3726  //
  3727  // Please obtain a copy of the License at
  3728  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3729  //
  3730  // The Original Code and all software distributed under the License are
  3731  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3732  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3733  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3734  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3735  // Please see the License for the specific language governing rights and
  3736  // limitations under the License.
  3737  //
  3738  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3739  
  3740  type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  3741  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3742  //
  3743  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3744  //
  3745  // This file contains Original Code and/or Modifications of Original Code
  3746  // as defined in and that are subject to the Apple Public Source License
  3747  // Version 2.0 (the 'License'). You may not use this file except in
  3748  // compliance with the License. The rights granted to you under the License
  3749  // may not be used to create, or enable the creation or redistribution of,
  3750  // unlawful or unlicensed copies of an Apple operating system, or to
  3751  // circumvent, violate, or enable the circumvention or violation of, any
  3752  // terms of an Apple operating system software license agreement.
  3753  //
  3754  // Please obtain a copy of the License at
  3755  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3756  //
  3757  // The Original Code and all software distributed under the License are
  3758  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3759  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3760  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3761  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3762  // Please see the License for the specific language governing rights and
  3763  // limitations under the License.
  3764  //
  3765  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3766  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3767  //
  3768  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3769  //
  3770  // This file contains Original Code and/or Modifications of Original Code
  3771  // as defined in and that are subject to the Apple Public Source License
  3772  // Version 2.0 (the 'License'). You may not use this file except in
  3773  // compliance with the License. The rights granted to you under the License
  3774  // may not be used to create, or enable the creation or redistribution of,
  3775  // unlawful or unlicensed copies of an Apple operating system, or to
  3776  // circumvent, violate, or enable the circumvention or violation of, any
  3777  // terms of an Apple operating system software license agreement.
  3778  //
  3779  // Please obtain a copy of the License at
  3780  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3781  //
  3782  // The Original Code and all software distributed under the License are
  3783  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3784  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3785  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3786  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3787  // Please see the License for the specific language governing rights and
  3788  // limitations under the License.
  3789  //
  3790  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3791  
  3792  type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  3793  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3794  //
  3795  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3796  //
  3797  // This file contains Original Code and/or Modifications of Original Code
  3798  // as defined in and that are subject to the Apple Public Source License
  3799  // Version 2.0 (the 'License'). You may not use this file except in
  3800  // compliance with the License. The rights granted to you under the License
  3801  // may not be used to create, or enable the creation or redistribution of,
  3802  // unlawful or unlicensed copies of an Apple operating system, or to
  3803  // circumvent, violate, or enable the circumvention or violation of, any
  3804  // terms of an Apple operating system software license agreement.
  3805  //
  3806  // Please obtain a copy of the License at
  3807  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3808  //
  3809  // The Original Code and all software distributed under the License are
  3810  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3811  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3812  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3813  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3814  // Please see the License for the specific language governing rights and
  3815  // limitations under the License.
  3816  //
  3817  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3818  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3819  //
  3820  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3821  //
  3822  // This file contains Original Code and/or Modifications of Original Code
  3823  // as defined in and that are subject to the Apple Public Source License
  3824  // Version 2.0 (the 'License'). You may not use this file except in
  3825  // compliance with the License. The rights granted to you under the License
  3826  // may not be used to create, or enable the creation or redistribution of,
  3827  // unlawful or unlicensed copies of an Apple operating system, or to
  3828  // circumvent, violate, or enable the circumvention or violation of, any
  3829  // terms of an Apple operating system software license agreement.
  3830  //
  3831  // Please obtain a copy of the License at
  3832  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3833  //
  3834  // The Original Code and all software distributed under the License are
  3835  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3836  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3837  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3838  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3839  // Please see the License for the specific language governing rights and
  3840  // limitations under the License.
  3841  //
  3842  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3843  
  3844  type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  3845  
  3846  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3847  //
  3848  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3849  //
  3850  // This file contains Original Code and/or Modifications of Original Code
  3851  // as defined in and that are subject to the Apple Public Source License
  3852  // Version 2.0 (the 'License'). You may not use this file except in
  3853  // compliance with the License. The rights granted to you under the License
  3854  // may not be used to create, or enable the creation or redistribution of,
  3855  // unlawful or unlicensed copies of an Apple operating system, or to
  3856  // circumvent, violate, or enable the circumvention or violation of, any
  3857  // terms of an Apple operating system software license agreement.
  3858  //
  3859  // Please obtain a copy of the License at
  3860  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3861  //
  3862  // The Original Code and all software distributed under the License are
  3863  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3864  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3865  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3866  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3867  // Please see the License for the specific language governing rights and
  3868  // limitations under the License.
  3869  //
  3870  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3871  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3872  //
  3873  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3874  //
  3875  // This file contains Original Code and/or Modifications of Original Code
  3876  // as defined in and that are subject to the Apple Public Source License
  3877  // Version 2.0 (the 'License'). You may not use this file except in
  3878  // compliance with the License. The rights granted to you under the License
  3879  // may not be used to create, or enable the creation or redistribution of,
  3880  // unlawful or unlicensed copies of an Apple operating system, or to
  3881  // circumvent, violate, or enable the circumvention or violation of, any
  3882  // terms of an Apple operating system software license agreement.
  3883  //
  3884  // Please obtain a copy of the License at
  3885  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3886  //
  3887  // The Original Code and all software distributed under the License are
  3888  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3889  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3890  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3891  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3892  // Please see the License for the specific language governing rights and
  3893  // limitations under the License.
  3894  //
  3895  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3896  
  3897  type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
  3898  
  3899  // statvfs and fstatvfs
  3900  
  3901  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3902  //
  3903  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3904  //
  3905  // This file contains Original Code and/or Modifications of Original Code
  3906  // as defined in and that are subject to the Apple Public Source License
  3907  // Version 2.0 (the 'License'). You may not use this file except in
  3908  // compliance with the License. The rights granted to you under the License
  3909  // may not be used to create, or enable the creation or redistribution of,
  3910  // unlawful or unlicensed copies of an Apple operating system, or to
  3911  // circumvent, violate, or enable the circumvention or violation of, any
  3912  // terms of an Apple operating system software license agreement.
  3913  //
  3914  // Please obtain a copy of the License at
  3915  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3916  //
  3917  // The Original Code and all software distributed under the License are
  3918  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3919  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3920  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3921  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3922  // Please see the License for the specific language governing rights and
  3923  // limitations under the License.
  3924  //
  3925  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3926  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3927  //
  3928  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3929  //
  3930  // This file contains Original Code and/or Modifications of Original Code
  3931  // as defined in and that are subject to the Apple Public Source License
  3932  // Version 2.0 (the 'License'). You may not use this file except in
  3933  // compliance with the License. The rights granted to you under the License
  3934  // may not be used to create, or enable the creation or redistribution of,
  3935  // unlawful or unlicensed copies of an Apple operating system, or to
  3936  // circumvent, violate, or enable the circumvention or violation of, any
  3937  // terms of an Apple operating system software license agreement.
  3938  //
  3939  // Please obtain a copy of the License at
  3940  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3941  //
  3942  // The Original Code and all software distributed under the License are
  3943  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3944  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3945  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3946  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3947  // Please see the License for the specific language governing rights and
  3948  // limitations under the License.
  3949  //
  3950  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3951  
  3952  type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
  3953  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3954  //
  3955  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3956  //
  3957  // This file contains Original Code and/or Modifications of Original Code
  3958  // as defined in and that are subject to the Apple Public Source License
  3959  // Version 2.0 (the 'License'). You may not use this file except in
  3960  // compliance with the License. The rights granted to you under the License
  3961  // may not be used to create, or enable the creation or redistribution of,
  3962  // unlawful or unlicensed copies of an Apple operating system, or to
  3963  // circumvent, violate, or enable the circumvention or violation of, any
  3964  // terms of an Apple operating system software license agreement.
  3965  //
  3966  // Please obtain a copy of the License at
  3967  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3968  //
  3969  // The Original Code and all software distributed under the License are
  3970  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3971  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3972  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3973  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3974  // Please see the License for the specific language governing rights and
  3975  // limitations under the License.
  3976  //
  3977  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3978  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3979  //
  3980  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3981  //
  3982  // This file contains Original Code and/or Modifications of Original Code
  3983  // as defined in and that are subject to the Apple Public Source License
  3984  // Version 2.0 (the 'License'). You may not use this file except in
  3985  // compliance with the License. The rights granted to you under the License
  3986  // may not be used to create, or enable the creation or redistribution of,
  3987  // unlawful or unlicensed copies of an Apple operating system, or to
  3988  // circumvent, violate, or enable the circumvention or violation of, any
  3989  // terms of an Apple operating system software license agreement.
  3990  //
  3991  // Please obtain a copy of the License at
  3992  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3993  //
  3994  // The Original Code and all software distributed under the License are
  3995  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3996  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3997  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3998  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3999  // Please see the License for the specific language governing rights and
  4000  // limitations under the License.
  4001  //
  4002  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4003  
  4004  type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
  4005  
  4006  var _ int8 /* gen.c:2:13: */