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