github.com/afumu/libc@v0.0.6/fts/fts_darwin_arm64.go (about)

     1  // Code generated by 'ccgo fts/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 fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT.
     2  
     3  package fts
     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  	ACCESSPERMS                            = 511                  // stat.h:297:1:
    19  	ALLPERMS                               = 4095                 // stat.h:299:1:
    20  	BIG_ENDIAN                             = 4321                 // endian.h:72:1:
    21  	BYTE_ORDER                             = 1234                 // endian.h:75:1:
    22  	DEFFILEMODE                            = 438                  // stat.h:301:1:
    23  	EF_IS_PURGEABLE                        = 0x00000008           // stat.h:371:1:
    24  	EF_IS_SPARSE                           = 0x00000010           // stat.h:372:1:
    25  	EF_IS_SYNC_ROOT                        = 0x00000004           // stat.h:370:1:
    26  	EF_IS_SYNTHETIC                        = 0x00000020           // stat.h:373:1:
    27  	EF_MAY_SHARE_BLOCKS                    = 0x00000001           // stat.h:368:1:
    28  	EF_NO_XATTRS                           = 0x00000002           // stat.h:369:1:
    29  	FD_SETSIZE                             = 1024                 // _fd_setsize.h:29:1:
    30  	FTS_AGAIN                              = 1                    // fts.h:157:1:
    31  	FTS_BLOCK_COMPAR                       = 0x80000000           // fts.h:108:1:
    32  	FTS_CHDIRFD                            = 0x08                 // fts.h:154:1:
    33  	FTS_COMFOLLOW                          = 0x001                // fts.h:89:1:
    34  	FTS_COMFOLLOWDIR                       = 0x400                // fts.h:97:1:
    35  	FTS_D                                  = 1                    // fts.h:135:1:
    36  	FTS_DC                                 = 2                    // fts.h:136:1:
    37  	FTS_DEFAULT                            = 3                    // fts.h:137:1:
    38  	FTS_DNR                                = 4                    // fts.h:138:1:
    39  	FTS_DONTCHDIR                          = 0x01                 // fts.h:151:1:
    40  	FTS_DOT                                = 5                    // fts.h:139:1:
    41  	FTS_DP                                 = 6                    // fts.h:140:1:
    42  	FTS_ERR                                = 7                    // fts.h:141:1:
    43  	FTS_F                                  = 8                    // fts.h:142:1:
    44  	FTS_FOLLOW                             = 2                    // fts.h:158:1:
    45  	FTS_INIT                               = 9                    // fts.h:143:1:
    46  	FTS_ISW                                = 0x04                 // fts.h:153:1:
    47  	FTS_LOGICAL                            = 0x002                // fts.h:90:1:
    48  	FTS_MAXLEVEL                           = 0x7fffffff           // fts.h:132:1:
    49  	FTS_NAMEONLY                           = 0x100                // fts.h:105:1:
    50  	FTS_NOCHDIR                            = 0x004                // fts.h:91:1:
    51  	FTS_NOINSTR                            = 3                    // fts.h:159:1:
    52  	FTS_NOSTAT                             = 0x008                // fts.h:92:1:
    53  	FTS_NOSTAT_TYPE                        = 0x800                // fts.h:101:1:
    54  	FTS_NS                                 = 10                   // fts.h:144:1:
    55  	FTS_NSOK                               = 11                   // fts.h:145:1:
    56  	FTS_OPTIONMASK                         = 0xcff                // fts.h:102:1:
    57  	FTS_PHYSICAL                           = 0x010                // fts.h:93:1:
    58  	FTS_ROOTLEVEL                          = 0                    // fts.h:131:1:
    59  	FTS_ROOTPARENTLEVEL                    = -1                   // fts.h:130:1:
    60  	FTS_SEEDOT                             = 0x020                // fts.h:94:1:
    61  	FTS_SKIP                               = 4                    // fts.h:160:1:
    62  	FTS_SL                                 = 12                   // fts.h:146:1:
    63  	FTS_SLNONE                             = 13                   // fts.h:147:1:
    64  	FTS_STOP                               = 0x200                // fts.h:106:1:
    65  	FTS_SYMFOLLOW                          = 0x02                 // fts.h:152:1:
    66  	FTS_W                                  = 14                   // fts.h:148:1:
    67  	FTS_WHITEOUT                           = 0x080                // fts.h:96:1:
    68  	FTS_XDEV                               = 0x040                // fts.h:95:1:
    69  	INT16_MAX                              = 32767                // stdint.h:599:1:
    70  	INT16_MIN                              = -32768               // stdint.h:600:1:
    71  	INT32_MAX                              = 2147483647           // stdint.h:555:1:
    72  	INT32_MIN                              = -2147483648          // stdint.h:556:1:
    73  	INT64_MAX                              = 9223372036854775807  // stdint.h:461:1:
    74  	INT64_MIN                              = -9223372036854775808 // stdint.h:462:1:
    75  	INT8_MAX                               = 127                  // stdint.h:621:1:
    76  	INT8_MIN                               = -128                 // stdint.h:622:1:
    77  	INTMAX_MAX                             = 9223372036854775807  // stdint.h:663:1:
    78  	INTMAX_MIN                             = -9223372036854775808 // stdint.h:662:1:
    79  	INTPTR_MAX                             = 9223372036854775807  // stdint.h:649:1:
    80  	INTPTR_MIN                             = -9223372036854775808 // stdint.h:648:1:
    81  	INT_FAST16_MAX                         = 32767                // stdint.h:615:1:
    82  	INT_FAST16_MIN                         = -32768               // stdint.h:614:1:
    83  	INT_FAST32_MAX                         = 2147483647           // stdint.h:574:1:
    84  	INT_FAST32_MIN                         = -2147483648          // stdint.h:573:1:
    85  	INT_FAST64_MAX                         = 9223372036854775807  // stdint.h:483:1:
    86  	INT_FAST64_MIN                         = -9223372036854775808 // stdint.h:482:1:
    87  	INT_FAST8_MAX                          = 127                  // stdint.h:634:1:
    88  	INT_FAST8_MIN                          = -128                 // stdint.h:633:1:
    89  	INT_LEAST16_MAX                        = 32767                // stdint.h:612:1:
    90  	INT_LEAST16_MIN                        = -32768               // stdint.h:611:1:
    91  	INT_LEAST32_MAX                        = 2147483647           // stdint.h:571:1:
    92  	INT_LEAST32_MIN                        = -2147483648          // stdint.h:570:1:
    93  	INT_LEAST64_MAX                        = 9223372036854775807  // stdint.h:480:1:
    94  	INT_LEAST64_MIN                        = -9223372036854775808 // stdint.h:479:1:
    95  	INT_LEAST8_MAX                         = 127                  // stdint.h:631:1:
    96  	INT_LEAST8_MIN                         = -128                 // stdint.h:630:1:
    97  	LITTLE_ENDIAN                          = 1234                 // endian.h:71:1:
    98  	MAC_OS_VERSION_11_0                    = 110000               // AvailabilityVersions.h:238:1:
    99  	MAC_OS_VERSION_12_0                    = 120000               // AvailabilityVersions.h:239:1:
   100  	MAC_OS_X_VERSION_10_0                  = 1000                 // AvailabilityVersions.h:206:1:
   101  	MAC_OS_X_VERSION_10_1                  = 1010                 // AvailabilityVersions.h:207:1:
   102  	MAC_OS_X_VERSION_10_10                 = 101000               // AvailabilityVersions.h:216:1:
   103  	MAC_OS_X_VERSION_10_10_2               = 101002               // AvailabilityVersions.h:217:1:
   104  	MAC_OS_X_VERSION_10_10_3               = 101003               // AvailabilityVersions.h:218:1:
   105  	MAC_OS_X_VERSION_10_11                 = 101100               // AvailabilityVersions.h:219:1:
   106  	MAC_OS_X_VERSION_10_11_2               = 101102               // AvailabilityVersions.h:220:1:
   107  	MAC_OS_X_VERSION_10_11_3               = 101103               // AvailabilityVersions.h:221:1:
   108  	MAC_OS_X_VERSION_10_11_4               = 101104               // AvailabilityVersions.h:222:1:
   109  	MAC_OS_X_VERSION_10_12                 = 101200               // AvailabilityVersions.h:223:1:
   110  	MAC_OS_X_VERSION_10_12_1               = 101201               // AvailabilityVersions.h:224:1:
   111  	MAC_OS_X_VERSION_10_12_2               = 101202               // AvailabilityVersions.h:225:1:
   112  	MAC_OS_X_VERSION_10_12_4               = 101204               // AvailabilityVersions.h:226:1:
   113  	MAC_OS_X_VERSION_10_13                 = 101300               // AvailabilityVersions.h:227:1:
   114  	MAC_OS_X_VERSION_10_13_1               = 101301               // AvailabilityVersions.h:228:1:
   115  	MAC_OS_X_VERSION_10_13_2               = 101302               // AvailabilityVersions.h:229:1:
   116  	MAC_OS_X_VERSION_10_13_4               = 101304               // AvailabilityVersions.h:230:1:
   117  	MAC_OS_X_VERSION_10_14                 = 101400               // AvailabilityVersions.h:231:1:
   118  	MAC_OS_X_VERSION_10_14_1               = 101401               // AvailabilityVersions.h:232:1:
   119  	MAC_OS_X_VERSION_10_14_4               = 101404               // AvailabilityVersions.h:233:1:
   120  	MAC_OS_X_VERSION_10_14_6               = 101406               // AvailabilityVersions.h:234:1:
   121  	MAC_OS_X_VERSION_10_15                 = 101500               // AvailabilityVersions.h:235:1:
   122  	MAC_OS_X_VERSION_10_15_1               = 101501               // AvailabilityVersions.h:236:1:
   123  	MAC_OS_X_VERSION_10_16                 = 101600               // AvailabilityVersions.h:237:1:
   124  	MAC_OS_X_VERSION_10_2                  = 1020                 // AvailabilityVersions.h:208:1:
   125  	MAC_OS_X_VERSION_10_3                  = 1030                 // AvailabilityVersions.h:209:1:
   126  	MAC_OS_X_VERSION_10_4                  = 1040                 // AvailabilityVersions.h:210:1:
   127  	MAC_OS_X_VERSION_10_5                  = 1050                 // AvailabilityVersions.h:211:1:
   128  	MAC_OS_X_VERSION_10_6                  = 1060                 // AvailabilityVersions.h:212:1:
   129  	MAC_OS_X_VERSION_10_7                  = 1070                 // AvailabilityVersions.h:213:1:
   130  	MAC_OS_X_VERSION_10_8                  = 1080                 // AvailabilityVersions.h:214:1:
   131  	MAC_OS_X_VERSION_10_9                  = 1090                 // AvailabilityVersions.h:215:1:
   132  	NBBY                                   = 8                    // types.h:186:1:
   133  	PDP_ENDIAN                             = 3412                 // endian.h:73:1:
   134  	PTRDIFF_MAX                            = 9223372036854775807  // stdint.h:652:1:
   135  	PTRDIFF_MIN                            = -9223372036854775808 // stdint.h:651:1:
   136  	RSIZE_MAX                              = 9223372036854775807  // stdint.h:658:1:
   137  	SF_APPEND                              = 0x00040000           // stat.h:340:1:
   138  	SF_ARCHIVED                            = 0x00010000           // stat.h:338:1:
   139  	SF_DATALESS                            = 0x40000000           // stat.h:359:1:
   140  	SF_FIRMLINK                            = 0x00800000           // stat.h:351:1:
   141  	SF_IMMUTABLE                           = 0x00020000           // stat.h:339:1:
   142  	SF_NOUNLINK                            = 0x00100000           // stat.h:342:1:
   143  	SF_RESTRICTED                          = 0x00080000           // stat.h:341:1:
   144  	SF_SETTABLE                            = 0x3fff0000           // stat.h:336:1:
   145  	SF_SUPPORTED                           = 0x009f0000           // stat.h:335:1:
   146  	SF_SYNTHETIC                           = 0xc0000000           // stat.h:337:1:
   147  	SIG_ATOMIC_MAX                         = 2147483647           // stdint.h:668:1:
   148  	SIG_ATOMIC_MIN                         = -2147483648          // stdint.h:667:1:
   149  	SIZE_MAX                               = 18446744073709551615 // stdint.h:653:1:
   150  	S_BLKSIZE                              = 512                  // stat.h:303:1:
   151  	S_IEXEC                                = 64                   // _s_ifmt.h:72:1:
   152  	S_IFBLK                                = 0060000              // _s_ifmt.h:39:1:
   153  	S_IFCHR                                = 0020000              // _s_ifmt.h:37:1:
   154  	S_IFDIR                                = 0040000              // _s_ifmt.h:38:1:
   155  	S_IFIFO                                = 0010000              // _s_ifmt.h:36:1:
   156  	S_IFLNK                                = 0120000              // _s_ifmt.h:41:1:
   157  	S_IFMT                                 = 0170000              // _s_ifmt.h:35:1:
   158  	S_IFREG                                = 0100000              // _s_ifmt.h:40:1:
   159  	S_IFSOCK                               = 0140000              // _s_ifmt.h:42:1:
   160  	S_IFWHT                                = 0160000              // _s_ifmt.h:44:1:
   161  	S_IREAD                                = 256                  // _s_ifmt.h:70:1:
   162  	S_IRGRP                                = 0000040              // _s_ifmt.h:55:1:
   163  	S_IROTH                                = 0000004              // _s_ifmt.h:60:1:
   164  	S_IRUSR                                = 0000400              // _s_ifmt.h:50:1:
   165  	S_IRWXG                                = 0000070              // _s_ifmt.h:54:1:
   166  	S_IRWXO                                = 0000007              // _s_ifmt.h:59:1:
   167  	S_IRWXU                                = 0000700              // _s_ifmt.h:49:1:
   168  	S_ISGID                                = 0002000              // _s_ifmt.h:65:1:
   169  	S_ISTXT                                = 512                  // _s_ifmt.h:69:1:
   170  	S_ISUID                                = 0004000              // _s_ifmt.h:64:1:
   171  	S_ISVTX                                = 0001000              // _s_ifmt.h:66:1:
   172  	S_IWGRP                                = 0000020              // _s_ifmt.h:56:1:
   173  	S_IWOTH                                = 0000002              // _s_ifmt.h:61:1:
   174  	S_IWRITE                               = 128                  // _s_ifmt.h:71:1:
   175  	S_IWUSR                                = 0000200              // _s_ifmt.h:51:1:
   176  	S_IXGRP                                = 0000010              // _s_ifmt.h:57:1:
   177  	S_IXOTH                                = 0000001              // _s_ifmt.h:62:1:
   178  	S_IXUSR                                = 0000100              // _s_ifmt.h:52:1:
   179  	UF_APPEND                              = 0x00000004           // stat.h:313:1:
   180  	UF_COMPRESSED                          = 0x00000020           // stat.h:320:1:
   181  	UF_DATAVAULT                           = 0x00000080           // stat.h:326:1:
   182  	UF_HIDDEN                              = 0x00008000           // stat.h:330:1:
   183  	UF_IMMUTABLE                           = 0x00000002           // stat.h:312:1:
   184  	UF_NODUMP                              = 0x00000001           // stat.h:311:1:
   185  	UF_OPAQUE                              = 0x00000008           // stat.h:314:1:
   186  	UF_SETTABLE                            = 0x0000ffff           // stat.h:310:1:
   187  	UF_TRACKED                             = 0x00000040           // stat.h:324:1:
   188  	UINT16_MAX                             = 65535                // stdint.h:601:1:
   189  	UINT32_MAX                             = 4294967295           // stdint.h:557:1:
   190  	UINT64_MAX                             = 18446744073709551615 // stdint.h:463:1:
   191  	UINT8_MAX                              = 255                  // stdint.h:623:1:
   192  	UINTMAX_MAX                            = 18446744073709551615 // stdint.h:664:1:
   193  	UINTPTR_MAX                            = 18446744073709551615 // stdint.h:650:1:
   194  	UINT_FAST16_MAX                        = 65535                // stdint.h:616:1:
   195  	UINT_FAST32_MAX                        = 4294967295           // stdint.h:575:1:
   196  	UINT_FAST64_MAX                        = 18446744073709551615 // stdint.h:484:1:
   197  	UINT_FAST8_MAX                         = 255                  // stdint.h:635:1:
   198  	UINT_LEAST16_MAX                       = 65535                // stdint.h:613:1:
   199  	UINT_LEAST32_MAX                       = 4294967295           // stdint.h:572:1:
   200  	UINT_LEAST64_MAX                       = 18446744073709551615 // stdint.h:481:1:
   201  	UINT_LEAST8_MAX                        = 255                  // stdint.h:632:1:
   202  	UTIME_NOW                              = -1                   // stat.h:395:1:
   203  	UTIME_OMIT                             = -2                   // stat.h:396:1:
   204  	WCHAR_MAX                              = 2147483647           // stdint.h:678:1:
   205  	WCHAR_MIN                              = -2147483648          // stdint.h:682:1:
   206  	WINT_MAX                               = 2147483647           // stdint.h:674:1:
   207  	WINT_MIN                               = -2147483648          // stdint.h:673:1:
   208  	X_ARM_ARCH_H                           = 0                    // arch.h:29:1:
   209  	X_ARM_MACHTYPES_H_                     = 0                    // types.h:43:1:
   210  	X_ARM__ENDIAN_H_                       = 0                    // endian.h:43:1:
   211  	X_BLKCNT_T                             = 0                    // _blkcnt_t.h:29:1:
   212  	X_BLKSIZE_T                            = 0                    // _blksize_t.h:29:1:
   213  	X_BSD_ARM__TYPES_H_                    = 0                    // _types.h:5:1:
   214  	X_BSD_MACHINE_ENDIAN_H_                = 0                    // endian.h:32:1:
   215  	X_BSD_MACHINE_TYPES_H_                 = 0                    // types.h:32:1:
   216  	X_BSD_MACHINE__TYPES_H_                = 0                    // _types.h:29:1:
   217  	X_CADDR_T                              = 0                    // _caddr_t.h:29:1:
   218  	X_CDEFS_H_                             = 0                    // cdefs.h:68:1:
   219  	X_CLOCK_T                              = 0                    // _clock_t.h:29:1:
   220  	X_DARWIN_FEATURE_64_BIT_INODE          = 1                    // cdefs.h:774:1:
   221  	X_DARWIN_FEATURE_ONLY_64_BIT_INODE     = 1                    // cdefs.h:784:1:
   222  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1                    // cdefs.h:800:1:
   223  	X_DARWIN_FEATURE_ONLY_VERS_1050        = 1                    // cdefs.h:792:1:
   224  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3                    // cdefs.h:808:1:
   225  	X_DEV_T                                = 0                    // _dev_t.h:29:1:
   226  	X_ERRNO_T                              = 0                    // _errno_t.h:29:1:
   227  	X_FD_SET                               = 0                    // _fd_def.h:29:1:
   228  	X_FILESEC_T                            = 0                    // _filesec_t.h:29:1:
   229  	X_FILE_OFFSET_BITS                     = 64                   // <builtin>:25:1:
   230  	X_FSBLKCNT_T                           = 0                    // _fsblkcnt_t.h:29:1:
   231  	X_FSFILCNT_T                           = 0                    // _fsfilcnt_t.h:29:1:
   232  	X_FTS_H_                               = 0                    // fts.h:59:1:
   233  	X_GID_T                                = 0                    // _gid_t.h:29:1:
   234  	X_ID_T                                 = 0                    // _id_t.h:29:1:
   235  	X_INO64_T                              = 0                    // _ino64_t.h:29:1:
   236  	X_INO_T                                = 0                    // _ino_t.h:29:1:
   237  	X_INT16_T                              = 0                    // _int16_t.h:29:1:
   238  	X_INT32_T                              = 0                    // _int32_t.h:29:1:
   239  	X_INT64_T                              = 0                    // _int64_t.h:29:1:
   240  	X_INT8_T                               = 0                    // _int8_t.h:29:1:
   241  	X_INTPTR_T                             = 0                    // _intptr_t.h:29:1:
   242  	X_IN_ADDR_T                            = 0                    // _in_addr_t.h:29:1:
   243  	X_IN_PORT_T                            = 0                    // _in_port_t.h:29:1:
   244  	X_KEY_T                                = 0                    // _key_t.h:29:1:
   245  	X_LP64                                 = 1                    // <predefined>:1:1:
   246  	X_MACHTYPES_H_                         = 0                    // types.h:44:1:
   247  	X_MODE_T                               = 0                    // _mode_t.h:29:1:
   248  	X_NLINK_T                              = 0                    // _nlink_t.h:29:1:
   249  	X_Nonnull                              = 0                    // cdefs.h:268:1:
   250  	X_Null_unspecified                     = 0                    // cdefs.h:271:1:
   251  	X_Nullable                             = 0                    // cdefs.h:265:1:
   252  	X_OFF_T                                = 0                    // _off_t.h:29:1:
   253  	X_OS_OSBYTEORDERARM_H                  = 0                    // OSByteOrder.h:6:1:
   254  	X_OS__OSBYTEORDER_H                    = 0                    // _OSByteOrder.h:30:1:
   255  	X_PID_T                                = 0                    // _pid_t.h:29:1:
   256  	X_PTHREAD_ATTR_T                       = 0                    // _pthread_attr_t.h:29:1:
   257  	X_PTHREAD_CONDATTR_T                   = 0                    // _pthread_condattr_t.h:29:1:
   258  	X_PTHREAD_COND_T                       = 0                    // _pthread_cond_t.h:29:1:
   259  	X_PTHREAD_KEY_T                        = 0                    // _pthread_key_t.h:29:1:
   260  	X_PTHREAD_MUTEXATTR_T                  = 0                    // _pthread_mutexattr_t.h:29:1:
   261  	X_PTHREAD_MUTEX_T                      = 0                    // _pthread_mutex_t.h:29:1:
   262  	X_PTHREAD_ONCE_T                       = 0                    // _pthread_once_t.h:29:1:
   263  	X_PTHREAD_RWLOCKATTR_T                 = 0                    // _pthread_rwlockattr_t.h:29:1:
   264  	X_PTHREAD_RWLOCK_T                     = 0                    // _pthread_rwlock_t.h:29:1:
   265  	X_PTHREAD_T                            = 0                    // _pthread_t.h:29:1:
   266  	X_QUAD_HIGHWORD                        = 1                    // endian.h:56:1:
   267  	X_QUAD_LOWWORD                         = 0                    // endian.h:57:1:
   268  	X_RSIZE_T                              = 0                    // _rsize_t.h:29:1:
   269  	X_SIZE_T                               = 0                    // _size_t.h:29:1:
   270  	X_SSIZE_T                              = 0                    // _ssize_t.h:29:1:
   271  	X_SUSECONDS_T                          = 0                    // _suseconds_t.h:29:1:
   272  	X_SYS_STAT_H_                          = 0                    // stat.h:71:1:
   273  	X_SYS_TYPES_H_                         = 0                    // types.h:70:1:
   274  	X_SYS__ENDIAN_H_                       = 0                    // _endian.h:91:1:
   275  	X_SYS__PTHREAD_TYPES_H_                = 0                    // _pthread_types.h:30:1:
   276  	X_SYS__TYPES_H_                        = 0                    // _types.h:30:1:
   277  	X_TIME_T                               = 0                    // _time_t.h:29:1:
   278  	X_UID_T                                = 0                    // _uid_t.h:29:1:
   279  	X_UINTPTR_T                            = 0                    // _uintptr_t.h:29:1:
   280  	X_USECONDS_T                           = 0                    // _useconds_t.h:29:1:
   281  	X_U_CHAR                               = 0                    // _u_char.h:29:1:
   282  	X_U_INT                                = 0                    // _u_int.h:29:1:
   283  	X_U_INT16_T                            = 0                    // _u_int16_t.h:29:1:
   284  	X_U_INT32_T                            = 0                    // _u_int32_t.h:29:1:
   285  	X_U_INT64_T                            = 0                    // _u_int64_t.h:29:1:
   286  	X_U_INT8_T                             = 0                    // _u_int8_t.h:29:1:
   287  	X_U_LONG                               = 0                    // types.h:89:1:
   288  	X_U_SHORT                              = 0                    // _u_short.h:29:1:
   289  )
   290  
   291  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   292  
   293  type Size_t = uint64 /* <builtin>:9:23 */
   294  
   295  type Wchar_t = int32 /* <builtin>:15:24 */
   296  
   297  type X__int128_t = struct {
   298  	Flo int64
   299  	Fhi int64
   300  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   301  type X__uint128_t = struct {
   302  	Flo uint64
   303  	Fhi uint64
   304  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   305  
   306  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   307  type X__float128 = float64        /* <builtin>:47:21 */
   308  
   309  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
   310  
   311  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   312  //
   313  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   314  //
   315  // This file contains Original Code and/or Modifications of Original Code
   316  // as defined in and that are subject to the Apple Public Source License
   317  // Version 2.0 (the 'License'). You may not use this file except in
   318  // compliance with the License. The rights granted to you under the License
   319  // may not be used to create, or enable the creation or redistribution of,
   320  // unlawful or unlicensed copies of an Apple operating system, or to
   321  // circumvent, violate, or enable the circumvention or violation of, any
   322  // terms of an Apple operating system software license agreement.
   323  //
   324  // Please obtain a copy of the License at
   325  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   326  //
   327  // The Original Code and all software distributed under the License are
   328  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   329  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   330  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   331  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   332  // Please see the License for the specific language governing rights and
   333  // limitations under the License.
   334  //
   335  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   336  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
   337  // Copyright (c) 1982, 1986, 1991, 1993, 1994
   338  //	The Regents of the University of California.  All rights reserved.
   339  // (c) UNIX System Laboratories, Inc.
   340  // All or some portions of this file are derived from material licensed
   341  // to the University of California by American Telephone and Telegraph
   342  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
   343  // the permission of UNIX System Laboratories, Inc.
   344  //
   345  // Redistribution and use in source and binary forms, with or without
   346  // modification, are permitted provided that the following conditions
   347  // are met:
   348  // 1. Redistributions of source code must retain the above copyright
   349  //    notice, this list of conditions and the following disclaimer.
   350  // 2. Redistributions in binary form must reproduce the above copyright
   351  //    notice, this list of conditions and the following disclaimer in the
   352  //    documentation and/or other materials provided with the distribution.
   353  // 3. All advertising materials mentioning features or use of this software
   354  //    must display the following acknowledgement:
   355  //	This product includes software developed by the University of
   356  //	California, Berkeley and its contributors.
   357  // 4. Neither the name of the University nor the names of its contributors
   358  //    may be used to endorse or promote products derived from this software
   359  //    without specific prior written permission.
   360  //
   361  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   362  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   363  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   364  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   365  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   366  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   367  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   368  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   369  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   370  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   371  // SUCH DAMAGE.
   372  //
   373  //	@(#)types.h	8.4 (Berkeley) 1/21/94
   374  
   375  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
   376  //
   377  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   378  //
   379  // This file contains Original Code and/or Modifications of Original Code
   380  // as defined in and that are subject to the Apple Public Source License
   381  // Version 2.0 (the 'License'). You may not use this file except in
   382  // compliance with the License. The rights granted to you under the License
   383  // may not be used to create, or enable the creation or redistribution of,
   384  // unlawful or unlicensed copies of an Apple operating system, or to
   385  // circumvent, violate, or enable the circumvention or violation of, any
   386  // terms of an Apple operating system software license agreement.
   387  //
   388  // Please obtain a copy of the License at
   389  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   390  //
   391  // The Original Code and all software distributed under the License are
   392  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   393  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   394  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   395  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   396  // Please see the License for the specific language governing rights and
   397  // limitations under the License.
   398  //
   399  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   400  
   401  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   402  //
   403  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   404  //
   405  // This file contains Original Code and/or Modifications of Original Code
   406  // as defined in and that are subject to the Apple Public Source License
   407  // Version 2.0 (the 'License'). You may not use this file except in
   408  // compliance with the License. The rights granted to you under the License
   409  // may not be used to create, or enable the creation or redistribution of,
   410  // unlawful or unlicensed copies of an Apple operating system, or to
   411  // circumvent, violate, or enable the circumvention or violation of, any
   412  // terms of an Apple operating system software license agreement.
   413  //
   414  // Please obtain a copy of the License at
   415  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   416  //
   417  // The Original Code and all software distributed under the License are
   418  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   419  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   420  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   421  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   422  // Please see the License for the specific language governing rights and
   423  // limitations under the License.
   424  //
   425  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   426  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   427  // Copyright (c) 1991, 1993
   428  //	The Regents of the University of California.  All rights reserved.
   429  //
   430  // This code is derived from software contributed to Berkeley by
   431  // Berkeley Software Design, Inc.
   432  //
   433  // Redistribution and use in source and binary forms, with or without
   434  // modification, are permitted provided that the following conditions
   435  // are met:
   436  // 1. Redistributions of source code must retain the above copyright
   437  //    notice, this list of conditions and the following disclaimer.
   438  // 2. Redistributions in binary form must reproduce the above copyright
   439  //    notice, this list of conditions and the following disclaimer in the
   440  //    documentation and/or other materials provided with the distribution.
   441  // 3. All advertising materials mentioning features or use of this software
   442  //    must display the following acknowledgement:
   443  //	This product includes software developed by the University of
   444  //	California, Berkeley and its contributors.
   445  // 4. Neither the name of the University nor the names of its contributors
   446  //    may be used to endorse or promote products derived from this software
   447  //    without specific prior written permission.
   448  //
   449  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   450  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   451  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   452  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   453  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   454  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   455  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   456  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   457  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   458  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   459  // SUCH DAMAGE.
   460  //
   461  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   462  
   463  // This SDK is designed to work with clang and specific versions of
   464  // gcc >= 4.0 with Apple's patch sets
   465  
   466  // Compatibility with compilers and environments that don't support compiler
   467  // feature checking function-like macros.
   468  
   469  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   470  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   471  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   472  // in between its arguments.  __CONCAT can also concatenate double-quoted
   473  // strings produced by the __STRING macro, but this only works with ANSI C.
   474  
   475  // In non-ANSI C environments, new programs will want ANSI-only C keywords
   476  // deleted from the program and old programs will want them left alone.
   477  // When using a compiler other than gcc, programs using the ANSI C keywords
   478  // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
   479  // When using "gcc -traditional", we assume that this is the intent; if
   480  // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
   481  
   482  // __pure2 can be used for functions that are only a function of their scalar
   483  // arguments (meaning they can't dereference pointers).
   484  //
   485  // __stateful_pure can be used for functions that have no side effects,
   486  // but depend on the state of the memory.
   487  
   488  // __unused denotes variables and functions that may not be used, preventing
   489  // the compiler from warning about it if not used.
   490  
   491  // __used forces variables and functions to be included even if it appears
   492  // to the compiler that they are not used (and would thust be discarded).
   493  
   494  // __cold marks code used for debugging or that is rarely taken
   495  // and tells the compiler to optimize for size and outline code.
   496  
   497  // __exported denotes symbols that should be exported even when symbols
   498  // are hidden by default.
   499  // __exported_push/_exported_pop are pragmas used to delimit a range of
   500  //  symbols that should be exported even when symbols are hidden by default.
   501  
   502  // __deprecated causes the compiler to produce a warning when encountering
   503  // code using the deprecated functionality.
   504  // __deprecated_msg() does the same, and compilers that support it will print
   505  // a message along with the deprecation warning.
   506  // This may require turning on such warning with the -Wdeprecated flag.
   507  // __deprecated_enum_msg() should be used on enums, and compilers that support
   508  // it will print the deprecation warning.
   509  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   510  // interfaces in Kernel.framework used by KEXTs.
   511  
   512  // __unavailable causes the compiler to error out when encountering
   513  // code using the tagged function
   514  
   515  // Delete pseudo-keywords wherever they are not available or needed.
   516  
   517  // We use `__restrict' as a way to define the `restrict' type qualifier
   518  // without disturbing older software that is unaware of C99 keywords.
   519  
   520  // Compatibility with compilers and environments that don't support the
   521  // nullability feature.
   522  
   523  // __disable_tail_calls causes the compiler to not perform tail call
   524  // optimization inside the marked function.
   525  
   526  // __not_tail_called causes the compiler to prevent tail call optimization
   527  // on statically bound calls to the function.  It has no effect on indirect
   528  // calls.  Virtual functions, objective-c methods, and functions marked as
   529  // "always_inline" cannot be marked as __not_tail_called.
   530  
   531  // __result_use_check warns callers of a function that not using the function
   532  // return value is a bug, i.e. dismissing malloc() return value results in a
   533  // memory leak.
   534  
   535  // __swift_unavailable causes the compiler to mark a symbol as specifically
   536  // unavailable in Swift, regardless of any other availability in C.
   537  
   538  // __abortlike is the attribute to put on functions like abort() that are
   539  // typically used to mark assertions. These optimize the codegen
   540  // for outlining while still maintaining debugability.
   541  
   542  // Declaring inline functions within headers is error-prone due to differences
   543  // across various versions of the C language and extensions.  __header_inline
   544  // can be used to declare inline functions within system headers.  In cases
   545  // where you want to force inlining instead of letting the compiler make
   546  // the decision, you can use __header_always_inline.
   547  //
   548  // Be aware that using inline for functions which compilers may also provide
   549  // builtins can behave differently under various compilers.  If you intend to
   550  // provide an inline version of such a function, you may want to use a macro
   551  // instead.
   552  //
   553  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   554  // support c99 inline in some cases:
   555  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   556  
   557  // Compiler-dependent macros that bracket portions of code where the
   558  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   559  
   560  // Compiler-dependent macros to declare that functions take printf-like
   561  // or scanf-like arguments.  They are null except for versions of gcc
   562  // that are known to support the features properly.  Functions declared
   563  // with these attributes will cause compilation warnings if there is a
   564  // mismatch between the format string and subsequent function parameter
   565  // types.
   566  
   567  // Source compatibility only, ID string not emitted in object file
   568  
   569  // __alloc_size can be used to label function arguments that represent the
   570  // size of memory that the function allocates and returns. The one-argument
   571  // form labels a single argument that gives the allocation size (where the
   572  // arguments are numbered from 1):
   573  //
   574  // void	*malloc(size_t __size) __alloc_size(1);
   575  //
   576  // The two-argument form handles the case where the size is calculated as the
   577  // product of two arguments:
   578  //
   579  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   580  
   581  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   582  //
   583  // DEFAULT	By default newly complied code will get POSIX APIs plus
   584  //		Apple API extensions in scope.
   585  //
   586  //		Most users will use this compilation environment to avoid
   587  //		behavioral differences between 32 and 64 bit code.
   588  //
   589  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   590  //		API extensions in scope.
   591  //
   592  //		This is generally equivalent to the Tiger release compilation
   593  //		environment, except that it cannot be applied to 64 bit code;
   594  //		its use is discouraged.
   595  //
   596  //		We expect this environment to be deprecated in the future.
   597  //
   598  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   599  //		available APIs to exactly the set of APIs defined by the
   600  //		corresponding standard, based on the value defined.
   601  //
   602  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   603  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   604  //
   605  //		Apple API extensions are not visible in this environment,
   606  //		which can cause Apple specific code to fail to compile,
   607  //		or behave incorrectly if prototypes are not in scope or
   608  //		warnings about missing prototypes are not enabled or ignored.
   609  //
   610  // In any compilation environment, for correct symbol resolution to occur,
   611  // function prototypes must be in scope.  It is recommended that all Apple
   612  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   613  // compiler flags to their projects to be warned when a function is being
   614  // used without a prototype in scope.
   615  
   616  // These settings are particular to each product.
   617  // Platform: MacOSX
   618  
   619  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   620  // legacy code to use the old symbol, thus maintaining binary compatibility
   621  // while new code can use a standards compliant version of the same function.
   622  //
   623  // __DARWIN_ALIAS is used by itself if the function signature has not
   624  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   625  // if the signature has changed.  Because the __LP64__ environment
   626  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   627  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   628  //
   629  // As a special case, when XCode is used to target a specific version of the
   630  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   631  // will be defined by the compiler, with the digits representing major version
   632  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   633  // pre-10.5, and it is the default compilation environment, revert the
   634  // compilation environment to pre-__DARWIN_UNIX03.
   635  
   636  // symbol suffixes used for symbol versioning
   637  
   638  // symbol versioning macros
   639  
   640  // symbol release macros
   641  // Copyright (c) 2010 Apple Inc. All rights reserved.
   642  //
   643  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   644  //
   645  // This file contains Original Code and/or Modifications of Original Code
   646  // as defined in and that are subject to the Apple Public Source License
   647  // Version 2.0 (the 'License'). You may not use this file except in
   648  // compliance with the License. The rights granted to you under the License
   649  // may not be used to create, or enable the creation or redistribution of,
   650  // unlawful or unlicensed copies of an Apple operating system, or to
   651  // circumvent, violate, or enable the circumvention or violation of, any
   652  // terms of an Apple operating system software license agreement.
   653  //
   654  // Please obtain a copy of the License at
   655  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   656  //
   657  // The Original Code and all software distributed under the License are
   658  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   659  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   660  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   661  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   662  // Please see the License for the specific language governing rights and
   663  // limitations under the License.
   664  //
   665  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   666  
   667  // POSIX.1 requires that the macros we test be defined before any standard
   668  // header file is included.  This permits us to convert values for feature
   669  // testing, as necessary, using only _POSIX_C_SOURCE.
   670  //
   671  // Here's a quick run-down of the versions:
   672  //  defined(_POSIX_SOURCE)		1003.1-1988
   673  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   674  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   675  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   676  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   677  //					and the omnibus ISO/IEC 9945-1: 1996
   678  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   679  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   680  //
   681  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   682  // Specification, defines a feature-test macro which indicates the version of
   683  // that specification, and which subsumes _POSIX_C_SOURCE.
   684  
   685  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   686  
   687  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   688  
   689  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   690  
   691  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   692  // important.
   693  
   694  // POSIX C deprecation macros
   695  // Copyright (c) 2010 Apple Inc. All rights reserved.
   696  //
   697  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   698  //
   699  // This file contains Original Code and/or Modifications of Original Code
   700  // as defined in and that are subject to the Apple Public Source License
   701  // Version 2.0 (the 'License'). You may not use this file except in
   702  // compliance with the License. The rights granted to you under the License
   703  // may not be used to create, or enable the creation or redistribution of,
   704  // unlawful or unlicensed copies of an Apple operating system, or to
   705  // circumvent, violate, or enable the circumvention or violation of, any
   706  // terms of an Apple operating system software license agreement.
   707  //
   708  // Please obtain a copy of the License at
   709  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   710  //
   711  // The Original Code and all software distributed under the License are
   712  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   713  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   714  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   715  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   716  // Please see the License for the specific language governing rights and
   717  // limitations under the License.
   718  //
   719  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   720  
   721  // Set a single macro which will always be defined and can be used to determine
   722  // the appropriate namespace.  For POSIX, these values will correspond to
   723  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   724  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   725  
   726  // If the developer has neither requested a strict language mode nor a version
   727  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   728  // of __DARWIN_C_FULL.
   729  
   730  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   731  // c99 still want long longs.  While not perfect, we allow long longs for
   732  // g++.
   733  
   734  // ****************************************
   735  //
   736  //  Public darwin-specific feature macros
   737  //
   738  
   739  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   740  // structures modified for 64-bit inodes (like struct stat) will be used.
   741  
   742  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   743  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   744  // (and non-zero).  There is no struct stat64 either, as the regular
   745  // struct stat will already be the 64-bit version.
   746  
   747  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   748  // in 10.5 exists; no pre-10.5 variants are available.
   749  
   750  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   751  // are available (the legacy BSD APIs are not available)
   752  
   753  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   754  // and specifies the conformance level (3 is SUSv3)
   755  
   756  // This macro casts away the qualifier from the variable
   757  //
   758  // Note: use at your own risk, removing qualifiers can result in
   759  // catastrophic run-time failures.
   760  
   761  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   762  // used from other compilation units, but not other libraries or executables.
   763  
   764  // We intentionally define to nothing pointer attributes which do not have an
   765  // impact on the ABI. __indexable and __bidi_indexable are not defined because
   766  // of the ABI incompatibility that makes the diagnostic preferable.
   767  
   768  // Similarly, we intentionally define to nothing the
   769  // __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
   770  // macros because they do not lead to an ABI incompatibility. However, we do not
   771  // define the indexable and unsafe_indexable ones because the diagnostic is
   772  // better than the silent ABI break.
   773  
   774  // __unsafe_forge intrinsics are defined as regular C casts.
   775  
   776  // decay operates normally; attribute is meaningless without pointer checks.
   777  
   778  // Architecture validation for current SDK
   779  
   780  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   781  //
   782  // This provides more advanced type checking on compilers supporting
   783  // the proper extensions, even in C.
   784  
   785  // Machine type dependent parameters.
   786  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   787  //
   788  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   789  //
   790  // This file contains Original Code and/or Modifications of Original Code
   791  // as defined in and that are subject to the Apple Public Source License
   792  // Version 2.0 (the 'License'). You may not use this file except in
   793  // compliance with the License. The rights granted to you under the License
   794  // may not be used to create, or enable the creation or redistribution of,
   795  // unlawful or unlicensed copies of an Apple operating system, or to
   796  // circumvent, violate, or enable the circumvention or violation of, any
   797  // terms of an Apple operating system software license agreement.
   798  //
   799  // Please obtain a copy of the License at
   800  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   801  //
   802  // The Original Code and all software distributed under the License are
   803  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   804  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   805  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   806  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   807  // Please see the License for the specific language governing rights and
   808  // limitations under the License.
   809  //
   810  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   811  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   812  
   813  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   814  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   815  // Copyright (c) 1990, 1993
   816  //	The Regents of the University of California.  All rights reserved.
   817  //
   818  // Redistribution and use in source and binary forms, with or without
   819  // modification, are permitted provided that the following conditions
   820  // are met:
   821  // 1. Redistributions of source code must retain the above copyright
   822  //    notice, this list of conditions and the following disclaimer.
   823  // 2. Redistributions in binary form must reproduce the above copyright
   824  //    notice, this list of conditions and the following disclaimer in the
   825  //    documentation and/or other materials provided with the distribution.
   826  // 3. All advertising materials mentioning features or use of this software
   827  //    must display the following acknowledgement:
   828  //	This product includes software developed by the University of
   829  //	California, Berkeley and its contributors.
   830  // 4. Neither the name of the University nor the names of its contributors
   831  //    may be used to endorse or promote products derived from this software
   832  //    without specific prior written permission.
   833  //
   834  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   835  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   836  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   837  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   838  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   839  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   840  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   841  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   842  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   843  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   844  // SUCH DAMAGE.
   845  //
   846  //	@(#)types.h	8.3 (Berkeley) 1/5/94
   847  
   848  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   849  
   850  // This header file contains integer types.  It's intended to also contain
   851  // flotaing point and other arithmetic types, as needed, later.
   852  
   853  type X__int8_t = int8     /* _types.h:15:33 */
   854  type X__uint8_t = uint8   /* _types.h:19:33 */
   855  type X__int16_t = int16   /* _types.h:20:33 */
   856  type X__uint16_t = uint16 /* _types.h:21:33 */
   857  type X__int32_t = int32   /* _types.h:22:33 */
   858  type X__uint32_t = uint32 /* _types.h:23:33 */
   859  type X__int64_t = int64   /* _types.h:24:33 */
   860  type X__uint64_t = uint64 /* _types.h:25:33 */
   861  
   862  type X__darwin_intptr_t = int64   /* _types.h:27:33 */
   863  type X__darwin_natural_t = uint32 /* _types.h:28:33 */
   864  
   865  // The rune type below is declared to be an ``int'' instead of the more natural
   866  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
   867  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
   868  // it looks like 10646 will be a 31 bit standard.  This means that if your
   869  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
   870  // chosen over a long is that the is*() and to*() routines take ints (says
   871  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
   872  // here, you lose a bit of ANSI conformance, but your programs will still
   873  // work.
   874  //
   875  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
   876  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
   877  // rune_t must be the same type.  Also wint_t must be no narrower than
   878  // wchar_t, and should also be able to hold all members of the largest
   879  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
   880  
   881  type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
   882  
   883  // mbstate_t is an opaque object to keep conversion state, during multibyte
   884  // stream conversions.  The content must not be referenced by user programs.
   885  type X__mbstate_t = struct {
   886  	F__ccgo_pad1 [0]uint64
   887  	F__mbstate8  [128]int8
   888  } /* _types.h:57:3 */
   889  
   890  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
   891  
   892  type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
   893  
   894  type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
   895  
   896  type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
   897  
   898  type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
   899  
   900  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
   901  
   902  type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
   903  
   904  type X__darwin_clock_t = uint64        /* _types.h:95:33 */ // clock()
   905  type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
   906  type X__darwin_ssize_t = int64         /* _types.h:97:33 */ // byte count or error
   907  type X__darwin_time_t = int64          /* _types.h:98:33 */ // time()
   908  
   909  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   910  //
   911  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   912  //
   913  // This file contains Original Code and/or Modifications of Original Code
   914  // as defined in and that are subject to the Apple Public Source License
   915  // Version 2.0 (the 'License'). You may not use this file except in
   916  // compliance with the License. The rights granted to you under the License
   917  // may not be used to create, or enable the creation or redistribution of,
   918  // unlawful or unlicensed copies of an Apple operating system, or to
   919  // circumvent, violate, or enable the circumvention or violation of, any
   920  // terms of an Apple operating system software license agreement.
   921  //
   922  // Please obtain a copy of the License at
   923  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   924  //
   925  // The Original Code and all software distributed under the License are
   926  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   927  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   928  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   929  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   930  // Please see the License for the specific language governing rights and
   931  // limitations under the License.
   932  //
   933  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   934  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   935  // Copyright (c) 1991, 1993
   936  //	The Regents of the University of California.  All rights reserved.
   937  //
   938  // This code is derived from software contributed to Berkeley by
   939  // Berkeley Software Design, Inc.
   940  //
   941  // Redistribution and use in source and binary forms, with or without
   942  // modification, are permitted provided that the following conditions
   943  // are met:
   944  // 1. Redistributions of source code must retain the above copyright
   945  //    notice, this list of conditions and the following disclaimer.
   946  // 2. Redistributions in binary form must reproduce the above copyright
   947  //    notice, this list of conditions and the following disclaimer in the
   948  //    documentation and/or other materials provided with the distribution.
   949  // 3. All advertising materials mentioning features or use of this software
   950  //    must display the following acknowledgement:
   951  //	This product includes software developed by the University of
   952  //	California, Berkeley and its contributors.
   953  // 4. Neither the name of the University nor the names of its contributors
   954  //    may be used to endorse or promote products derived from this software
   955  //    without specific prior written permission.
   956  //
   957  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   958  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   959  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   960  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   961  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   962  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   963  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   964  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   965  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   966  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   967  // SUCH DAMAGE.
   968  //
   969  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   970  
   971  // Basic integral types.  Omit the typedef if
   972  // not possible for a machine/compiler combination.
   973  // Copyright (c) 2012 Apple Inc. All rights reserved.
   974  //
   975  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   976  //
   977  // This file contains Original Code and/or Modifications of Original Code
   978  // as defined in and that are subject to the Apple Public Source License
   979  // Version 2.0 (the 'License'). You may not use this file except in
   980  // compliance with the License. The rights granted to you under the License
   981  // may not be used to create, or enable the creation or redistribution of,
   982  // unlawful or unlicensed copies of an Apple operating system, or to
   983  // circumvent, violate, or enable the circumvention or violation of, any
   984  // terms of an Apple operating system software license agreement.
   985  //
   986  // Please obtain a copy of the License at
   987  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   988  //
   989  // The Original Code and all software distributed under the License are
   990  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   991  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   992  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   993  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   994  // Please see the License for the specific language governing rights and
   995  // limitations under the License.
   996  //
   997  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   998  type Int8_t = int8 /* _int8_t.h:30:31 */
   999  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1000  //
  1001  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1002  //
  1003  // This file contains Original Code and/or Modifications of Original Code
  1004  // as defined in and that are subject to the Apple Public Source License
  1005  // Version 2.0 (the 'License'). You may not use this file except in
  1006  // compliance with the License. The rights granted to you under the License
  1007  // may not be used to create, or enable the creation or redistribution of,
  1008  // unlawful or unlicensed copies of an Apple operating system, or to
  1009  // circumvent, violate, or enable the circumvention or violation of, any
  1010  // terms of an Apple operating system software license agreement.
  1011  //
  1012  // Please obtain a copy of the License at
  1013  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1014  //
  1015  // The Original Code and all software distributed under the License are
  1016  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1017  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1018  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1019  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1020  // Please see the License for the specific language governing rights and
  1021  // limitations under the License.
  1022  //
  1023  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1024  type Int16_t = int16 /* _int16_t.h:30:33 */
  1025  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1026  //
  1027  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1028  //
  1029  // This file contains Original Code and/or Modifications of Original Code
  1030  // as defined in and that are subject to the Apple Public Source License
  1031  // Version 2.0 (the 'License'). You may not use this file except in
  1032  // compliance with the License. The rights granted to you under the License
  1033  // may not be used to create, or enable the creation or redistribution of,
  1034  // unlawful or unlicensed copies of an Apple operating system, or to
  1035  // circumvent, violate, or enable the circumvention or violation of, any
  1036  // terms of an Apple operating system software license agreement.
  1037  //
  1038  // Please obtain a copy of the License at
  1039  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1040  //
  1041  // The Original Code and all software distributed under the License are
  1042  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1043  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1044  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1045  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1046  // Please see the License for the specific language governing rights and
  1047  // limitations under the License.
  1048  //
  1049  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1050  type Int32_t = int32 /* _int32_t.h:30:33 */
  1051  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1052  //
  1053  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1054  //
  1055  // This file contains Original Code and/or Modifications of Original Code
  1056  // as defined in and that are subject to the Apple Public Source License
  1057  // Version 2.0 (the 'License'). You may not use this file except in
  1058  // compliance with the License. The rights granted to you under the License
  1059  // may not be used to create, or enable the creation or redistribution of,
  1060  // unlawful or unlicensed copies of an Apple operating system, or to
  1061  // circumvent, violate, or enable the circumvention or violation of, any
  1062  // terms of an Apple operating system software license agreement.
  1063  //
  1064  // Please obtain a copy of the License at
  1065  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1066  //
  1067  // The Original Code and all software distributed under the License are
  1068  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1069  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1070  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1071  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1072  // Please see the License for the specific language governing rights and
  1073  // limitations under the License.
  1074  //
  1075  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1076  type Int64_t = int64 /* _int64_t.h:30:33 */
  1077  
  1078  // Copyright (c) 2016 Apple Inc. All rights reserved.
  1079  //
  1080  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1081  //
  1082  // This file contains Original Code and/or Modifications of Original Code
  1083  // as defined in and that are subject to the Apple Public Source License
  1084  // Version 2.0 (the 'License'). You may not use this file except in
  1085  // compliance with the License. The rights granted to you under the License
  1086  // may not be used to create, or enable the creation or redistribution of,
  1087  // unlawful or unlicensed copies of an Apple operating system, or to
  1088  // circumvent, violate, or enable the circumvention or violation of, any
  1089  // terms of an Apple operating system software license agreement.
  1090  //
  1091  // Please obtain a copy of the License at
  1092  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1093  //
  1094  // The Original Code and all software distributed under the License are
  1095  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1096  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1097  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1098  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1099  // Please see the License for the specific language governing rights and
  1100  // limitations under the License.
  1101  //
  1102  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1103  type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1104  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1105  //
  1106  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1107  //
  1108  // This file contains Original Code and/or Modifications of Original Code
  1109  // as defined in and that are subject to the Apple Public Source License
  1110  // Version 2.0 (the 'License'). You may not use this file except in
  1111  // compliance with the License. The rights granted to you under the License
  1112  // may not be used to create, or enable the creation or redistribution of,
  1113  // unlawful or unlicensed copies of an Apple operating system, or to
  1114  // circumvent, violate, or enable the circumvention or violation of, any
  1115  // terms of an Apple operating system software license agreement.
  1116  //
  1117  // Please obtain a copy of the License at
  1118  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1119  //
  1120  // The Original Code and all software distributed under the License are
  1121  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1122  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1123  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1124  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1125  // Please see the License for the specific language governing rights and
  1126  // limitations under the License.
  1127  //
  1128  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1129  type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1130  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1131  //
  1132  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1133  //
  1134  // This file contains Original Code and/or Modifications of Original Code
  1135  // as defined in and that are subject to the Apple Public Source License
  1136  // Version 2.0 (the 'License'). You may not use this file except in
  1137  // compliance with the License. The rights granted to you under the License
  1138  // may not be used to create, or enable the creation or redistribution of,
  1139  // unlawful or unlicensed copies of an Apple operating system, or to
  1140  // circumvent, violate, or enable the circumvention or violation of, any
  1141  // terms of an Apple operating system software license agreement.
  1142  //
  1143  // Please obtain a copy of the License at
  1144  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1145  //
  1146  // The Original Code and all software distributed under the License are
  1147  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1148  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1149  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1150  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1151  // Please see the License for the specific language governing rights and
  1152  // limitations under the License.
  1153  //
  1154  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1155  type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1156  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1157  //
  1158  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1159  //
  1160  // This file contains Original Code and/or Modifications of Original Code
  1161  // as defined in and that are subject to the Apple Public Source License
  1162  // Version 2.0 (the 'License'). You may not use this file except in
  1163  // compliance with the License. The rights granted to you under the License
  1164  // may not be used to create, or enable the creation or redistribution of,
  1165  // unlawful or unlicensed copies of an Apple operating system, or to
  1166  // circumvent, violate, or enable the circumvention or violation of, any
  1167  // terms of an Apple operating system software license agreement.
  1168  //
  1169  // Please obtain a copy of the License at
  1170  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1171  //
  1172  // The Original Code and all software distributed under the License are
  1173  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1174  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1175  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1176  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1177  // Please see the License for the specific language governing rights and
  1178  // limitations under the License.
  1179  //
  1180  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1181  type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1182  
  1183  type Register_t = Int64_t /* types.h:66:33 */
  1184  
  1185  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1186  //
  1187  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1188  //
  1189  // This file contains Original Code and/or Modifications of Original Code
  1190  // as defined in and that are subject to the Apple Public Source License
  1191  // Version 2.0 (the 'License'). You may not use this file except in
  1192  // compliance with the License. The rights granted to you under the License
  1193  // may not be used to create, or enable the creation or redistribution of,
  1194  // unlawful or unlicensed copies of an Apple operating system, or to
  1195  // circumvent, violate, or enable the circumvention or violation of, any
  1196  // terms of an Apple operating system software license agreement.
  1197  //
  1198  // Please obtain a copy of the License at
  1199  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1200  //
  1201  // The Original Code and all software distributed under the License are
  1202  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1203  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1204  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1205  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1206  // Please see the License for the specific language governing rights and
  1207  // limitations under the License.
  1208  //
  1209  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1210  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1211  //
  1212  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1213  //
  1214  // This file contains Original Code and/or Modifications of Original Code
  1215  // as defined in and that are subject to the Apple Public Source License
  1216  // Version 2.0 (the 'License'). You may not use this file except in
  1217  // compliance with the License. The rights granted to you under the License
  1218  // may not be used to create, or enable the creation or redistribution of,
  1219  // unlawful or unlicensed copies of an Apple operating system, or to
  1220  // circumvent, violate, or enable the circumvention or violation of, any
  1221  // terms of an Apple operating system software license agreement.
  1222  //
  1223  // Please obtain a copy of the License at
  1224  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1225  //
  1226  // The Original Code and all software distributed under the License are
  1227  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1228  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1229  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1230  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1231  // Please see the License for the specific language governing rights and
  1232  // limitations under the License.
  1233  //
  1234  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1235  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1236  
  1237  type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  1238  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1239  //
  1240  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1241  //
  1242  // This file contains Original Code and/or Modifications of Original Code
  1243  // as defined in and that are subject to the Apple Public Source License
  1244  // Version 2.0 (the 'License'). You may not use this file except in
  1245  // compliance with the License. The rights granted to you under the License
  1246  // may not be used to create, or enable the creation or redistribution of,
  1247  // unlawful or unlicensed copies of an Apple operating system, or to
  1248  // circumvent, violate, or enable the circumvention or violation of, any
  1249  // terms of an Apple operating system software license agreement.
  1250  //
  1251  // Please obtain a copy of the License at
  1252  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1253  //
  1254  // The Original Code and all software distributed under the License are
  1255  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1256  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1257  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1258  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1259  // Please see the License for the specific language governing rights and
  1260  // limitations under the License.
  1261  //
  1262  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1263  
  1264  type Uintptr_t = uint64 /* _uintptr_t.h:34:33 */
  1265  
  1266  // These types are used for reserving the largest possible size.
  1267  type User_addr_t = U_int64_t  /* types.h:77:33 */
  1268  type User_size_t = U_int64_t  /* types.h:78:33 */
  1269  type User_ssize_t = Int64_t   /* types.h:79:33 */
  1270  type User_long_t = Int64_t    /* types.h:80:33 */
  1271  type User_ulong_t = U_int64_t /* types.h:81:33 */
  1272  type User_time_t = Int64_t    /* types.h:82:33 */
  1273  type User_off_t = Int64_t     /* types.h:83:33 */
  1274  
  1275  // This defines the size of syscall arguments after copying into the kernel:
  1276  type Syscall_arg_t = U_int64_t /* types.h:104:33 */
  1277  
  1278  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1279  //
  1280  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1281  //
  1282  // This file contains Original Code and/or Modifications of Original Code
  1283  // as defined in and that are subject to the Apple Public Source License
  1284  // Version 2.0 (the 'License'). You may not use this file except in
  1285  // compliance with the License. The rights granted to you under the License
  1286  // may not be used to create, or enable the creation or redistribution of,
  1287  // unlawful or unlicensed copies of an Apple operating system, or to
  1288  // circumvent, violate, or enable the circumvention or violation of, any
  1289  // terms of an Apple operating system software license agreement.
  1290  //
  1291  // Please obtain a copy of the License at
  1292  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1293  //
  1294  // The Original Code and all software distributed under the License are
  1295  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1296  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1297  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1298  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1299  // Please see the License for the specific language governing rights and
  1300  // limitations under the License.
  1301  //
  1302  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1303  
  1304  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1305  //
  1306  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1307  //
  1308  // This file contains Original Code and/or Modifications of Original Code
  1309  // as defined in and that are subject to the Apple Public Source License
  1310  // Version 2.0 (the 'License'). You may not use this file except in
  1311  // compliance with the License. The rights granted to you under the License
  1312  // may not be used to create, or enable the creation or redistribution of,
  1313  // unlawful or unlicensed copies of an Apple operating system, or to
  1314  // circumvent, violate, or enable the circumvention or violation of, any
  1315  // terms of an Apple operating system software license agreement.
  1316  //
  1317  // Please obtain a copy of the License at
  1318  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1319  //
  1320  // The Original Code and all software distributed under the License are
  1321  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1322  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1323  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1324  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1325  // Please see the License for the specific language governing rights and
  1326  // limitations under the License.
  1327  //
  1328  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1329  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1330  // Copyright (c) 1991, 1993
  1331  //	The Regents of the University of California.  All rights reserved.
  1332  //
  1333  // This code is derived from software contributed to Berkeley by
  1334  // Berkeley Software Design, Inc.
  1335  //
  1336  // Redistribution and use in source and binary forms, with or without
  1337  // modification, are permitted provided that the following conditions
  1338  // are met:
  1339  // 1. Redistributions of source code must retain the above copyright
  1340  //    notice, this list of conditions and the following disclaimer.
  1341  // 2. Redistributions in binary form must reproduce the above copyright
  1342  //    notice, this list of conditions and the following disclaimer in the
  1343  //    documentation and/or other materials provided with the distribution.
  1344  // 3. All advertising materials mentioning features or use of this software
  1345  //    must display the following acknowledgement:
  1346  //	This product includes software developed by the University of
  1347  //	California, Berkeley and its contributors.
  1348  // 4. Neither the name of the University nor the names of its contributors
  1349  //    may be used to endorse or promote products derived from this software
  1350  //    without specific prior written permission.
  1351  //
  1352  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1353  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1354  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1355  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1356  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1357  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1358  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1359  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1360  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1361  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1362  // SUCH DAMAGE.
  1363  //
  1364  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1365  
  1366  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1367  //
  1368  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1369  //
  1370  // This file contains Original Code and/or Modifications of Original Code
  1371  // as defined in and that are subject to the Apple Public Source License
  1372  // Version 2.0 (the 'License'). You may not use this file except in
  1373  // compliance with the License. The rights granted to you under the License
  1374  // may not be used to create, or enable the creation or redistribution of,
  1375  // unlawful or unlicensed copies of an Apple operating system, or to
  1376  // circumvent, violate, or enable the circumvention or violation of, any
  1377  // terms of an Apple operating system software license agreement.
  1378  //
  1379  // Please obtain a copy of the License at
  1380  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1381  //
  1382  // The Original Code and all software distributed under the License are
  1383  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1384  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1385  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1386  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1387  // Please see the License for the specific language governing rights and
  1388  // limitations under the License.
  1389  //
  1390  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1391  
  1392  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1393  
  1394  // Type definitions; takes common type definitions that must be used
  1395  // in multiple header files due to [XSI], removes them from the system
  1396  // space, and puts them in the implementation space.
  1397  
  1398  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
  1399  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
  1400  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
  1401  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  1402  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  1403  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
  1404  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  1405  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  1406  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
  1407  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
  1408  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1409  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
  1410  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
  1411  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
  1412  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
  1413  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
  1414  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
  1415  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
  1416  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
  1417  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
  1418  
  1419  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1420  //
  1421  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1422  //
  1423  // This file contains Original Code and/or Modifications of Original Code
  1424  // as defined in and that are subject to the Apple Public Source License
  1425  // Version 2.0 (the 'License'). You may not use this file except in
  1426  // compliance with the License. The rights granted to you under the License
  1427  // may not be used to create, or enable the creation or redistribution of,
  1428  // unlawful or unlicensed copies of an Apple operating system, or to
  1429  // circumvent, violate, or enable the circumvention or violation of, any
  1430  // terms of an Apple operating system software license agreement.
  1431  //
  1432  // Please obtain a copy of the License at
  1433  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1434  //
  1435  // The Original Code and all software distributed under the License are
  1436  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1437  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1438  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1439  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1440  // Please see the License for the specific language governing rights and
  1441  // limitations under the License.
  1442  //
  1443  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1444  
  1445  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1446  //
  1447  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1448  //
  1449  // This file contains Original Code and/or Modifications of Original Code
  1450  // as defined in and that are subject to the Apple Public Source License
  1451  // Version 2.0 (the 'License'). You may not use this file except in
  1452  // compliance with the License. The rights granted to you under the License
  1453  // may not be used to create, or enable the creation or redistribution of,
  1454  // unlawful or unlicensed copies of an Apple operating system, or to
  1455  // circumvent, violate, or enable the circumvention or violation of, any
  1456  // terms of an Apple operating system software license agreement.
  1457  //
  1458  // Please obtain a copy of the License at
  1459  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1460  //
  1461  // The Original Code and all software distributed under the License are
  1462  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1463  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1464  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1465  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1466  // Please see the License for the specific language governing rights and
  1467  // limitations under the License.
  1468  //
  1469  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1470  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1471  // Copyright (c) 1991, 1993
  1472  //	The Regents of the University of California.  All rights reserved.
  1473  //
  1474  // This code is derived from software contributed to Berkeley by
  1475  // Berkeley Software Design, Inc.
  1476  //
  1477  // Redistribution and use in source and binary forms, with or without
  1478  // modification, are permitted provided that the following conditions
  1479  // are met:
  1480  // 1. Redistributions of source code must retain the above copyright
  1481  //    notice, this list of conditions and the following disclaimer.
  1482  // 2. Redistributions in binary form must reproduce the above copyright
  1483  //    notice, this list of conditions and the following disclaimer in the
  1484  //    documentation and/or other materials provided with the distribution.
  1485  // 3. All advertising materials mentioning features or use of this software
  1486  //    must display the following acknowledgement:
  1487  //	This product includes software developed by the University of
  1488  //	California, Berkeley and its contributors.
  1489  // 4. Neither the name of the University nor the names of its contributors
  1490  //    may be used to endorse or promote products derived from this software
  1491  //    without specific prior written permission.
  1492  //
  1493  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1494  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1495  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1496  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1497  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1498  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1499  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1500  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1501  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1502  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1503  // SUCH DAMAGE.
  1504  //
  1505  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1506  
  1507  // pthread opaque structures
  1508  
  1509  type X__darwin_pthread_handler_rec = struct {
  1510  	F__routine uintptr
  1511  	F__arg     uintptr
  1512  	F__next    uintptr
  1513  } /* _pthread_types.h:57:1 */
  1514  
  1515  type X_opaque_pthread_attr_t = struct {
  1516  	F__sig    int64
  1517  	F__opaque [56]int8
  1518  } /* _pthread_types.h:63:1 */
  1519  
  1520  type X_opaque_pthread_cond_t = struct {
  1521  	F__sig    int64
  1522  	F__opaque [40]int8
  1523  } /* _pthread_types.h:68:1 */
  1524  
  1525  type X_opaque_pthread_condattr_t = struct {
  1526  	F__sig    int64
  1527  	F__opaque [8]int8
  1528  } /* _pthread_types.h:73:1 */
  1529  
  1530  type X_opaque_pthread_mutex_t = struct {
  1531  	F__sig    int64
  1532  	F__opaque [56]int8
  1533  } /* _pthread_types.h:78:1 */
  1534  
  1535  type X_opaque_pthread_mutexattr_t = struct {
  1536  	F__sig    int64
  1537  	F__opaque [8]int8
  1538  } /* _pthread_types.h:83:1 */
  1539  
  1540  type X_opaque_pthread_once_t = struct {
  1541  	F__sig    int64
  1542  	F__opaque [8]int8
  1543  } /* _pthread_types.h:88:1 */
  1544  
  1545  type X_opaque_pthread_rwlock_t = struct {
  1546  	F__sig    int64
  1547  	F__opaque [192]int8
  1548  } /* _pthread_types.h:93:1 */
  1549  
  1550  type X_opaque_pthread_rwlockattr_t = struct {
  1551  	F__sig    int64
  1552  	F__opaque [16]int8
  1553  } /* _pthread_types.h:98:1 */
  1554  
  1555  type X_opaque_pthread_t = struct {
  1556  	F__sig           int64
  1557  	F__cleanup_stack uintptr
  1558  	F__opaque        [8176]int8
  1559  } /* _pthread_types.h:103:1 */
  1560  
  1561  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
  1562  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
  1563  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
  1564  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
  1565  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
  1566  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
  1567  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
  1568  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
  1569  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1570  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
  1571  type Uint64_t = uint64                                              /* stdint.h:98:25 */
  1572  
  1573  type Int_least64_t = Int64_t   /* stdint.h:110:25 */
  1574  type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
  1575  type Int_fast64_t = Int64_t    /* stdint.h:112:25 */
  1576  type Uint_fast64_t = Uint64_t  /* stdint.h:113:26 */
  1577  
  1578  type Uint32_t = uint32 /* stdint.h:172:25 */
  1579  
  1580  type Int_least32_t = Int32_t   /* stdint.h:184:25 */
  1581  type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
  1582  type Int_fast32_t = Int32_t    /* stdint.h:186:25 */
  1583  type Uint_fast32_t = Uint32_t  /* stdint.h:187:26 */
  1584  type Uint16_t = uint16         /* stdint.h:207:25 */
  1585  
  1586  type Int_least16_t = Int16_t   /* stdint.h:215:25 */
  1587  type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
  1588  type Int_fast16_t = Int16_t    /* stdint.h:217:25 */
  1589  type Uint_fast16_t = Uint16_t  /* stdint.h:218:26 */
  1590  type Uint8_t = uint8           /* stdint.h:226:24 */
  1591  
  1592  type Int_least8_t = Int8_t   /* stdint.h:232:24 */
  1593  type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
  1594  type Int_fast8_t = Int8_t    /* stdint.h:234:24 */
  1595  type Uint_fast8_t = Uint8_t  /* stdint.h:235:25 */
  1596  
  1597  // prevent glibc sys/types.h from defining conflicting types
  1598  
  1599  // C99 7.18.1.4 Integer types capable of holding object pointers.
  1600  
  1601  // C99 7.18.1.5 Greatest-width integer types.
  1602  type Intmax_t = int64   /* stdint.h:262:26 */
  1603  type Uintmax_t = uint64 /* stdint.h:263:26 */
  1604  
  1605  // Functions for byte reversed loads.
  1606  
  1607  type X_OSUnalignedU16 = struct{ F__val Uint16_t } /* OSByteOrder.h:64:1 */
  1608  
  1609  type X_OSUnalignedU32 = struct{ F__val Uint32_t } /* OSByteOrder.h:68:1 */
  1610  
  1611  type X_OSUnalignedU64 = struct{ F__val Uint64_t } /* OSByteOrder.h:72:1 */
  1612  
  1613  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1614  //
  1615  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1616  //
  1617  // This file contains Original Code and/or Modifications of Original Code
  1618  // as defined in and that are subject to the Apple Public Source License
  1619  // Version 2.0 (the 'License'). You may not use this file except in
  1620  // compliance with the License. The rights granted to you under the License
  1621  // may not be used to create, or enable the creation or redistribution of,
  1622  // unlawful or unlicensed copies of an Apple operating system, or to
  1623  // circumvent, violate, or enable the circumvention or violation of, any
  1624  // terms of an Apple operating system software license agreement.
  1625  //
  1626  // Please obtain a copy of the License at
  1627  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1628  //
  1629  // The Original Code and all software distributed under the License are
  1630  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1631  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1632  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1633  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1634  // Please see the License for the specific language governing rights and
  1635  // limitations under the License.
  1636  //
  1637  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1638  type U_char = uint8 /* _u_char.h:30:25 */
  1639  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1640  //
  1641  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1642  //
  1643  // This file contains Original Code and/or Modifications of Original Code
  1644  // as defined in and that are subject to the Apple Public Source License
  1645  // Version 2.0 (the 'License'). You may not use this file except in
  1646  // compliance with the License. The rights granted to you under the License
  1647  // may not be used to create, or enable the creation or redistribution of,
  1648  // unlawful or unlicensed copies of an Apple operating system, or to
  1649  // circumvent, violate, or enable the circumvention or violation of, any
  1650  // terms of an Apple operating system software license agreement.
  1651  //
  1652  // Please obtain a copy of the License at
  1653  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1654  //
  1655  // The Original Code and all software distributed under the License are
  1656  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1657  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1658  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1659  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1660  // Please see the License for the specific language governing rights and
  1661  // limitations under the License.
  1662  //
  1663  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1664  type U_short = uint16 /* _u_short.h:30:25 */
  1665  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1666  //
  1667  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1668  //
  1669  // This file contains Original Code and/or Modifications of Original Code
  1670  // as defined in and that are subject to the Apple Public Source License
  1671  // Version 2.0 (the 'License'). You may not use this file except in
  1672  // compliance with the License. The rights granted to you under the License
  1673  // may not be used to create, or enable the creation or redistribution of,
  1674  // unlawful or unlicensed copies of an Apple operating system, or to
  1675  // circumvent, violate, or enable the circumvention or violation of, any
  1676  // terms of an Apple operating system software license agreement.
  1677  //
  1678  // Please obtain a copy of the License at
  1679  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1680  //
  1681  // The Original Code and all software distributed under the License are
  1682  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1683  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1684  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1685  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1686  // Please see the License for the specific language governing rights and
  1687  // limitations under the License.
  1688  //
  1689  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1690  type U_int = uint32  /* _u_int.h:30:25 */
  1691  type U_long = uint64 /* types.h:88:33 */
  1692  type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  1693  type Uint = uint32   /* types.h:92:33 */ // Sys V compatibility
  1694  
  1695  type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
  1696  type Quad_t = Int64_t     /* types.h:96:33 */
  1697  type Qaddr_t = uintptr    /* types.h:97:16 */
  1698  
  1699  // Copyright (c) 2017 Apple Inc. All rights reserved.
  1700  //
  1701  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1702  //
  1703  // This file contains Original Code and/or Modifications of Original Code
  1704  // as defined in and that are subject to the Apple Public Source License
  1705  // Version 2.0 (the 'License'). You may not use this file except in
  1706  // compliance with the License. The rights granted to you under the License
  1707  // may not be used to create, or enable the creation or redistribution of,
  1708  // unlawful or unlicensed copies of an Apple operating system, or to
  1709  // circumvent, violate, or enable the circumvention or violation of, any
  1710  // terms of an Apple operating system software license agreement.
  1711  //
  1712  // Please obtain a copy of the License at
  1713  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1714  //
  1715  // The Original Code and all software distributed under the License are
  1716  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1717  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1718  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1719  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1720  // Please see the License for the specific language governing rights and
  1721  // limitations under the License.
  1722  //
  1723  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1724  type Caddr_t = uintptr /* _caddr_t.h:30:14 */
  1725  
  1726  type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
  1727  
  1728  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1729  //
  1730  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1731  //
  1732  // This file contains Original Code and/or Modifications of Original Code
  1733  // as defined in and that are subject to the Apple Public Source License
  1734  // Version 2.0 (the 'License'). You may not use this file except in
  1735  // compliance with the License. The rights granted to you under the License
  1736  // may not be used to create, or enable the creation or redistribution of,
  1737  // unlawful or unlicensed copies of an Apple operating system, or to
  1738  // circumvent, violate, or enable the circumvention or violation of, any
  1739  // terms of an Apple operating system software license agreement.
  1740  //
  1741  // Please obtain a copy of the License at
  1742  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1743  //
  1744  // The Original Code and all software distributed under the License are
  1745  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1746  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1747  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1748  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1749  // Please see the License for the specific language governing rights and
  1750  // limitations under the License.
  1751  //
  1752  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1753  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1754  //
  1755  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1756  //
  1757  // This file contains Original Code and/or Modifications of Original Code
  1758  // as defined in and that are subject to the Apple Public Source License
  1759  // Version 2.0 (the 'License'). You may not use this file except in
  1760  // compliance with the License. The rights granted to you under the License
  1761  // may not be used to create, or enable the creation or redistribution of,
  1762  // unlawful or unlicensed copies of an Apple operating system, or to
  1763  // circumvent, violate, or enable the circumvention or violation of, any
  1764  // terms of an Apple operating system software license agreement.
  1765  //
  1766  // Please obtain a copy of the License at
  1767  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1768  //
  1769  // The Original Code and all software distributed under the License are
  1770  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1771  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1772  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1773  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1774  // Please see the License for the specific language governing rights and
  1775  // limitations under the License.
  1776  //
  1777  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1778  
  1779  type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  1780  
  1781  type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
  1782  
  1783  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1784  //
  1785  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1786  //
  1787  // This file contains Original Code and/or Modifications of Original Code
  1788  // as defined in and that are subject to the Apple Public Source License
  1789  // Version 2.0 (the 'License'). You may not use this file except in
  1790  // compliance with the License. The rights granted to you under the License
  1791  // may not be used to create, or enable the creation or redistribution of,
  1792  // unlawful or unlicensed copies of an Apple operating system, or to
  1793  // circumvent, violate, or enable the circumvention or violation of, any
  1794  // terms of an Apple operating system software license agreement.
  1795  //
  1796  // Please obtain a copy of the License at
  1797  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1798  //
  1799  // The Original Code and all software distributed under the License are
  1800  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1801  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1802  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1803  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1804  // Please see the License for the specific language governing rights and
  1805  // limitations under the License.
  1806  //
  1807  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1808  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1809  //
  1810  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1811  //
  1812  // This file contains Original Code and/or Modifications of Original Code
  1813  // as defined in and that are subject to the Apple Public Source License
  1814  // Version 2.0 (the 'License'). You may not use this file except in
  1815  // compliance with the License. The rights granted to you under the License
  1816  // may not be used to create, or enable the creation or redistribution of,
  1817  // unlawful or unlicensed copies of an Apple operating system, or to
  1818  // circumvent, violate, or enable the circumvention or violation of, any
  1819  // terms of an Apple operating system software license agreement.
  1820  //
  1821  // Please obtain a copy of the License at
  1822  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1823  //
  1824  // The Original Code and all software distributed under the License are
  1825  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1826  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1827  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1828  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1829  // Please see the License for the specific language governing rights and
  1830  // limitations under the License.
  1831  //
  1832  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1833  
  1834  type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
  1835  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1836  //
  1837  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1838  //
  1839  // This file contains Original Code and/or Modifications of Original Code
  1840  // as defined in and that are subject to the Apple Public Source License
  1841  // Version 2.0 (the 'License'). You may not use this file except in
  1842  // compliance with the License. The rights granted to you under the License
  1843  // may not be used to create, or enable the creation or redistribution of,
  1844  // unlawful or unlicensed copies of an Apple operating system, or to
  1845  // circumvent, violate, or enable the circumvention or violation of, any
  1846  // terms of an Apple operating system software license agreement.
  1847  //
  1848  // Please obtain a copy of the License at
  1849  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1850  //
  1851  // The Original Code and all software distributed under the License are
  1852  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1853  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1854  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1855  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1856  // Please see the License for the specific language governing rights and
  1857  // limitations under the License.
  1858  //
  1859  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1860  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1861  //
  1862  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1863  //
  1864  // This file contains Original Code and/or Modifications of Original Code
  1865  // as defined in and that are subject to the Apple Public Source License
  1866  // Version 2.0 (the 'License'). You may not use this file except in
  1867  // compliance with the License. The rights granted to you under the License
  1868  // may not be used to create, or enable the creation or redistribution of,
  1869  // unlawful or unlicensed copies of an Apple operating system, or to
  1870  // circumvent, violate, or enable the circumvention or violation of, any
  1871  // terms of an Apple operating system software license agreement.
  1872  //
  1873  // Please obtain a copy of the License at
  1874  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1875  //
  1876  // The Original Code and all software distributed under the License are
  1877  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1878  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1879  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1880  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1881  // Please see the License for the specific language governing rights and
  1882  // limitations under the License.
  1883  //
  1884  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1885  
  1886  type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
  1887  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1888  //
  1889  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1890  //
  1891  // This file contains Original Code and/or Modifications of Original Code
  1892  // as defined in and that are subject to the Apple Public Source License
  1893  // Version 2.0 (the 'License'). You may not use this file except in
  1894  // compliance with the License. The rights granted to you under the License
  1895  // may not be used to create, or enable the creation or redistribution of,
  1896  // unlawful or unlicensed copies of an Apple operating system, or to
  1897  // circumvent, violate, or enable the circumvention or violation of, any
  1898  // terms of an Apple operating system software license agreement.
  1899  //
  1900  // Please obtain a copy of the License at
  1901  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1902  //
  1903  // The Original Code and all software distributed under the License are
  1904  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1905  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1906  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1907  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1908  // Please see the License for the specific language governing rights and
  1909  // limitations under the License.
  1910  //
  1911  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1912  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1913  //
  1914  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1915  //
  1916  // This file contains Original Code and/or Modifications of Original Code
  1917  // as defined in and that are subject to the Apple Public Source License
  1918  // Version 2.0 (the 'License'). You may not use this file except in
  1919  // compliance with the License. The rights granted to you under the License
  1920  // may not be used to create, or enable the creation or redistribution of,
  1921  // unlawful or unlicensed copies of an Apple operating system, or to
  1922  // circumvent, violate, or enable the circumvention or violation of, any
  1923  // terms of an Apple operating system software license agreement.
  1924  //
  1925  // Please obtain a copy of the License at
  1926  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1927  //
  1928  // The Original Code and all software distributed under the License are
  1929  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1930  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1931  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1932  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1933  // Please see the License for the specific language governing rights and
  1934  // limitations under the License.
  1935  //
  1936  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1937  
  1938  type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  1939  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1940  //
  1941  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1942  //
  1943  // This file contains Original Code and/or Modifications of Original Code
  1944  // as defined in and that are subject to the Apple Public Source License
  1945  // Version 2.0 (the 'License'). You may not use this file except in
  1946  // compliance with the License. The rights granted to you under the License
  1947  // may not be used to create, or enable the creation or redistribution of,
  1948  // unlawful or unlicensed copies of an Apple operating system, or to
  1949  // circumvent, violate, or enable the circumvention or violation of, any
  1950  // terms of an Apple operating system software license agreement.
  1951  //
  1952  // Please obtain a copy of the License at
  1953  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1954  //
  1955  // The Original Code and all software distributed under the License are
  1956  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1957  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1958  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1959  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1960  // Please see the License for the specific language governing rights and
  1961  // limitations under the License.
  1962  //
  1963  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1964  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1965  //
  1966  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1967  //
  1968  // This file contains Original Code and/or Modifications of Original Code
  1969  // as defined in and that are subject to the Apple Public Source License
  1970  // Version 2.0 (the 'License'). You may not use this file except in
  1971  // compliance with the License. The rights granted to you under the License
  1972  // may not be used to create, or enable the creation or redistribution of,
  1973  // unlawful or unlicensed copies of an Apple operating system, or to
  1974  // circumvent, violate, or enable the circumvention or violation of, any
  1975  // terms of an Apple operating system software license agreement.
  1976  //
  1977  // Please obtain a copy of the License at
  1978  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1979  //
  1980  // The Original Code and all software distributed under the License are
  1981  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1982  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1983  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1984  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1985  // Please see the License for the specific language governing rights and
  1986  // limitations under the License.
  1987  //
  1988  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1989  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1990  type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
  1991  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1992  //
  1993  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1994  //
  1995  // This file contains Original Code and/or Modifications of Original Code
  1996  // as defined in and that are subject to the Apple Public Source License
  1997  // Version 2.0 (the 'License'). You may not use this file except in
  1998  // compliance with the License. The rights granted to you under the License
  1999  // may not be used to create, or enable the creation or redistribution of,
  2000  // unlawful or unlicensed copies of an Apple operating system, or to
  2001  // circumvent, violate, or enable the circumvention or violation of, any
  2002  // terms of an Apple operating system software license agreement.
  2003  //
  2004  // Please obtain a copy of the License at
  2005  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2006  //
  2007  // The Original Code and all software distributed under the License are
  2008  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2009  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2010  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2011  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2012  // Please see the License for the specific language governing rights and
  2013  // limitations under the License.
  2014  //
  2015  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2016  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2017  //
  2018  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2019  //
  2020  // This file contains Original Code and/or Modifications of Original Code
  2021  // as defined in and that are subject to the Apple Public Source License
  2022  // Version 2.0 (the 'License'). You may not use this file except in
  2023  // compliance with the License. The rights granted to you under the License
  2024  // may not be used to create, or enable the creation or redistribution of,
  2025  // unlawful or unlicensed copies of an Apple operating system, or to
  2026  // circumvent, violate, or enable the circumvention or violation of, any
  2027  // terms of an Apple operating system software license agreement.
  2028  //
  2029  // Please obtain a copy of the License at
  2030  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2031  //
  2032  // The Original Code and all software distributed under the License are
  2033  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2034  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2035  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2036  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2037  // Please see the License for the specific language governing rights and
  2038  // limitations under the License.
  2039  //
  2040  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2041  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2042  type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
  2043  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2044  //
  2045  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2046  //
  2047  // This file contains Original Code and/or Modifications of Original Code
  2048  // as defined in and that are subject to the Apple Public Source License
  2049  // Version 2.0 (the 'License'). You may not use this file except in
  2050  // compliance with the License. The rights granted to you under the License
  2051  // may not be used to create, or enable the creation or redistribution of,
  2052  // unlawful or unlicensed copies of an Apple operating system, or to
  2053  // circumvent, violate, or enable the circumvention or violation of, any
  2054  // terms of an Apple operating system software license agreement.
  2055  //
  2056  // Please obtain a copy of the License at
  2057  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2058  //
  2059  // The Original Code and all software distributed under the License are
  2060  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2061  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2062  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2063  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2064  // Please see the License for the specific language governing rights and
  2065  // limitations under the License.
  2066  //
  2067  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2068  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2069  //
  2070  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2071  //
  2072  // This file contains Original Code and/or Modifications of Original Code
  2073  // as defined in and that are subject to the Apple Public Source License
  2074  // Version 2.0 (the 'License'). You may not use this file except in
  2075  // compliance with the License. The rights granted to you under the License
  2076  // may not be used to create, or enable the creation or redistribution of,
  2077  // unlawful or unlicensed copies of an Apple operating system, or to
  2078  // circumvent, violate, or enable the circumvention or violation of, any
  2079  // terms of an Apple operating system software license agreement.
  2080  //
  2081  // Please obtain a copy of the License at
  2082  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2083  //
  2084  // The Original Code and all software distributed under the License are
  2085  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2086  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2087  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2088  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2089  // Please see the License for the specific language governing rights and
  2090  // limitations under the License.
  2091  //
  2092  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2093  
  2094  type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
  2095  
  2096  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2097  //
  2098  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2099  //
  2100  // This file contains Original Code and/or Modifications of Original Code
  2101  // as defined in and that are subject to the Apple Public Source License
  2102  // Version 2.0 (the 'License'). You may not use this file except in
  2103  // compliance with the License. The rights granted to you under the License
  2104  // may not be used to create, or enable the creation or redistribution of,
  2105  // unlawful or unlicensed copies of an Apple operating system, or to
  2106  // circumvent, violate, or enable the circumvention or violation of, any
  2107  // terms of an Apple operating system software license agreement.
  2108  //
  2109  // Please obtain a copy of the License at
  2110  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2111  //
  2112  // The Original Code and all software distributed under the License are
  2113  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2114  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2115  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2116  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2117  // Please see the License for the specific language governing rights and
  2118  // limitations under the License.
  2119  //
  2120  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2121  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2122  //
  2123  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2124  //
  2125  // This file contains Original Code and/or Modifications of Original Code
  2126  // as defined in and that are subject to the Apple Public Source License
  2127  // Version 2.0 (the 'License'). You may not use this file except in
  2128  // compliance with the License. The rights granted to you under the License
  2129  // may not be used to create, or enable the creation or redistribution of,
  2130  // unlawful or unlicensed copies of an Apple operating system, or to
  2131  // circumvent, violate, or enable the circumvention or violation of, any
  2132  // terms of an Apple operating system software license agreement.
  2133  //
  2134  // Please obtain a copy of the License at
  2135  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2136  //
  2137  // The Original Code and all software distributed under the License are
  2138  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2139  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2140  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2141  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2142  // Please see the License for the specific language governing rights and
  2143  // limitations under the License.
  2144  //
  2145  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2146  
  2147  type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
  2148  
  2149  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2150  //
  2151  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2152  //
  2153  // This file contains Original Code and/or Modifications of Original Code
  2154  // as defined in and that are subject to the Apple Public Source License
  2155  // Version 2.0 (the 'License'). You may not use this file except in
  2156  // compliance with the License. The rights granted to you under the License
  2157  // may not be used to create, or enable the creation or redistribution of,
  2158  // unlawful or unlicensed copies of an Apple operating system, or to
  2159  // circumvent, violate, or enable the circumvention or violation of, any
  2160  // terms of an Apple operating system software license agreement.
  2161  //
  2162  // Please obtain a copy of the License at
  2163  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2164  //
  2165  // The Original Code and all software distributed under the License are
  2166  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2167  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2168  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2169  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2170  // Please see the License for the specific language governing rights and
  2171  // limitations under the License.
  2172  //
  2173  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2174  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2175  //
  2176  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2177  //
  2178  // This file contains Original Code and/or Modifications of Original Code
  2179  // as defined in and that are subject to the Apple Public Source License
  2180  // Version 2.0 (the 'License'). You may not use this file except in
  2181  // compliance with the License. The rights granted to you under the License
  2182  // may not be used to create, or enable the creation or redistribution of,
  2183  // unlawful or unlicensed copies of an Apple operating system, or to
  2184  // circumvent, violate, or enable the circumvention or violation of, any
  2185  // terms of an Apple operating system software license agreement.
  2186  //
  2187  // Please obtain a copy of the License at
  2188  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2189  //
  2190  // The Original Code and all software distributed under the License are
  2191  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2192  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2193  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2194  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2195  // Please see the License for the specific language governing rights and
  2196  // limitations under the License.
  2197  //
  2198  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2199  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2200  type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  2201  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2202  //
  2203  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2204  //
  2205  // This file contains Original Code and/or Modifications of Original Code
  2206  // as defined in and that are subject to the Apple Public Source License
  2207  // Version 2.0 (the 'License'). You may not use this file except in
  2208  // compliance with the License. The rights granted to you under the License
  2209  // may not be used to create, or enable the creation or redistribution of,
  2210  // unlawful or unlicensed copies of an Apple operating system, or to
  2211  // circumvent, violate, or enable the circumvention or violation of, any
  2212  // terms of an Apple operating system software license agreement.
  2213  //
  2214  // Please obtain a copy of the License at
  2215  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2216  //
  2217  // The Original Code and all software distributed under the License are
  2218  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2219  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2220  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2221  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2222  // Please see the License for the specific language governing rights and
  2223  // limitations under the License.
  2224  //
  2225  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2226  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2227  //
  2228  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2229  //
  2230  // This file contains Original Code and/or Modifications of Original Code
  2231  // as defined in and that are subject to the Apple Public Source License
  2232  // Version 2.0 (the 'License'). You may not use this file except in
  2233  // compliance with the License. The rights granted to you under the License
  2234  // may not be used to create, or enable the creation or redistribution of,
  2235  // unlawful or unlicensed copies of an Apple operating system, or to
  2236  // circumvent, violate, or enable the circumvention or violation of, any
  2237  // terms of an Apple operating system software license agreement.
  2238  //
  2239  // Please obtain a copy of the License at
  2240  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2241  //
  2242  // The Original Code and all software distributed under the License are
  2243  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2244  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2245  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2246  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2247  // Please see the License for the specific language governing rights and
  2248  // limitations under the License.
  2249  //
  2250  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2251  
  2252  type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  2253  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2254  //
  2255  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2256  //
  2257  // This file contains Original Code and/or Modifications of Original Code
  2258  // as defined in and that are subject to the Apple Public Source License
  2259  // Version 2.0 (the 'License'). You may not use this file except in
  2260  // compliance with the License. The rights granted to you under the License
  2261  // may not be used to create, or enable the creation or redistribution of,
  2262  // unlawful or unlicensed copies of an Apple operating system, or to
  2263  // circumvent, violate, or enable the circumvention or violation of, any
  2264  // terms of an Apple operating system software license agreement.
  2265  //
  2266  // Please obtain a copy of the License at
  2267  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2268  //
  2269  // The Original Code and all software distributed under the License are
  2270  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2271  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2272  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2273  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2274  // Please see the License for the specific language governing rights and
  2275  // limitations under the License.
  2276  //
  2277  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2278  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2279  //
  2280  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2281  //
  2282  // This file contains Original Code and/or Modifications of Original Code
  2283  // as defined in and that are subject to the Apple Public Source License
  2284  // Version 2.0 (the 'License'). You may not use this file except in
  2285  // compliance with the License. The rights granted to you under the License
  2286  // may not be used to create, or enable the creation or redistribution of,
  2287  // unlawful or unlicensed copies of an Apple operating system, or to
  2288  // circumvent, violate, or enable the circumvention or violation of, any
  2289  // terms of an Apple operating system software license agreement.
  2290  //
  2291  // Please obtain a copy of the License at
  2292  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2293  //
  2294  // The Original Code and all software distributed under the License are
  2295  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2296  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2297  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2298  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2299  // Please see the License for the specific language governing rights and
  2300  // limitations under the License.
  2301  //
  2302  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2303  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2304  type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
  2305  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2306  //
  2307  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2308  //
  2309  // This file contains Original Code and/or Modifications of Original Code
  2310  // as defined in and that are subject to the Apple Public Source License
  2311  // Version 2.0 (the 'License'). You may not use this file except in
  2312  // compliance with the License. The rights granted to you under the License
  2313  // may not be used to create, or enable the creation or redistribution of,
  2314  // unlawful or unlicensed copies of an Apple operating system, or to
  2315  // circumvent, violate, or enable the circumvention or violation of, any
  2316  // terms of an Apple operating system software license agreement.
  2317  //
  2318  // Please obtain a copy of the License at
  2319  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2320  //
  2321  // The Original Code and all software distributed under the License are
  2322  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2323  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2324  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2325  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2326  // Please see the License for the specific language governing rights and
  2327  // limitations under the License.
  2328  //
  2329  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2330  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2331  //
  2332  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2333  //
  2334  // This file contains Original Code and/or Modifications of Original Code
  2335  // as defined in and that are subject to the Apple Public Source License
  2336  // Version 2.0 (the 'License'). You may not use this file except in
  2337  // compliance with the License. The rights granted to you under the License
  2338  // may not be used to create, or enable the creation or redistribution of,
  2339  // unlawful or unlicensed copies of an Apple operating system, or to
  2340  // circumvent, violate, or enable the circumvention or violation of, any
  2341  // terms of an Apple operating system software license agreement.
  2342  //
  2343  // Please obtain a copy of the License at
  2344  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2345  //
  2346  // The Original Code and all software distributed under the License are
  2347  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2348  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2349  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2350  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2351  // Please see the License for the specific language governing rights and
  2352  // limitations under the License.
  2353  //
  2354  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2355  
  2356  type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  2357  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2358  //
  2359  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2360  //
  2361  // This file contains Original Code and/or Modifications of Original Code
  2362  // as defined in and that are subject to the Apple Public Source License
  2363  // Version 2.0 (the 'License'). You may not use this file except in
  2364  // compliance with the License. The rights granted to you under the License
  2365  // may not be used to create, or enable the creation or redistribution of,
  2366  // unlawful or unlicensed copies of an Apple operating system, or to
  2367  // circumvent, violate, or enable the circumvention or violation of, any
  2368  // terms of an Apple operating system software license agreement.
  2369  //
  2370  // Please obtain a copy of the License at
  2371  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2372  //
  2373  // The Original Code and all software distributed under the License are
  2374  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2375  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2376  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2377  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2378  // Please see the License for the specific language governing rights and
  2379  // limitations under the License.
  2380  //
  2381  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2382  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2383  //
  2384  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2385  //
  2386  // This file contains Original Code and/or Modifications of Original Code
  2387  // as defined in and that are subject to the Apple Public Source License
  2388  // Version 2.0 (the 'License'). You may not use this file except in
  2389  // compliance with the License. The rights granted to you under the License
  2390  // may not be used to create, or enable the creation or redistribution of,
  2391  // unlawful or unlicensed copies of an Apple operating system, or to
  2392  // circumvent, violate, or enable the circumvention or violation of, any
  2393  // terms of an Apple operating system software license agreement.
  2394  //
  2395  // Please obtain a copy of the License at
  2396  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2397  //
  2398  // The Original Code and all software distributed under the License are
  2399  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2400  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2401  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2402  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2403  // Please see the License for the specific language governing rights and
  2404  // limitations under the License.
  2405  //
  2406  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2407  
  2408  type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  2409  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2410  //
  2411  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2412  //
  2413  // This file contains Original Code and/or Modifications of Original Code
  2414  // as defined in and that are subject to the Apple Public Source License
  2415  // Version 2.0 (the 'License'). You may not use this file except in
  2416  // compliance with the License. The rights granted to you under the License
  2417  // may not be used to create, or enable the creation or redistribution of,
  2418  // unlawful or unlicensed copies of an Apple operating system, or to
  2419  // circumvent, violate, or enable the circumvention or violation of, any
  2420  // terms of an Apple operating system software license agreement.
  2421  //
  2422  // Please obtain a copy of the License at
  2423  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2424  //
  2425  // The Original Code and all software distributed under the License are
  2426  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2427  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2428  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2429  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2430  // Please see the License for the specific language governing rights and
  2431  // limitations under the License.
  2432  //
  2433  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2434  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2435  //
  2436  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2437  //
  2438  // This file contains Original Code and/or Modifications of Original Code
  2439  // as defined in and that are subject to the Apple Public Source License
  2440  // Version 2.0 (the 'License'). You may not use this file except in
  2441  // compliance with the License. The rights granted to you under the License
  2442  // may not be used to create, or enable the creation or redistribution of,
  2443  // unlawful or unlicensed copies of an Apple operating system, or to
  2444  // circumvent, violate, or enable the circumvention or violation of, any
  2445  // terms of an Apple operating system software license agreement.
  2446  //
  2447  // Please obtain a copy of the License at
  2448  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2449  //
  2450  // The Original Code and all software distributed under the License are
  2451  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2452  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2453  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2454  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2455  // Please see the License for the specific language governing rights and
  2456  // limitations under the License.
  2457  //
  2458  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2459  
  2460  type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  2461  
  2462  type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
  2463  type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
  2464  
  2465  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2466  //
  2467  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2468  //
  2469  // This file contains Original Code and/or Modifications of Original Code
  2470  // as defined in and that are subject to the Apple Public Source License
  2471  // Version 2.0 (the 'License'). You may not use this file except in
  2472  // compliance with the License. The rights granted to you under the License
  2473  // may not be used to create, or enable the creation or redistribution of,
  2474  // unlawful or unlicensed copies of an Apple operating system, or to
  2475  // circumvent, violate, or enable the circumvention or violation of, any
  2476  // terms of an Apple operating system software license agreement.
  2477  //
  2478  // Please obtain a copy of the License at
  2479  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2480  //
  2481  // The Original Code and all software distributed under the License are
  2482  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2483  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2484  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2485  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2486  // Please see the License for the specific language governing rights and
  2487  // limitations under the License.
  2488  //
  2489  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2490  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2491  //
  2492  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2493  //
  2494  // This file contains Original Code and/or Modifications of Original Code
  2495  // as defined in and that are subject to the Apple Public Source License
  2496  // Version 2.0 (the 'License'). You may not use this file except in
  2497  // compliance with the License. The rights granted to you under the License
  2498  // may not be used to create, or enable the creation or redistribution of,
  2499  // unlawful or unlicensed copies of an Apple operating system, or to
  2500  // circumvent, violate, or enable the circumvention or violation of, any
  2501  // terms of an Apple operating system software license agreement.
  2502  //
  2503  // Please obtain a copy of the License at
  2504  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2505  //
  2506  // The Original Code and all software distributed under the License are
  2507  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2508  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2509  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2510  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2511  // Please see the License for the specific language governing rights and
  2512  // limitations under the License.
  2513  //
  2514  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2515  
  2516  type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  2517  
  2518  // Major, minor numbers, dev_t's.
  2519  
  2520  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2521  //
  2522  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2523  //
  2524  // This file contains Original Code and/or Modifications of Original Code
  2525  // as defined in and that are subject to the Apple Public Source License
  2526  // Version 2.0 (the 'License'). You may not use this file except in
  2527  // compliance with the License. The rights granted to you under the License
  2528  // may not be used to create, or enable the creation or redistribution of,
  2529  // unlawful or unlicensed copies of an Apple operating system, or to
  2530  // circumvent, violate, or enable the circumvention or violation of, any
  2531  // terms of an Apple operating system software license agreement.
  2532  //
  2533  // Please obtain a copy of the License at
  2534  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2535  //
  2536  // The Original Code and all software distributed under the License are
  2537  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2538  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2539  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2540  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2541  // Please see the License for the specific language governing rights and
  2542  // limitations under the License.
  2543  //
  2544  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2545  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2546  //
  2547  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2548  //
  2549  // This file contains Original Code and/or Modifications of Original Code
  2550  // as defined in and that are subject to the Apple Public Source License
  2551  // Version 2.0 (the 'License'). You may not use this file except in
  2552  // compliance with the License. The rights granted to you under the License
  2553  // may not be used to create, or enable the creation or redistribution of,
  2554  // unlawful or unlicensed copies of an Apple operating system, or to
  2555  // circumvent, violate, or enable the circumvention or violation of, any
  2556  // terms of an Apple operating system software license agreement.
  2557  //
  2558  // Please obtain a copy of the License at
  2559  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2560  //
  2561  // The Original Code and all software distributed under the License are
  2562  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2563  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2564  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2565  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2566  // Please see the License for the specific language governing rights and
  2567  // limitations under the License.
  2568  //
  2569  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2570  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2571  type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
  2572  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2573  //
  2574  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2575  //
  2576  // This file contains Original Code and/or Modifications of Original Code
  2577  // as defined in and that are subject to the Apple Public Source License
  2578  // Version 2.0 (the 'License'). You may not use this file except in
  2579  // compliance with the License. The rights granted to you under the License
  2580  // may not be used to create, or enable the creation or redistribution of,
  2581  // unlawful or unlicensed copies of an Apple operating system, or to
  2582  // circumvent, violate, or enable the circumvention or violation of, any
  2583  // terms of an Apple operating system software license agreement.
  2584  //
  2585  // Please obtain a copy of the License at
  2586  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2587  //
  2588  // The Original Code and all software distributed under the License are
  2589  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2590  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2591  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2592  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2593  // Please see the License for the specific language governing rights and
  2594  // limitations under the License.
  2595  //
  2596  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2597  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2598  //
  2599  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2600  //
  2601  // This file contains Original Code and/or Modifications of Original Code
  2602  // as defined in and that are subject to the Apple Public Source License
  2603  // Version 2.0 (the 'License'). You may not use this file except in
  2604  // compliance with the License. The rights granted to you under the License
  2605  // may not be used to create, or enable the creation or redistribution of,
  2606  // unlawful or unlicensed copies of an Apple operating system, or to
  2607  // circumvent, violate, or enable the circumvention or violation of, any
  2608  // terms of an Apple operating system software license agreement.
  2609  //
  2610  // Please obtain a copy of the License at
  2611  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2612  //
  2613  // The Original Code and all software distributed under the License are
  2614  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2615  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2616  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2617  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2618  // Please see the License for the specific language governing rights and
  2619  // limitations under the License.
  2620  //
  2621  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2622  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2623  type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  2624  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2625  //
  2626  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2627  //
  2628  // This file contains Original Code and/or Modifications of Original Code
  2629  // as defined in and that are subject to the Apple Public Source License
  2630  // Version 2.0 (the 'License'). You may not use this file except in
  2631  // compliance with the License. The rights granted to you under the License
  2632  // may not be used to create, or enable the creation or redistribution of,
  2633  // unlawful or unlicensed copies of an Apple operating system, or to
  2634  // circumvent, violate, or enable the circumvention or violation of, any
  2635  // terms of an Apple operating system software license agreement.
  2636  //
  2637  // Please obtain a copy of the License at
  2638  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2639  //
  2640  // The Original Code and all software distributed under the License are
  2641  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2642  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2643  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2644  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2645  // Please see the License for the specific language governing rights and
  2646  // limitations under the License.
  2647  //
  2648  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2649  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2650  //
  2651  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2652  //
  2653  // This file contains Original Code and/or Modifications of Original Code
  2654  // as defined in and that are subject to the Apple Public Source License
  2655  // Version 2.0 (the 'License'). You may not use this file except in
  2656  // compliance with the License. The rights granted to you under the License
  2657  // may not be used to create, or enable the creation or redistribution of,
  2658  // unlawful or unlicensed copies of an Apple operating system, or to
  2659  // circumvent, violate, or enable the circumvention or violation of, any
  2660  // terms of an Apple operating system software license agreement.
  2661  //
  2662  // Please obtain a copy of the License at
  2663  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2664  //
  2665  // The Original Code and all software distributed under the License are
  2666  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2667  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2668  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2669  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2670  // Please see the License for the specific language governing rights and
  2671  // limitations under the License.
  2672  //
  2673  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2674  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2675  type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  2676  
  2677  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2678  //
  2679  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2680  //
  2681  // This file contains Original Code and/or Modifications of Original Code
  2682  // as defined in and that are subject to the Apple Public Source License
  2683  // Version 2.0 (the 'License'). You may not use this file except in
  2684  // compliance with the License. The rights granted to you under the License
  2685  // may not be used to create, or enable the creation or redistribution of,
  2686  // unlawful or unlicensed copies of an Apple operating system, or to
  2687  // circumvent, violate, or enable the circumvention or violation of, any
  2688  // terms of an Apple operating system software license agreement.
  2689  //
  2690  // Please obtain a copy of the License at
  2691  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2692  //
  2693  // The Original Code and all software distributed under the License are
  2694  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2695  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2696  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2697  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2698  // Please see the License for the specific language governing rights and
  2699  // limitations under the License.
  2700  //
  2701  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2702  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2703  //
  2704  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2705  //
  2706  // This file contains Original Code and/or Modifications of Original Code
  2707  // as defined in and that are subject to the Apple Public Source License
  2708  // Version 2.0 (the 'License'). You may not use this file except in
  2709  // compliance with the License. The rights granted to you under the License
  2710  // may not be used to create, or enable the creation or redistribution of,
  2711  // unlawful or unlicensed copies of an Apple operating system, or to
  2712  // circumvent, violate, or enable the circumvention or violation of, any
  2713  // terms of an Apple operating system software license agreement.
  2714  //
  2715  // Please obtain a copy of the License at
  2716  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2717  //
  2718  // The Original Code and all software distributed under the License are
  2719  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2720  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2721  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2722  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2723  // Please see the License for the specific language governing rights and
  2724  // limitations under the License.
  2725  //
  2726  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2727  
  2728  type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  2729  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2730  //
  2731  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2732  //
  2733  // This file contains Original Code and/or Modifications of Original Code
  2734  // as defined in and that are subject to the Apple Public Source License
  2735  // Version 2.0 (the 'License'). You may not use this file except in
  2736  // compliance with the License. The rights granted to you under the License
  2737  // may not be used to create, or enable the creation or redistribution of,
  2738  // unlawful or unlicensed copies of an Apple operating system, or to
  2739  // circumvent, violate, or enable the circumvention or violation of, any
  2740  // terms of an Apple operating system software license agreement.
  2741  //
  2742  // Please obtain a copy of the License at
  2743  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2744  //
  2745  // The Original Code and all software distributed under the License are
  2746  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2747  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2748  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2749  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2750  // Please see the License for the specific language governing rights and
  2751  // limitations under the License.
  2752  //
  2753  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2754  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2755  //
  2756  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2757  //
  2758  // This file contains Original Code and/or Modifications of Original Code
  2759  // as defined in and that are subject to the Apple Public Source License
  2760  // Version 2.0 (the 'License'). You may not use this file except in
  2761  // compliance with the License. The rights granted to you under the License
  2762  // may not be used to create, or enable the creation or redistribution of,
  2763  // unlawful or unlicensed copies of an Apple operating system, or to
  2764  // circumvent, violate, or enable the circumvention or violation of, any
  2765  // terms of an Apple operating system software license agreement.
  2766  //
  2767  // Please obtain a copy of the License at
  2768  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2769  //
  2770  // The Original Code and all software distributed under the License are
  2771  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2772  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2773  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2774  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2775  // Please see the License for the specific language governing rights and
  2776  // limitations under the License.
  2777  //
  2778  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2779  
  2780  type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  2781  
  2782  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2783  //
  2784  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2785  //
  2786  // This file contains Original Code and/or Modifications of Original Code
  2787  // as defined in and that are subject to the Apple Public Source License
  2788  // Version 2.0 (the 'License'). You may not use this file except in
  2789  // compliance with the License. The rights granted to you under the License
  2790  // may not be used to create, or enable the creation or redistribution of,
  2791  // unlawful or unlicensed copies of an Apple operating system, or to
  2792  // circumvent, violate, or enable the circumvention or violation of, any
  2793  // terms of an Apple operating system software license agreement.
  2794  //
  2795  // Please obtain a copy of the License at
  2796  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2797  //
  2798  // The Original Code and all software distributed under the License are
  2799  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2800  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2801  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2802  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2803  // Please see the License for the specific language governing rights and
  2804  // limitations under the License.
  2805  //
  2806  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2807  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2808  //
  2809  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2810  //
  2811  // This file contains Original Code and/or Modifications of Original Code
  2812  // as defined in and that are subject to the Apple Public Source License
  2813  // Version 2.0 (the 'License'). You may not use this file except in
  2814  // compliance with the License. The rights granted to you under the License
  2815  // may not be used to create, or enable the creation or redistribution of,
  2816  // unlawful or unlicensed copies of an Apple operating system, or to
  2817  // circumvent, violate, or enable the circumvention or violation of, any
  2818  // terms of an Apple operating system software license agreement.
  2819  //
  2820  // Please obtain a copy of the License at
  2821  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2822  //
  2823  // The Original Code and all software distributed under the License are
  2824  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2825  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2826  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2827  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2828  // Please see the License for the specific language governing rights and
  2829  // limitations under the License.
  2830  //
  2831  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2832  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2833  type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
  2834  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2835  //
  2836  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2837  //
  2838  // This file contains Original Code and/or Modifications of Original Code
  2839  // as defined in and that are subject to the Apple Public Source License
  2840  // Version 2.0 (the 'License'). You may not use this file except in
  2841  // compliance with the License. The rights granted to you under the License
  2842  // may not be used to create, or enable the creation or redistribution of,
  2843  // unlawful or unlicensed copies of an Apple operating system, or to
  2844  // circumvent, violate, or enable the circumvention or violation of, any
  2845  // terms of an Apple operating system software license agreement.
  2846  //
  2847  // Please obtain a copy of the License at
  2848  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2849  //
  2850  // The Original Code and all software distributed under the License are
  2851  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2852  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2853  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2854  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2855  // Please see the License for the specific language governing rights and
  2856  // limitations under the License.
  2857  //
  2858  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2859  type Errno_t = int32 /* _errno_t.h:30:32 */
  2860  
  2861  // This code is present here in order to maintain historical backward
  2862  // compatability, and is intended to be removed at some point in the
  2863  // future; please include <sys/select.h> instead.
  2864  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2865  //
  2866  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2867  //
  2868  // This file contains Original Code and/or Modifications of Original Code
  2869  // as defined in and that are subject to the Apple Public Source License
  2870  // Version 2.0 (the 'License'). You may not use this file except in
  2871  // compliance with the License. The rights granted to you under the License
  2872  // may not be used to create, or enable the creation or redistribution of,
  2873  // unlawful or unlicensed copies of an Apple operating system, or to
  2874  // circumvent, violate, or enable the circumvention or violation of, any
  2875  // terms of an Apple operating system software license agreement.
  2876  //
  2877  // Please obtain a copy of the License at
  2878  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2879  //
  2880  // The Original Code and all software distributed under the License are
  2881  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2882  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2883  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2884  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2885  // Please see the License for the specific language governing rights and
  2886  // limitations under the License.
  2887  //
  2888  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2889  
  2890  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2891  //
  2892  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2893  //
  2894  // This file contains Original Code and/or Modifications of Original Code
  2895  // as defined in and that are subject to the Apple Public Source License
  2896  // Version 2.0 (the 'License'). You may not use this file except in
  2897  // compliance with the License. The rights granted to you under the License
  2898  // may not be used to create, or enable the creation or redistribution of,
  2899  // unlawful or unlicensed copies of an Apple operating system, or to
  2900  // circumvent, violate, or enable the circumvention or violation of, any
  2901  // terms of an Apple operating system software license agreement.
  2902  //
  2903  // Please obtain a copy of the License at
  2904  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2905  //
  2906  // The Original Code and all software distributed under the License are
  2907  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2908  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2909  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2910  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2911  // Please see the License for the specific language governing rights and
  2912  // limitations under the License.
  2913  //
  2914  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2915  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2916  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2917  //
  2918  // @APPLE_LICENSE_HEADER_START@
  2919  //
  2920  // This file contains Original Code and/or Modifications of Original Code
  2921  // as defined in and that are subject to the Apple Public Source License
  2922  // Version 2.0 (the 'License'). You may not use this file except in
  2923  // compliance with the License. Please obtain a copy of the License at
  2924  // http://www.opensource.apple.com/apsl/ and read it before using this
  2925  // file.
  2926  //
  2927  // The Original Code and all software distributed under the License are
  2928  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2929  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2930  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2931  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2932  // Please see the License for the specific language governing rights and
  2933  // limitations under the License.
  2934  //
  2935  // @APPLE_LICENSE_HEADER_END@
  2936  
  2937  //
  2938  //     These macros are for use in OS header files. They enable function prototypes
  2939  //     and Objective-C methods to be tagged with the OS version in which they
  2940  //     were first available; and, if applicable, the OS version in which they
  2941  //     became deprecated.
  2942  //
  2943  //     The desktop Mac OS X and iOS each have different version numbers.
  2944  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  2945  //     and iOS version numbers.  For instance:
  2946  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  2947  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  2948  //     and first available in iOS 2.0 on the iPhone.
  2949  //
  2950  //     If a function is available on one platform, but not the other a _NA (not
  2951  //     applicable) parameter is used.  For instance:
  2952  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  2953  //     means that the function/method was first available on Mac OS X 10.3, and it
  2954  //     currently not implemented on the iPhone.
  2955  //
  2956  //     At some point, a function/method may be deprecated.  That means Apple
  2957  //     recommends applications stop using the function, either because there is a
  2958  //     better replacement or the functionality is being phased out.  Deprecated
  2959  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  2960  //     macro which specifies the OS version where the function became available
  2961  //     as well as the OS version in which it became deprecated.  For instance:
  2962  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  2963  //     means that the function/method was introduced in Mac OS X 10.0, then
  2964  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  2965  //     has never been available.
  2966  //
  2967  //     For these macros to function properly, a program must specify the OS version range
  2968  //     it is targeting.  The min OS version is specified as an option to the compiler:
  2969  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  2970  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  2971  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  2972  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  2973  //
  2974  //     Examples:
  2975  //
  2976  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  2977  //
  2978  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2979  //
  2980  //
  2981  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  2982  //
  2983  //             @interface MyClass : NSObject
  2984  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2985  //             @end
  2986  //
  2987  //
  2988  //         An enum available on the phone, but not available on Mac OS X:
  2989  //
  2990  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  2991  //                 enum { myEnum = 1 };
  2992  //             #endif
  2993  //            Note: this works when targeting the Mac OS X platform because
  2994  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  2995  //
  2996  //
  2997  //         An enum with values added in different iPhoneOS versions:
  2998  //
  2999  // 			enum {
  3000  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  3001  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  3002  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  3003  // 				...
  3004  // 		      Note: you do not want to use #if with enumeration values
  3005  // 			  when a client needs to see all values at compile time
  3006  // 			  and use runtime logic to only use the viable values.
  3007  //
  3008  //
  3009  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3010  //     source base that can be compiled to target a range of OS versions.  It is best
  3011  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3012  //     That is because you might get compiled on an old OS that does not define a later
  3013  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  3014  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  3015  //     way.
  3016  //
  3017  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3018  //             // code only compiled when targeting Mac OS X and not iPhone
  3019  //             // note use of 1050 instead of __MAC_10_5
  3020  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3021  //                 // code in here might run on pre-Leopard OS
  3022  //             #else
  3023  //                 // code here can assume Leopard or later
  3024  //             #endif
  3025  //         #endif
  3026  //
  3027  //
  3028  
  3029  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3030  // in an upcoming release. This soft deprecation is an intermediate step before formal
  3031  // deprecation to notify developers about the API before compiler warnings are generated.
  3032  // You can find all places in your code that use soft deprecated API by redefining the
  3033  // value of this macro to your current minimum deployment target, for example:
  3034  // (macOS)
  3035  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3036  // (iOS)
  3037  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3038  
  3039  // Copyright (c) 2019 by Apple Inc.. All rights reserved.
  3040  //
  3041  // @APPLE_LICENSE_HEADER_START@
  3042  //
  3043  // This file contains Original Code and/or Modifications of Original Code
  3044  // as defined in and that are subject to the Apple Public Source License
  3045  // Version 2.0 (the 'License'). You may not use this file except in
  3046  // compliance with the License. Please obtain a copy of the License at
  3047  // http://www.opensource.apple.com/apsl/ and read it before using this
  3048  // file.
  3049  //
  3050  // The Original Code and all software distributed under the License are
  3051  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3052  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3053  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3054  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3055  // Please see the License for the specific language governing rights and
  3056  // limitations under the License.
  3057  //
  3058  // @APPLE_LICENSE_HEADER_END@
  3059  
  3060  // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3061  
  3062  // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3063  
  3064  // Set up standard Mac OS X versions
  3065  
  3066  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3067  //
  3068  // @APPLE_LICENSE_HEADER_START@
  3069  //
  3070  // This file contains Original Code and/or Modifications of Original Code
  3071  // as defined in and that are subject to the Apple Public Source License
  3072  // Version 2.0 (the 'License'). You may not use this file except in
  3073  // compliance with the License. Please obtain a copy of the License at
  3074  // http://www.opensource.apple.com/apsl/ and read it before using this
  3075  // file.
  3076  //
  3077  // The Original Code and all software distributed under the License are
  3078  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3079  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3080  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3081  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3082  // Please see the License for the specific language governing rights and
  3083  // limitations under the License.
  3084  //
  3085  // @APPLE_LICENSE_HEADER_END@
  3086  
  3087  //
  3088  //     File:       AvailabilityInternal.h
  3089  //
  3090  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3091  //
  3092  
  3093  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3094  
  3095  // make sure a default max version is set
  3096  
  3097  //
  3098  //  Macros for defining which versions/platform a given symbol can be used.
  3099  //
  3100  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3101  //
  3102  
  3103  // Evaluate to nothing for compilers that don't support availability.
  3104  
  3105  // Swift compiler version
  3106  // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3107  // Example:
  3108  //
  3109  //  #if __swift_compiler_version_at_least(800, 2, 20)
  3110  //  - (nonnull NSString *)description;
  3111  //  #else
  3112  //  - (NSString *)description;
  3113  //  #endif
  3114  
  3115  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3116  
  3117  // for use to document app extension usage
  3118  
  3119  // for use marking APIs available info for Mac OSX
  3120  
  3121  // for use marking APIs available info for iOS
  3122  
  3123  // for use marking APIs available info for tvOS
  3124  
  3125  // for use marking APIs available info for Watch OS
  3126  
  3127  // for use marking APIs unavailable for swift
  3128  
  3129  //
  3130  //  Macros for defining which versions/platform a given symbol can be used.
  3131  //
  3132  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3133  //
  3134  //  * Note that these macros are only compatible with clang compilers that
  3135  //  * support the following target selection options:
  3136  //  *
  3137  //  * -mmacosx-version-min
  3138  //  * -miphoneos-version-min
  3139  //  * -mwatchos-version-min
  3140  //  * -mtvos-version-min
  3141  //
  3142  
  3143  // Evaluate to nothing for compilers that don't support availability.
  3144  
  3145  // If SPI decorations have not been defined elsewhere, disable them.
  3146  
  3147  // Select uses bit masks of file descriptors in longs.  These macros
  3148  // manipulate such bit fields (the filesystem macros use chars).  The
  3149  // extra protection here is to permit application redefinition above
  3150  // the default size.
  3151  
  3152  type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  3153  
  3154  // This code is present here in order to maintain historical backward
  3155  // compatability, and is intended to be removed at some point in the
  3156  // future; please include <sys/select.h> instead.
  3157  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3158  //
  3159  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3160  //
  3161  // This file contains Original Code and/or Modifications of Original Code
  3162  // as defined in and that are subject to the Apple Public Source License
  3163  // Version 2.0 (the 'License'). You may not use this file except in
  3164  // compliance with the License. The rights granted to you under the License
  3165  // may not be used to create, or enable the creation or redistribution of,
  3166  // unlawful or unlicensed copies of an Apple operating system, or to
  3167  // circumvent, violate, or enable the circumvention or violation of, any
  3168  // terms of an Apple operating system software license agreement.
  3169  //
  3170  // Please obtain a copy of the License at
  3171  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3172  //
  3173  // The Original Code and all software distributed under the License are
  3174  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3175  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3176  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3177  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3178  // Please see the License for the specific language governing rights and
  3179  // limitations under the License.
  3180  //
  3181  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3182  
  3183  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3184  //
  3185  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3186  //
  3187  // This file contains Original Code and/or Modifications of Original Code
  3188  // as defined in and that are subject to the Apple Public Source License
  3189  // Version 2.0 (the 'License'). You may not use this file except in
  3190  // compliance with the License. The rights granted to you under the License
  3191  // may not be used to create, or enable the creation or redistribution of,
  3192  // unlawful or unlicensed copies of an Apple operating system, or to
  3193  // circumvent, violate, or enable the circumvention or violation of, any
  3194  // terms of an Apple operating system software license agreement.
  3195  //
  3196  // Please obtain a copy of the License at
  3197  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3198  //
  3199  // The Original Code and all software distributed under the License are
  3200  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3201  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3202  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3203  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3204  // Please see the License for the specific language governing rights and
  3205  // limitations under the License.
  3206  //
  3207  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3208  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3209  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3210  //
  3211  // @APPLE_LICENSE_HEADER_START@
  3212  //
  3213  // This file contains Original Code and/or Modifications of Original Code
  3214  // as defined in and that are subject to the Apple Public Source License
  3215  // Version 2.0 (the 'License'). You may not use this file except in
  3216  // compliance with the License. Please obtain a copy of the License at
  3217  // http://www.opensource.apple.com/apsl/ and read it before using this
  3218  // file.
  3219  //
  3220  // The Original Code and all software distributed under the License are
  3221  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3222  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3223  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3224  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3225  // Please see the License for the specific language governing rights and
  3226  // limitations under the License.
  3227  //
  3228  // @APPLE_LICENSE_HEADER_END@
  3229  
  3230  //
  3231  //     These macros are for use in OS header files. They enable function prototypes
  3232  //     and Objective-C methods to be tagged with the OS version in which they
  3233  //     were first available; and, if applicable, the OS version in which they
  3234  //     became deprecated.
  3235  //
  3236  //     The desktop Mac OS X and iOS each have different version numbers.
  3237  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  3238  //     and iOS version numbers.  For instance:
  3239  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  3240  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  3241  //     and first available in iOS 2.0 on the iPhone.
  3242  //
  3243  //     If a function is available on one platform, but not the other a _NA (not
  3244  //     applicable) parameter is used.  For instance:
  3245  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  3246  //     means that the function/method was first available on Mac OS X 10.3, and it
  3247  //     currently not implemented on the iPhone.
  3248  //
  3249  //     At some point, a function/method may be deprecated.  That means Apple
  3250  //     recommends applications stop using the function, either because there is a
  3251  //     better replacement or the functionality is being phased out.  Deprecated
  3252  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  3253  //     macro which specifies the OS version where the function became available
  3254  //     as well as the OS version in which it became deprecated.  For instance:
  3255  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  3256  //     means that the function/method was introduced in Mac OS X 10.0, then
  3257  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  3258  //     has never been available.
  3259  //
  3260  //     For these macros to function properly, a program must specify the OS version range
  3261  //     it is targeting.  The min OS version is specified as an option to the compiler:
  3262  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  3263  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  3264  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  3265  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  3266  //
  3267  //     Examples:
  3268  //
  3269  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  3270  //
  3271  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3272  //
  3273  //
  3274  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  3275  //
  3276  //             @interface MyClass : NSObject
  3277  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3278  //             @end
  3279  //
  3280  //
  3281  //         An enum available on the phone, but not available on Mac OS X:
  3282  //
  3283  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  3284  //                 enum { myEnum = 1 };
  3285  //             #endif
  3286  //            Note: this works when targeting the Mac OS X platform because
  3287  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  3288  //
  3289  //
  3290  //         An enum with values added in different iPhoneOS versions:
  3291  //
  3292  // 			enum {
  3293  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  3294  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  3295  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  3296  // 				...
  3297  // 		      Note: you do not want to use #if with enumeration values
  3298  // 			  when a client needs to see all values at compile time
  3299  // 			  and use runtime logic to only use the viable values.
  3300  //
  3301  //
  3302  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3303  //     source base that can be compiled to target a range of OS versions.  It is best
  3304  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3305  //     That is because you might get compiled on an old OS that does not define a later
  3306  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  3307  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  3308  //     way.
  3309  //
  3310  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3311  //             // code only compiled when targeting Mac OS X and not iPhone
  3312  //             // note use of 1050 instead of __MAC_10_5
  3313  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3314  //                 // code in here might run on pre-Leopard OS
  3315  //             #else
  3316  //                 // code here can assume Leopard or later
  3317  //             #endif
  3318  //         #endif
  3319  //
  3320  //
  3321  
  3322  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3323  // in an upcoming release. This soft deprecation is an intermediate step before formal
  3324  // deprecation to notify developers about the API before compiler warnings are generated.
  3325  // You can find all places in your code that use soft deprecated API by redefining the
  3326  // value of this macro to your current minimum deployment target, for example:
  3327  // (macOS)
  3328  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3329  // (iOS)
  3330  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3331  
  3332  // Copyright (c) 2019 by Apple Inc.. All rights reserved.
  3333  //
  3334  // @APPLE_LICENSE_HEADER_START@
  3335  //
  3336  // This file contains Original Code and/or Modifications of Original Code
  3337  // as defined in and that are subject to the Apple Public Source License
  3338  // Version 2.0 (the 'License'). You may not use this file except in
  3339  // compliance with the License. Please obtain a copy of the License at
  3340  // http://www.opensource.apple.com/apsl/ and read it before using this
  3341  // file.
  3342  //
  3343  // The Original Code and all software distributed under the License are
  3344  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3345  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3346  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3347  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3348  // Please see the License for the specific language governing rights and
  3349  // limitations under the License.
  3350  //
  3351  // @APPLE_LICENSE_HEADER_END@
  3352  
  3353  // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3354  
  3355  // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3356  
  3357  // Set up standard Mac OS X versions
  3358  
  3359  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3360  //
  3361  // @APPLE_LICENSE_HEADER_START@
  3362  //
  3363  // This file contains Original Code and/or Modifications of Original Code
  3364  // as defined in and that are subject to the Apple Public Source License
  3365  // Version 2.0 (the 'License'). You may not use this file except in
  3366  // compliance with the License. Please obtain a copy of the License at
  3367  // http://www.opensource.apple.com/apsl/ and read it before using this
  3368  // file.
  3369  //
  3370  // The Original Code and all software distributed under the License are
  3371  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3372  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3373  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3374  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3375  // Please see the License for the specific language governing rights and
  3376  // limitations under the License.
  3377  //
  3378  // @APPLE_LICENSE_HEADER_END@
  3379  
  3380  //
  3381  //     File:       AvailabilityInternal.h
  3382  //
  3383  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3384  //
  3385  
  3386  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3387  
  3388  // make sure a default max version is set
  3389  
  3390  //
  3391  //  Macros for defining which versions/platform a given symbol can be used.
  3392  //
  3393  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3394  //
  3395  
  3396  // Evaluate to nothing for compilers that don't support availability.
  3397  
  3398  // Swift compiler version
  3399  // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3400  // Example:
  3401  //
  3402  //  #if __swift_compiler_version_at_least(800, 2, 20)
  3403  //  - (nonnull NSString *)description;
  3404  //  #else
  3405  //  - (NSString *)description;
  3406  //  #endif
  3407  
  3408  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3409  
  3410  // for use to document app extension usage
  3411  
  3412  // for use marking APIs available info for Mac OSX
  3413  
  3414  // for use marking APIs available info for iOS
  3415  
  3416  // for use marking APIs available info for tvOS
  3417  
  3418  // for use marking APIs available info for Watch OS
  3419  
  3420  // for use marking APIs unavailable for swift
  3421  
  3422  //
  3423  //  Macros for defining which versions/platform a given symbol can be used.
  3424  //
  3425  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3426  //
  3427  //  * Note that these macros are only compatible with clang compilers that
  3428  //  * support the following target selection options:
  3429  //  *
  3430  //  * -mmacosx-version-min
  3431  //  * -miphoneos-version-min
  3432  //  * -mwatchos-version-min
  3433  //  * -mtvos-version-min
  3434  //
  3435  
  3436  // Evaluate to nothing for compilers that don't support availability.
  3437  
  3438  // If SPI decorations have not been defined elsewhere, disable them.
  3439  
  3440  // Select uses bit masks of file descriptors in longs.  These macros
  3441  // manipulate such bit fields (the filesystem macros use chars).  The
  3442  // extra protection here is to permit application redefinition above
  3443  // the default size.
  3444  
  3445  type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  3446  
  3447  // Use the built-in bzero function instead of the library version so that
  3448  // we do not pollute the namespace or introduce prototype warnings.
  3449  
  3450  type Fd_mask = X__int32_t /* types.h:189:25 */
  3451  
  3452  // Select uses bit masks of file descriptors in longs.  These macros
  3453  // manipulate such bit fields (the filesystem macros use chars).  The
  3454  // extra protection here is to permit application redefinition above
  3455  // the default size.
  3456  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3457  //
  3458  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3459  //
  3460  // This file contains Original Code and/or Modifications of Original Code
  3461  // as defined in and that are subject to the Apple Public Source License
  3462  // Version 2.0 (the 'License'). You may not use this file except in
  3463  // compliance with the License. The rights granted to you under the License
  3464  // may not be used to create, or enable the creation or redistribution of,
  3465  // unlawful or unlicensed copies of an Apple operating system, or to
  3466  // circumvent, violate, or enable the circumvention or violation of, any
  3467  // terms of an Apple operating system software license agreement.
  3468  //
  3469  // Please obtain a copy of the License at
  3470  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3471  //
  3472  // The Original Code and all software distributed under the License are
  3473  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3474  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3475  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3476  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3477  // Please see the License for the specific language governing rights and
  3478  // limitations under the License.
  3479  //
  3480  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3481  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3482  //
  3483  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3484  //
  3485  // This file contains Original Code and/or Modifications of Original Code
  3486  // as defined in and that are subject to the Apple Public Source License
  3487  // Version 2.0 (the 'License'). You may not use this file except in
  3488  // compliance with the License. The rights granted to you under the License
  3489  // may not be used to create, or enable the creation or redistribution of,
  3490  // unlawful or unlicensed copies of an Apple operating system, or to
  3491  // circumvent, violate, or enable the circumvention or violation of, any
  3492  // terms of an Apple operating system software license agreement.
  3493  //
  3494  // Please obtain a copy of the License at
  3495  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3496  //
  3497  // The Original Code and all software distributed under the License are
  3498  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3499  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3500  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3501  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3502  // Please see the License for the specific language governing rights and
  3503  // limitations under the License.
  3504  //
  3505  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3506  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3507  //
  3508  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3509  //
  3510  // This file contains Original Code and/or Modifications of Original Code
  3511  // as defined in and that are subject to the Apple Public Source License
  3512  // Version 2.0 (the 'License'). You may not use this file except in
  3513  // compliance with the License. The rights granted to you under the License
  3514  // may not be used to create, or enable the creation or redistribution of,
  3515  // unlawful or unlicensed copies of an Apple operating system, or to
  3516  // circumvent, violate, or enable the circumvention or violation of, any
  3517  // terms of an Apple operating system software license agreement.
  3518  //
  3519  // Please obtain a copy of the License at
  3520  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3521  //
  3522  // The Original Code and all software distributed under the License are
  3523  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3524  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3525  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3526  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3527  // Please see the License for the specific language governing rights and
  3528  // limitations under the License.
  3529  //
  3530  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3531  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3532  //
  3533  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3534  //
  3535  // This file contains Original Code and/or Modifications of Original Code
  3536  // as defined in and that are subject to the Apple Public Source License
  3537  // Version 2.0 (the 'License'). You may not use this file except in
  3538  // compliance with the License. The rights granted to you under the License
  3539  // may not be used to create, or enable the creation or redistribution of,
  3540  // unlawful or unlicensed copies of an Apple operating system, or to
  3541  // circumvent, violate, or enable the circumvention or violation of, any
  3542  // terms of an Apple operating system software license agreement.
  3543  //
  3544  // Please obtain a copy of the License at
  3545  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3546  //
  3547  // The Original Code and all software distributed under the License are
  3548  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3549  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3550  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3551  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3552  // Please see the License for the specific language governing rights and
  3553  // limitations under the License.
  3554  //
  3555  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3556  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3557  //
  3558  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3559  //
  3560  // This file contains Original Code and/or Modifications of Original Code
  3561  // as defined in and that are subject to the Apple Public Source License
  3562  // Version 2.0 (the 'License'). You may not use this file except in
  3563  // compliance with the License. The rights granted to you under the License
  3564  // may not be used to create, or enable the creation or redistribution of,
  3565  // unlawful or unlicensed copies of an Apple operating system, or to
  3566  // circumvent, violate, or enable the circumvention or violation of, any
  3567  // terms of an Apple operating system software license agreement.
  3568  //
  3569  // Please obtain a copy of the License at
  3570  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3571  //
  3572  // The Original Code and all software distributed under the License are
  3573  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3574  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3575  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3576  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3577  // Please see the License for the specific language governing rights and
  3578  // limitations under the License.
  3579  //
  3580  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3581  
  3582  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3583  //
  3584  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3585  //
  3586  // This file contains Original Code and/or Modifications of Original Code
  3587  // as defined in and that are subject to the Apple Public Source License
  3588  // Version 2.0 (the 'License'). You may not use this file except in
  3589  // compliance with the License. The rights granted to you under the License
  3590  // may not be used to create, or enable the creation or redistribution of,
  3591  // unlawful or unlicensed copies of an Apple operating system, or to
  3592  // circumvent, violate, or enable the circumvention or violation of, any
  3593  // terms of an Apple operating system software license agreement.
  3594  //
  3595  // Please obtain a copy of the License at
  3596  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3597  //
  3598  // The Original Code and all software distributed under the License are
  3599  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3600  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3601  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3602  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3603  // Please see the License for the specific language governing rights and
  3604  // limitations under the License.
  3605  //
  3606  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3607  
  3608  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3609  //
  3610  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3611  //
  3612  // This file contains Original Code and/or Modifications of Original Code
  3613  // as defined in and that are subject to the Apple Public Source License
  3614  // Version 2.0 (the 'License'). You may not use this file except in
  3615  // compliance with the License. The rights granted to you under the License
  3616  // may not be used to create, or enable the creation or redistribution of,
  3617  // unlawful or unlicensed copies of an Apple operating system, or to
  3618  // circumvent, violate, or enable the circumvention or violation of, any
  3619  // terms of an Apple operating system software license agreement.
  3620  //
  3621  // Please obtain a copy of the License at
  3622  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3623  //
  3624  // The Original Code and all software distributed under the License are
  3625  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3626  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3627  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3628  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3629  // Please see the License for the specific language governing rights and
  3630  // limitations under the License.
  3631  //
  3632  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3633  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3634  //
  3635  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3636  //
  3637  // This file contains Original Code and/or Modifications of Original Code
  3638  // as defined in and that are subject to the Apple Public Source License
  3639  // Version 2.0 (the 'License'). You may not use this file except in
  3640  // compliance with the License. The rights granted to you under the License
  3641  // may not be used to create, or enable the creation or redistribution of,
  3642  // unlawful or unlicensed copies of an Apple operating system, or to
  3643  // circumvent, violate, or enable the circumvention or violation of, any
  3644  // terms of an Apple operating system software license agreement.
  3645  //
  3646  // Please obtain a copy of the License at
  3647  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3648  //
  3649  // The Original Code and all software distributed under the License are
  3650  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3651  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3652  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3653  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3654  // Please see the License for the specific language governing rights and
  3655  // limitations under the License.
  3656  //
  3657  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3658  
  3659  type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  3660  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3661  //
  3662  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3663  //
  3664  // This file contains Original Code and/or Modifications of Original Code
  3665  // as defined in and that are subject to the Apple Public Source License
  3666  // Version 2.0 (the 'License'). You may not use this file except in
  3667  // compliance with the License. The rights granted to you under the License
  3668  // may not be used to create, or enable the creation or redistribution of,
  3669  // unlawful or unlicensed copies of an Apple operating system, or to
  3670  // circumvent, violate, or enable the circumvention or violation of, any
  3671  // terms of an Apple operating system software license agreement.
  3672  //
  3673  // Please obtain a copy of the License at
  3674  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3675  //
  3676  // The Original Code and all software distributed under the License are
  3677  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3678  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3679  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3680  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3681  // Please see the License for the specific language governing rights and
  3682  // limitations under the License.
  3683  //
  3684  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3685  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3686  //
  3687  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3688  //
  3689  // This file contains Original Code and/or Modifications of Original Code
  3690  // as defined in and that are subject to the Apple Public Source License
  3691  // Version 2.0 (the 'License'). You may not use this file except in
  3692  // compliance with the License. The rights granted to you under the License
  3693  // may not be used to create, or enable the creation or redistribution of,
  3694  // unlawful or unlicensed copies of an Apple operating system, or to
  3695  // circumvent, violate, or enable the circumvention or violation of, any
  3696  // terms of an Apple operating system software license agreement.
  3697  //
  3698  // Please obtain a copy of the License at
  3699  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3700  //
  3701  // The Original Code and all software distributed under the License are
  3702  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3703  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3704  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3705  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3706  // Please see the License for the specific language governing rights and
  3707  // limitations under the License.
  3708  //
  3709  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3710  
  3711  type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  3712  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3713  //
  3714  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3715  //
  3716  // This file contains Original Code and/or Modifications of Original Code
  3717  // as defined in and that are subject to the Apple Public Source License
  3718  // Version 2.0 (the 'License'). You may not use this file except in
  3719  // compliance with the License. The rights granted to you under the License
  3720  // may not be used to create, or enable the creation or redistribution of,
  3721  // unlawful or unlicensed copies of an Apple operating system, or to
  3722  // circumvent, violate, or enable the circumvention or violation of, any
  3723  // terms of an Apple operating system software license agreement.
  3724  //
  3725  // Please obtain a copy of the License at
  3726  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3727  //
  3728  // The Original Code and all software distributed under the License are
  3729  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3730  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3731  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3732  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3733  // Please see the License for the specific language governing rights and
  3734  // limitations under the License.
  3735  //
  3736  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3737  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3738  //
  3739  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3740  //
  3741  // This file contains Original Code and/or Modifications of Original Code
  3742  // as defined in and that are subject to the Apple Public Source License
  3743  // Version 2.0 (the 'License'). You may not use this file except in
  3744  // compliance with the License. The rights granted to you under the License
  3745  // may not be used to create, or enable the creation or redistribution of,
  3746  // unlawful or unlicensed copies of an Apple operating system, or to
  3747  // circumvent, violate, or enable the circumvention or violation of, any
  3748  // terms of an Apple operating system software license agreement.
  3749  //
  3750  // Please obtain a copy of the License at
  3751  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3752  //
  3753  // The Original Code and all software distributed under the License are
  3754  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3755  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3756  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3757  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3758  // Please see the License for the specific language governing rights and
  3759  // limitations under the License.
  3760  //
  3761  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3762  
  3763  type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  3764  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3765  //
  3766  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3767  //
  3768  // This file contains Original Code and/or Modifications of Original Code
  3769  // as defined in and that are subject to the Apple Public Source License
  3770  // Version 2.0 (the 'License'). You may not use this file except in
  3771  // compliance with the License. The rights granted to you under the License
  3772  // may not be used to create, or enable the creation or redistribution of,
  3773  // unlawful or unlicensed copies of an Apple operating system, or to
  3774  // circumvent, violate, or enable the circumvention or violation of, any
  3775  // terms of an Apple operating system software license agreement.
  3776  //
  3777  // Please obtain a copy of the License at
  3778  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3779  //
  3780  // The Original Code and all software distributed under the License are
  3781  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3782  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3783  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3784  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3785  // Please see the License for the specific language governing rights and
  3786  // limitations under the License.
  3787  //
  3788  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3789  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3790  //
  3791  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3792  //
  3793  // This file contains Original Code and/or Modifications of Original Code
  3794  // as defined in and that are subject to the Apple Public Source License
  3795  // Version 2.0 (the 'License'). You may not use this file except in
  3796  // compliance with the License. The rights granted to you under the License
  3797  // may not be used to create, or enable the creation or redistribution of,
  3798  // unlawful or unlicensed copies of an Apple operating system, or to
  3799  // circumvent, violate, or enable the circumvention or violation of, any
  3800  // terms of an Apple operating system software license agreement.
  3801  //
  3802  // Please obtain a copy of the License at
  3803  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3804  //
  3805  // The Original Code and all software distributed under the License are
  3806  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3807  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3808  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3809  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3810  // Please see the License for the specific language governing rights and
  3811  // limitations under the License.
  3812  //
  3813  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3814  
  3815  type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  3816  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3817  //
  3818  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3819  //
  3820  // This file contains Original Code and/or Modifications of Original Code
  3821  // as defined in and that are subject to the Apple Public Source License
  3822  // Version 2.0 (the 'License'). You may not use this file except in
  3823  // compliance with the License. The rights granted to you under the License
  3824  // may not be used to create, or enable the creation or redistribution of,
  3825  // unlawful or unlicensed copies of an Apple operating system, or to
  3826  // circumvent, violate, or enable the circumvention or violation of, any
  3827  // terms of an Apple operating system software license agreement.
  3828  //
  3829  // Please obtain a copy of the License at
  3830  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3831  //
  3832  // The Original Code and all software distributed under the License are
  3833  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3834  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3835  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3836  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3837  // Please see the License for the specific language governing rights and
  3838  // limitations under the License.
  3839  //
  3840  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3841  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3842  //
  3843  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3844  //
  3845  // This file contains Original Code and/or Modifications of Original Code
  3846  // as defined in and that are subject to the Apple Public Source License
  3847  // Version 2.0 (the 'License'). You may not use this file except in
  3848  // compliance with the License. The rights granted to you under the License
  3849  // may not be used to create, or enable the creation or redistribution of,
  3850  // unlawful or unlicensed copies of an Apple operating system, or to
  3851  // circumvent, violate, or enable the circumvention or violation of, any
  3852  // terms of an Apple operating system software license agreement.
  3853  //
  3854  // Please obtain a copy of the License at
  3855  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3856  //
  3857  // The Original Code and all software distributed under the License are
  3858  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3859  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3860  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3861  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3862  // Please see the License for the specific language governing rights and
  3863  // limitations under the License.
  3864  //
  3865  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3866  
  3867  type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  3868  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3869  //
  3870  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3871  //
  3872  // This file contains Original Code and/or Modifications of Original Code
  3873  // as defined in and that are subject to the Apple Public Source License
  3874  // Version 2.0 (the 'License'). You may not use this file except in
  3875  // compliance with the License. The rights granted to you under the License
  3876  // may not be used to create, or enable the creation or redistribution of,
  3877  // unlawful or unlicensed copies of an Apple operating system, or to
  3878  // circumvent, violate, or enable the circumvention or violation of, any
  3879  // terms of an Apple operating system software license agreement.
  3880  //
  3881  // Please obtain a copy of the License at
  3882  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3883  //
  3884  // The Original Code and all software distributed under the License are
  3885  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3886  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3887  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3888  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3889  // Please see the License for the specific language governing rights and
  3890  // limitations under the License.
  3891  //
  3892  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3893  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3894  //
  3895  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3896  //
  3897  // This file contains Original Code and/or Modifications of Original Code
  3898  // as defined in and that are subject to the Apple Public Source License
  3899  // Version 2.0 (the 'License'). You may not use this file except in
  3900  // compliance with the License. The rights granted to you under the License
  3901  // may not be used to create, or enable the creation or redistribution of,
  3902  // unlawful or unlicensed copies of an Apple operating system, or to
  3903  // circumvent, violate, or enable the circumvention or violation of, any
  3904  // terms of an Apple operating system software license agreement.
  3905  //
  3906  // Please obtain a copy of the License at
  3907  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3908  //
  3909  // The Original Code and all software distributed under the License are
  3910  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3911  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3912  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3913  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3914  // Please see the License for the specific language governing rights and
  3915  // limitations under the License.
  3916  //
  3917  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3918  
  3919  type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
  3920  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3921  //
  3922  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3923  //
  3924  // This file contains Original Code and/or Modifications of Original Code
  3925  // as defined in and that are subject to the Apple Public Source License
  3926  // Version 2.0 (the 'License'). You may not use this file except in
  3927  // compliance with the License. The rights granted to you under the License
  3928  // may not be used to create, or enable the creation or redistribution of,
  3929  // unlawful or unlicensed copies of an Apple operating system, or to
  3930  // circumvent, violate, or enable the circumvention or violation of, any
  3931  // terms of an Apple operating system software license agreement.
  3932  //
  3933  // Please obtain a copy of the License at
  3934  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3935  //
  3936  // The Original Code and all software distributed under the License are
  3937  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3938  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3939  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3940  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3941  // Please see the License for the specific language governing rights and
  3942  // limitations under the License.
  3943  //
  3944  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3945  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3946  //
  3947  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3948  //
  3949  // This file contains Original Code and/or Modifications of Original Code
  3950  // as defined in and that are subject to the Apple Public Source License
  3951  // Version 2.0 (the 'License'). You may not use this file except in
  3952  // compliance with the License. The rights granted to you under the License
  3953  // may not be used to create, or enable the creation or redistribution of,
  3954  // unlawful or unlicensed copies of an Apple operating system, or to
  3955  // circumvent, violate, or enable the circumvention or violation of, any
  3956  // terms of an Apple operating system software license agreement.
  3957  //
  3958  // Please obtain a copy of the License at
  3959  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3960  //
  3961  // The Original Code and all software distributed under the License are
  3962  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3963  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3964  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3965  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3966  // Please see the License for the specific language governing rights and
  3967  // limitations under the License.
  3968  //
  3969  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3970  
  3971  type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  3972  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3973  //
  3974  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3975  //
  3976  // This file contains Original Code and/or Modifications of Original Code
  3977  // as defined in and that are subject to the Apple Public Source License
  3978  // Version 2.0 (the 'License'). You may not use this file except in
  3979  // compliance with the License. The rights granted to you under the License
  3980  // may not be used to create, or enable the creation or redistribution of,
  3981  // unlawful or unlicensed copies of an Apple operating system, or to
  3982  // circumvent, violate, or enable the circumvention or violation of, any
  3983  // terms of an Apple operating system software license agreement.
  3984  //
  3985  // Please obtain a copy of the License at
  3986  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3987  //
  3988  // The Original Code and all software distributed under the License are
  3989  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3990  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3991  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3992  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3993  // Please see the License for the specific language governing rights and
  3994  // limitations under the License.
  3995  //
  3996  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3997  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3998  //
  3999  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4000  //
  4001  // This file contains Original Code and/or Modifications of Original Code
  4002  // as defined in and that are subject to the Apple Public Source License
  4003  // Version 2.0 (the 'License'). You may not use this file except in
  4004  // compliance with the License. The rights granted to you under the License
  4005  // may not be used to create, or enable the creation or redistribution of,
  4006  // unlawful or unlicensed copies of an Apple operating system, or to
  4007  // circumvent, violate, or enable the circumvention or violation of, any
  4008  // terms of an Apple operating system software license agreement.
  4009  //
  4010  // Please obtain a copy of the License at
  4011  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4012  //
  4013  // The Original Code and all software distributed under the License are
  4014  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4015  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4016  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4017  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4018  // Please see the License for the specific language governing rights and
  4019  // limitations under the License.
  4020  //
  4021  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4022  
  4023  type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  4024  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4025  //
  4026  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4027  //
  4028  // This file contains Original Code and/or Modifications of Original Code
  4029  // as defined in and that are subject to the Apple Public Source License
  4030  // Version 2.0 (the 'License'). You may not use this file except in
  4031  // compliance with the License. The rights granted to you under the License
  4032  // may not be used to create, or enable the creation or redistribution of,
  4033  // unlawful or unlicensed copies of an Apple operating system, or to
  4034  // circumvent, violate, or enable the circumvention or violation of, any
  4035  // terms of an Apple operating system software license agreement.
  4036  //
  4037  // Please obtain a copy of the License at
  4038  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4039  //
  4040  // The Original Code and all software distributed under the License are
  4041  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4042  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4043  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4044  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4045  // Please see the License for the specific language governing rights and
  4046  // limitations under the License.
  4047  //
  4048  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4049  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4050  //
  4051  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4052  //
  4053  // This file contains Original Code and/or Modifications of Original Code
  4054  // as defined in and that are subject to the Apple Public Source License
  4055  // Version 2.0 (the 'License'). You may not use this file except in
  4056  // compliance with the License. The rights granted to you under the License
  4057  // may not be used to create, or enable the creation or redistribution of,
  4058  // unlawful or unlicensed copies of an Apple operating system, or to
  4059  // circumvent, violate, or enable the circumvention or violation of, any
  4060  // terms of an Apple operating system software license agreement.
  4061  //
  4062  // Please obtain a copy of the License at
  4063  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4064  //
  4065  // The Original Code and all software distributed under the License are
  4066  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4067  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4068  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4069  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4070  // Please see the License for the specific language governing rights and
  4071  // limitations under the License.
  4072  //
  4073  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4074  
  4075  type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  4076  
  4077  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4078  //
  4079  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4080  //
  4081  // This file contains Original Code and/or Modifications of Original Code
  4082  // as defined in and that are subject to the Apple Public Source License
  4083  // Version 2.0 (the 'License'). You may not use this file except in
  4084  // compliance with the License. The rights granted to you under the License
  4085  // may not be used to create, or enable the creation or redistribution of,
  4086  // unlawful or unlicensed copies of an Apple operating system, or to
  4087  // circumvent, violate, or enable the circumvention or violation of, any
  4088  // terms of an Apple operating system software license agreement.
  4089  //
  4090  // Please obtain a copy of the License at
  4091  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4092  //
  4093  // The Original Code and all software distributed under the License are
  4094  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4095  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4096  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4097  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4098  // Please see the License for the specific language governing rights and
  4099  // limitations under the License.
  4100  //
  4101  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4102  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4103  //
  4104  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4105  //
  4106  // This file contains Original Code and/or Modifications of Original Code
  4107  // as defined in and that are subject to the Apple Public Source License
  4108  // Version 2.0 (the 'License'). You may not use this file except in
  4109  // compliance with the License. The rights granted to you under the License
  4110  // may not be used to create, or enable the creation or redistribution of,
  4111  // unlawful or unlicensed copies of an Apple operating system, or to
  4112  // circumvent, violate, or enable the circumvention or violation of, any
  4113  // terms of an Apple operating system software license agreement.
  4114  //
  4115  // Please obtain a copy of the License at
  4116  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4117  //
  4118  // The Original Code and all software distributed under the License are
  4119  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4120  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4121  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4122  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4123  // Please see the License for the specific language governing rights and
  4124  // limitations under the License.
  4125  //
  4126  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4127  
  4128  type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
  4129  
  4130  // statvfs and fstatvfs
  4131  
  4132  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4133  //
  4134  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4135  //
  4136  // This file contains Original Code and/or Modifications of Original Code
  4137  // as defined in and that are subject to the Apple Public Source License
  4138  // Version 2.0 (the 'License'). You may not use this file except in
  4139  // compliance with the License. The rights granted to you under the License
  4140  // may not be used to create, or enable the creation or redistribution of,
  4141  // unlawful or unlicensed copies of an Apple operating system, or to
  4142  // circumvent, violate, or enable the circumvention or violation of, any
  4143  // terms of an Apple operating system software license agreement.
  4144  //
  4145  // Please obtain a copy of the License at
  4146  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4147  //
  4148  // The Original Code and all software distributed under the License are
  4149  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4150  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4151  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4152  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4153  // Please see the License for the specific language governing rights and
  4154  // limitations under the License.
  4155  //
  4156  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4157  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4158  //
  4159  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4160  //
  4161  // This file contains Original Code and/or Modifications of Original Code
  4162  // as defined in and that are subject to the Apple Public Source License
  4163  // Version 2.0 (the 'License'). You may not use this file except in
  4164  // compliance with the License. The rights granted to you under the License
  4165  // may not be used to create, or enable the creation or redistribution of,
  4166  // unlawful or unlicensed copies of an Apple operating system, or to
  4167  // circumvent, violate, or enable the circumvention or violation of, any
  4168  // terms of an Apple operating system software license agreement.
  4169  //
  4170  // Please obtain a copy of the License at
  4171  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4172  //
  4173  // The Original Code and all software distributed under the License are
  4174  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4175  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4176  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4177  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4178  // Please see the License for the specific language governing rights and
  4179  // limitations under the License.
  4180  //
  4181  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4182  
  4183  type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
  4184  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4185  //
  4186  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4187  //
  4188  // This file contains Original Code and/or Modifications of Original Code
  4189  // as defined in and that are subject to the Apple Public Source License
  4190  // Version 2.0 (the 'License'). You may not use this file except in
  4191  // compliance with the License. The rights granted to you under the License
  4192  // may not be used to create, or enable the creation or redistribution of,
  4193  // unlawful or unlicensed copies of an Apple operating system, or to
  4194  // circumvent, violate, or enable the circumvention or violation of, any
  4195  // terms of an Apple operating system software license agreement.
  4196  //
  4197  // Please obtain a copy of the License at
  4198  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4199  //
  4200  // The Original Code and all software distributed under the License are
  4201  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4202  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4203  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4204  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4205  // Please see the License for the specific language governing rights and
  4206  // limitations under the License.
  4207  //
  4208  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4209  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4210  //
  4211  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4212  //
  4213  // This file contains Original Code and/or Modifications of Original Code
  4214  // as defined in and that are subject to the Apple Public Source License
  4215  // Version 2.0 (the 'License'). You may not use this file except in
  4216  // compliance with the License. The rights granted to you under the License
  4217  // may not be used to create, or enable the creation or redistribution of,
  4218  // unlawful or unlicensed copies of an Apple operating system, or to
  4219  // circumvent, violate, or enable the circumvention or violation of, any
  4220  // terms of an Apple operating system software license agreement.
  4221  //
  4222  // Please obtain a copy of the License at
  4223  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4224  //
  4225  // The Original Code and all software distributed under the License are
  4226  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4227  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4228  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4229  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4230  // Please see the License for the specific language governing rights and
  4231  // limitations under the License.
  4232  //
  4233  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4234  
  4235  type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
  4236  
  4237  // Copyright (c) 2000-2014 Apple Inc. All rights reserved.
  4238  //
  4239  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4240  //
  4241  // This file contains Original Code and/or Modifications of Original Code
  4242  // as defined in and that are subject to the Apple Public Source License
  4243  // Version 2.0 (the 'License'). You may not use this file except in
  4244  // compliance with the License. The rights granted to you under the License
  4245  // may not be used to create, or enable the creation or redistribution of,
  4246  // unlawful or unlicensed copies of an Apple operating system, or to
  4247  // circumvent, violate, or enable the circumvention or violation of, any
  4248  // terms of an Apple operating system software license agreement.
  4249  //
  4250  // Please obtain a copy of the License at
  4251  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4252  //
  4253  // The Original Code and all software distributed under the License are
  4254  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4255  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4256  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4257  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4258  // Please see the License for the specific language governing rights and
  4259  // limitations under the License.
  4260  //
  4261  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4262  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  4263  // -
  4264  // Copyright (c) 1982, 1986, 1989, 1993
  4265  //	The Regents of the University of California.  All rights reserved.
  4266  // (c) UNIX System Laboratories, Inc.
  4267  // All or some portions of this file are derived from material licensed
  4268  // to the University of California by American Telephone and Telegraph
  4269  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  4270  // the permission of UNIX System Laboratories, Inc.
  4271  //
  4272  // Redistribution and use in source and binary forms, with or without
  4273  // modification, are permitted provided that the following conditions
  4274  // are met:
  4275  // 1. Redistributions of source code must retain the above copyright
  4276  //    notice, this list of conditions and the following disclaimer.
  4277  // 2. Redistributions in binary form must reproduce the above copyright
  4278  //    notice, this list of conditions and the following disclaimer in the
  4279  //    documentation and/or other materials provided with the distribution.
  4280  // 3. All advertising materials mentioning features or use of this software
  4281  //    must display the following acknowledgement:
  4282  //	This product includes software developed by the University of
  4283  //	California, Berkeley and its contributors.
  4284  // 4. Neither the name of the University nor the names of its contributors
  4285  //    may be used to endorse or promote products derived from this software
  4286  //    without specific prior written permission.
  4287  //
  4288  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4289  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4290  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4291  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4292  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4293  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4294  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4295  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4296  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4297  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4298  // SUCH DAMAGE.
  4299  //
  4300  //	@(#)stat.h	8.9 (Berkeley) 8/17/94
  4301  
  4302  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4303  //
  4304  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4305  //
  4306  // This file contains Original Code and/or Modifications of Original Code
  4307  // as defined in and that are subject to the Apple Public Source License
  4308  // Version 2.0 (the 'License'). You may not use this file except in
  4309  // compliance with the License. The rights granted to you under the License
  4310  // may not be used to create, or enable the creation or redistribution of,
  4311  // unlawful or unlicensed copies of an Apple operating system, or to
  4312  // circumvent, violate, or enable the circumvention or violation of, any
  4313  // terms of an Apple operating system software license agreement.
  4314  //
  4315  // Please obtain a copy of the License at
  4316  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4317  //
  4318  // The Original Code and all software distributed under the License are
  4319  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4320  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4321  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4322  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4323  // Please see the License for the specific language governing rights and
  4324  // limitations under the License.
  4325  //
  4326  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4327  
  4328  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4329  //
  4330  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4331  //
  4332  // This file contains Original Code and/or Modifications of Original Code
  4333  // as defined in and that are subject to the Apple Public Source License
  4334  // Version 2.0 (the 'License'). You may not use this file except in
  4335  // compliance with the License. The rights granted to you under the License
  4336  // may not be used to create, or enable the creation or redistribution of,
  4337  // unlawful or unlicensed copies of an Apple operating system, or to
  4338  // circumvent, violate, or enable the circumvention or violation of, any
  4339  // terms of an Apple operating system software license agreement.
  4340  //
  4341  // Please obtain a copy of the License at
  4342  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4343  //
  4344  // The Original Code and all software distributed under the License are
  4345  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4346  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4347  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4348  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4349  // Please see the License for the specific language governing rights and
  4350  // limitations under the License.
  4351  //
  4352  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4353  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4354  // Copyright (c) 1991, 1993
  4355  //	The Regents of the University of California.  All rights reserved.
  4356  //
  4357  // This code is derived from software contributed to Berkeley by
  4358  // Berkeley Software Design, Inc.
  4359  //
  4360  // Redistribution and use in source and binary forms, with or without
  4361  // modification, are permitted provided that the following conditions
  4362  // are met:
  4363  // 1. Redistributions of source code must retain the above copyright
  4364  //    notice, this list of conditions and the following disclaimer.
  4365  // 2. Redistributions in binary form must reproduce the above copyright
  4366  //    notice, this list of conditions and the following disclaimer in the
  4367  //    documentation and/or other materials provided with the distribution.
  4368  // 3. All advertising materials mentioning features or use of this software
  4369  //    must display the following acknowledgement:
  4370  //	This product includes software developed by the University of
  4371  //	California, Berkeley and its contributors.
  4372  // 4. Neither the name of the University nor the names of its contributors
  4373  //    may be used to endorse or promote products derived from this software
  4374  //    without specific prior written permission.
  4375  //
  4376  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4377  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4378  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4379  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4380  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4381  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4382  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4383  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4384  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4385  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4386  // SUCH DAMAGE.
  4387  //
  4388  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4389  
  4390  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4391  //
  4392  // @APPLE_LICENSE_HEADER_START@
  4393  //
  4394  // This file contains Original Code and/or Modifications of Original Code
  4395  // as defined in and that are subject to the Apple Public Source License
  4396  // Version 2.0 (the 'License'). You may not use this file except in
  4397  // compliance with the License. Please obtain a copy of the License at
  4398  // http://www.opensource.apple.com/apsl/ and read it before using this
  4399  // file.
  4400  //
  4401  // The Original Code and all software distributed under the License are
  4402  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4403  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4404  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4405  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4406  // Please see the License for the specific language governing rights and
  4407  // limitations under the License.
  4408  //
  4409  // @APPLE_LICENSE_HEADER_END@
  4410  
  4411  // [XSI] The timespec structure may be defined as described in <time.h>
  4412  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4413  //
  4414  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4415  //
  4416  // This file contains Original Code and/or Modifications of Original Code
  4417  // as defined in and that are subject to the Apple Public Source License
  4418  // Version 2.0 (the 'License'). You may not use this file except in
  4419  // compliance with the License. The rights granted to you under the License
  4420  // may not be used to create, or enable the creation or redistribution of,
  4421  // unlawful or unlicensed copies of an Apple operating system, or to
  4422  // circumvent, violate, or enable the circumvention or violation of, any
  4423  // terms of an Apple operating system software license agreement.
  4424  //
  4425  // Please obtain a copy of the License at
  4426  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4427  //
  4428  // The Original Code and all software distributed under the License are
  4429  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4430  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4431  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4432  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4433  // Please see the License for the specific language governing rights and
  4434  // limitations under the License.
  4435  //
  4436  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4437  
  4438  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4439  //
  4440  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4441  //
  4442  // This file contains Original Code and/or Modifications of Original Code
  4443  // as defined in and that are subject to the Apple Public Source License
  4444  // Version 2.0 (the 'License'). You may not use this file except in
  4445  // compliance with the License. The rights granted to you under the License
  4446  // may not be used to create, or enable the creation or redistribution of,
  4447  // unlawful or unlicensed copies of an Apple operating system, or to
  4448  // circumvent, violate, or enable the circumvention or violation of, any
  4449  // terms of an Apple operating system software license agreement.
  4450  //
  4451  // Please obtain a copy of the License at
  4452  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4453  //
  4454  // The Original Code and all software distributed under the License are
  4455  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4456  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4457  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4458  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4459  // Please see the License for the specific language governing rights and
  4460  // limitations under the License.
  4461  //
  4462  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4463  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4464  
  4465  type Timespec = struct {
  4466  	Ftv_sec  X__darwin_time_t
  4467  	Ftv_nsec int64
  4468  } /* _timespec.h:33:1 */
  4469  
  4470  // [XSI] The blkcnt_t, blksize_t, dev_t, ino_t, mode_t, nlink_t, uid_t,
  4471  // gid_t, off_t, and time_t types shall be defined as described in
  4472  // <sys/types.h>.
  4473  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4474  //
  4475  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4476  //
  4477  // This file contains Original Code and/or Modifications of Original Code
  4478  // as defined in and that are subject to the Apple Public Source License
  4479  // Version 2.0 (the 'License'). You may not use this file except in
  4480  // compliance with the License. The rights granted to you under the License
  4481  // may not be used to create, or enable the creation or redistribution of,
  4482  // unlawful or unlicensed copies of an Apple operating system, or to
  4483  // circumvent, violate, or enable the circumvention or violation of, any
  4484  // terms of an Apple operating system software license agreement.
  4485  //
  4486  // Please obtain a copy of the License at
  4487  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4488  //
  4489  // The Original Code and all software distributed under the License are
  4490  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4491  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4492  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4493  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4494  // Please see the License for the specific language governing rights and
  4495  // limitations under the License.
  4496  //
  4497  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4498  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4499  //
  4500  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4501  //
  4502  // This file contains Original Code and/or Modifications of Original Code
  4503  // as defined in and that are subject to the Apple Public Source License
  4504  // Version 2.0 (the 'License'). You may not use this file except in
  4505  // compliance with the License. The rights granted to you under the License
  4506  // may not be used to create, or enable the creation or redistribution of,
  4507  // unlawful or unlicensed copies of an Apple operating system, or to
  4508  // circumvent, violate, or enable the circumvention or violation of, any
  4509  // terms of an Apple operating system software license agreement.
  4510  //
  4511  // Please obtain a copy of the License at
  4512  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4513  //
  4514  // The Original Code and all software distributed under the License are
  4515  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4516  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4517  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4518  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4519  // Please see the License for the specific language governing rights and
  4520  // limitations under the License.
  4521  //
  4522  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4523  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4524  //
  4525  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4526  //
  4527  // This file contains Original Code and/or Modifications of Original Code
  4528  // as defined in and that are subject to the Apple Public Source License
  4529  // Version 2.0 (the 'License'). You may not use this file except in
  4530  // compliance with the License. The rights granted to you under the License
  4531  // may not be used to create, or enable the creation or redistribution of,
  4532  // unlawful or unlicensed copies of an Apple operating system, or to
  4533  // circumvent, violate, or enable the circumvention or violation of, any
  4534  // terms of an Apple operating system software license agreement.
  4535  //
  4536  // Please obtain a copy of the License at
  4537  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4538  //
  4539  // The Original Code and all software distributed under the License are
  4540  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4541  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4542  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4543  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4544  // Please see the License for the specific language governing rights and
  4545  // limitations under the License.
  4546  //
  4547  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4548  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4549  //
  4550  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4551  //
  4552  // This file contains Original Code and/or Modifications of Original Code
  4553  // as defined in and that are subject to the Apple Public Source License
  4554  // Version 2.0 (the 'License'). You may not use this file except in
  4555  // compliance with the License. The rights granted to you under the License
  4556  // may not be used to create, or enable the creation or redistribution of,
  4557  // unlawful or unlicensed copies of an Apple operating system, or to
  4558  // circumvent, violate, or enable the circumvention or violation of, any
  4559  // terms of an Apple operating system software license agreement.
  4560  //
  4561  // Please obtain a copy of the License at
  4562  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4563  //
  4564  // The Original Code and all software distributed under the License are
  4565  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4566  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4567  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4568  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4569  // Please see the License for the specific language governing rights and
  4570  // limitations under the License.
  4571  //
  4572  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4573  
  4574  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4575  //
  4576  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4577  //
  4578  // This file contains Original Code and/or Modifications of Original Code
  4579  // as defined in and that are subject to the Apple Public Source License
  4580  // Version 2.0 (the 'License'). You may not use this file except in
  4581  // compliance with the License. The rights granted to you under the License
  4582  // may not be used to create, or enable the creation or redistribution of,
  4583  // unlawful or unlicensed copies of an Apple operating system, or to
  4584  // circumvent, violate, or enable the circumvention or violation of, any
  4585  // terms of an Apple operating system software license agreement.
  4586  //
  4587  // Please obtain a copy of the License at
  4588  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4589  //
  4590  // The Original Code and all software distributed under the License are
  4591  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4592  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4593  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4594  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4595  // Please see the License for the specific language governing rights and
  4596  // limitations under the License.
  4597  //
  4598  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4599  
  4600  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4601  //
  4602  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4603  //
  4604  // This file contains Original Code and/or Modifications of Original Code
  4605  // as defined in and that are subject to the Apple Public Source License
  4606  // Version 2.0 (the 'License'). You may not use this file except in
  4607  // compliance with the License. The rights granted to you under the License
  4608  // may not be used to create, or enable the creation or redistribution of,
  4609  // unlawful or unlicensed copies of an Apple operating system, or to
  4610  // circumvent, violate, or enable the circumvention or violation of, any
  4611  // terms of an Apple operating system software license agreement.
  4612  //
  4613  // Please obtain a copy of the License at
  4614  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4615  //
  4616  // The Original Code and all software distributed under the License are
  4617  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4618  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4619  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4620  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4621  // Please see the License for the specific language governing rights and
  4622  // limitations under the License.
  4623  //
  4624  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4625  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4626  //
  4627  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4628  //
  4629  // This file contains Original Code and/or Modifications of Original Code
  4630  // as defined in and that are subject to the Apple Public Source License
  4631  // Version 2.0 (the 'License'). You may not use this file except in
  4632  // compliance with the License. The rights granted to you under the License
  4633  // may not be used to create, or enable the creation or redistribution of,
  4634  // unlawful or unlicensed copies of an Apple operating system, or to
  4635  // circumvent, violate, or enable the circumvention or violation of, any
  4636  // terms of an Apple operating system software license agreement.
  4637  //
  4638  // Please obtain a copy of the License at
  4639  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4640  //
  4641  // The Original Code and all software distributed under the License are
  4642  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4643  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4644  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4645  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4646  // Please see the License for the specific language governing rights and
  4647  // limitations under the License.
  4648  //
  4649  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4650  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4651  //
  4652  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4653  //
  4654  // This file contains Original Code and/or Modifications of Original Code
  4655  // as defined in and that are subject to the Apple Public Source License
  4656  // Version 2.0 (the 'License'). You may not use this file except in
  4657  // compliance with the License. The rights granted to you under the License
  4658  // may not be used to create, or enable the creation or redistribution of,
  4659  // unlawful or unlicensed copies of an Apple operating system, or to
  4660  // circumvent, violate, or enable the circumvention or violation of, any
  4661  // terms of an Apple operating system software license agreement.
  4662  //
  4663  // Please obtain a copy of the License at
  4664  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4665  //
  4666  // The Original Code and all software distributed under the License are
  4667  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4668  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4669  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4670  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4671  // Please see the License for the specific language governing rights and
  4672  // limitations under the License.
  4673  //
  4674  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4675  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4676  //
  4677  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4678  //
  4679  // This file contains Original Code and/or Modifications of Original Code
  4680  // as defined in and that are subject to the Apple Public Source License
  4681  // Version 2.0 (the 'License'). You may not use this file except in
  4682  // compliance with the License. The rights granted to you under the License
  4683  // may not be used to create, or enable the creation or redistribution of,
  4684  // unlawful or unlicensed copies of an Apple operating system, or to
  4685  // circumvent, violate, or enable the circumvention or violation of, any
  4686  // terms of an Apple operating system software license agreement.
  4687  //
  4688  // Please obtain a copy of the License at
  4689  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4690  //
  4691  // The Original Code and all software distributed under the License are
  4692  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4693  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4694  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4695  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4696  // Please see the License for the specific language governing rights and
  4697  // limitations under the License.
  4698  //
  4699  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4700  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4701  //
  4702  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4703  //
  4704  // This file contains Original Code and/or Modifications of Original Code
  4705  // as defined in and that are subject to the Apple Public Source License
  4706  // Version 2.0 (the 'License'). You may not use this file except in
  4707  // compliance with the License. The rights granted to you under the License
  4708  // may not be used to create, or enable the creation or redistribution of,
  4709  // unlawful or unlicensed copies of an Apple operating system, or to
  4710  // circumvent, violate, or enable the circumvention or violation of, any
  4711  // terms of an Apple operating system software license agreement.
  4712  //
  4713  // Please obtain a copy of the License at
  4714  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4715  //
  4716  // The Original Code and all software distributed under the License are
  4717  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4718  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4719  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4720  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4721  // Please see the License for the specific language governing rights and
  4722  // limitations under the License.
  4723  //
  4724  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4725  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4726  //
  4727  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4728  //
  4729  // This file contains Original Code and/or Modifications of Original Code
  4730  // as defined in and that are subject to the Apple Public Source License
  4731  // Version 2.0 (the 'License'). You may not use this file except in
  4732  // compliance with the License. The rights granted to you under the License
  4733  // may not be used to create, or enable the creation or redistribution of,
  4734  // unlawful or unlicensed copies of an Apple operating system, or to
  4735  // circumvent, violate, or enable the circumvention or violation of, any
  4736  // terms of an Apple operating system software license agreement.
  4737  //
  4738  // Please obtain a copy of the License at
  4739  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4740  //
  4741  // The Original Code and all software distributed under the License are
  4742  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4743  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4744  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4745  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4746  // Please see the License for the specific language governing rights and
  4747  // limitations under the License.
  4748  //
  4749  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4750  
  4751  // XXX So deprecated, it would make your head spin
  4752  //
  4753  // The old stat structure.  In fact, this is not used by the kernel at all,
  4754  // and should not be used by user space, and should be removed from this
  4755  // header file entirely (along with the unused cvtstat() prototype in
  4756  // vnode_internal.h).
  4757  type Ostat = struct {
  4758  	Fst_dev       X__uint16_t
  4759  	F__ccgo_pad1  [6]byte
  4760  	Fst_ino       Ino_t
  4761  	Fst_mode      Mode_t
  4762  	Fst_nlink     Nlink_t
  4763  	Fst_uid       X__uint16_t
  4764  	Fst_gid       X__uint16_t
  4765  	Fst_rdev      X__uint16_t
  4766  	F__ccgo_pad2  [2]byte
  4767  	Fst_size      X__int32_t
  4768  	Fst_atimespec struct {
  4769  		Ftv_sec  X__darwin_time_t
  4770  		Ftv_nsec int64
  4771  	}
  4772  	Fst_mtimespec struct {
  4773  		Ftv_sec  X__darwin_time_t
  4774  		Ftv_nsec int64
  4775  	}
  4776  	Fst_ctimespec struct {
  4777  		Ftv_sec  X__darwin_time_t
  4778  		Ftv_nsec int64
  4779  	}
  4780  	Fst_blksize X__int32_t
  4781  	Fst_blocks  X__int32_t
  4782  	Fst_flags   X__uint32_t
  4783  	Fst_gen     X__uint32_t
  4784  } /* stat.h:110:1 */
  4785  
  4786  // This structure is used as the second parameter to the fstat64(),
  4787  // lstat64(), and stat64() functions, and for struct stat when
  4788  // __DARWIN_64_BIT_INO_T is set. __DARWIN_STRUCT_STAT64 is defined
  4789  // above, depending on whether we use struct timespec or the direct
  4790  // components.
  4791  //
  4792  // This is simillar to stat except for 64bit inode number
  4793  // number instead of 32bit ino_t and the addition of create(birth) time.
  4794  
  4795  // [XSI] This structure is used as the second parameter to the fstat(),
  4796  // lstat(), and stat() functions.
  4797  
  4798  type Stat = struct {
  4799  	Fst_dev       Dev_t
  4800  	Fst_mode      Mode_t
  4801  	Fst_nlink     Nlink_t
  4802  	Fst_ino       X__darwin_ino64_t
  4803  	Fst_uid       Uid_t
  4804  	Fst_gid       Gid_t
  4805  	Fst_rdev      Dev_t
  4806  	F__ccgo_pad1  [4]byte
  4807  	Fst_atimespec struct {
  4808  		Ftv_sec  X__darwin_time_t
  4809  		Ftv_nsec int64
  4810  	}
  4811  	Fst_mtimespec struct {
  4812  		Ftv_sec  X__darwin_time_t
  4813  		Ftv_nsec int64
  4814  	}
  4815  	Fst_ctimespec struct {
  4816  		Ftv_sec  X__darwin_time_t
  4817  		Ftv_nsec int64
  4818  	}
  4819  	Fst_birthtimespec struct {
  4820  		Ftv_sec  X__darwin_time_t
  4821  		Ftv_nsec int64
  4822  	}
  4823  	Fst_size    Off_t
  4824  	Fst_blocks  Blkcnt_t
  4825  	Fst_blksize Blksize_t
  4826  	Fst_flags   X__uint32_t
  4827  	Fst_gen     X__uint32_t
  4828  	Fst_lspare  X__int32_t
  4829  	Fst_qspare  [2]X__int64_t
  4830  } /* stat.h:182:1 */
  4831  
  4832  type Filesec_t = uintptr /* _filesec_t.h:31:25 */
  4833  
  4834  // Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.
  4835  //
  4836  // @APPLE_LICENSE_HEADER_START@
  4837  //
  4838  // This file contains Original Code and/or Modifications of Original Code
  4839  // as defined in and that are subject to the Apple Public Source License
  4840  // Version 2.0 (the 'License'). You may not use this file except in
  4841  // compliance with the License. Please obtain a copy of the License at
  4842  // http://www.opensource.apple.com/apsl/ and read it before using this
  4843  // file.
  4844  //
  4845  // The Original Code and all software distributed under the License are
  4846  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4847  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4848  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4849  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4850  // Please see the License for the specific language governing rights and
  4851  // limitations under the License.
  4852  //
  4853  // @APPLE_LICENSE_HEADER_END@
  4854  // Copyright (c) 1989, 1993
  4855  //	The Regents of the University of California.  All rights reserved.
  4856  //
  4857  // Redistribution and use in source and binary forms, with or without
  4858  // modification, are permitted provided that the following conditions
  4859  // are met:
  4860  // 1. Redistributions of source code must retain the above copyright
  4861  //    notice, this list of conditions and the following disclaimer.
  4862  // 2. Redistributions in binary form must reproduce the above copyright
  4863  //    notice, this list of conditions and the following disclaimer in the
  4864  //    documentation and/or other materials provided with the distribution.
  4865  // 3. All advertising materials mentioning features or use of this software
  4866  //    must display the following acknowledgement:
  4867  //	This product includes software developed by the University of
  4868  //	California, Berkeley and its contributors.
  4869  // 4. Neither the name of the University nor the names of its contributors
  4870  //    may be used to endorse or promote products derived from this software
  4871  //    without specific prior written permission.
  4872  //
  4873  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4874  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4875  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4876  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4877  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4878  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4879  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4880  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4881  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4882  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4883  // SUCH DAMAGE.
  4884  //
  4885  //	@(#)fts.h	8.3 (Berkeley) 8/14/94
  4886  
  4887  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4888  //
  4889  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4890  //
  4891  // This file contains Original Code and/or Modifications of Original Code
  4892  // as defined in and that are subject to the Apple Public Source License
  4893  // Version 2.0 (the 'License'). You may not use this file except in
  4894  // compliance with the License. The rights granted to you under the License
  4895  // may not be used to create, or enable the creation or redistribution of,
  4896  // unlawful or unlicensed copies of an Apple operating system, or to
  4897  // circumvent, violate, or enable the circumvention or violation of, any
  4898  // terms of an Apple operating system software license agreement.
  4899  //
  4900  // Please obtain a copy of the License at
  4901  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4902  //
  4903  // The Original Code and all software distributed under the License are
  4904  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4905  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4906  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4907  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4908  // Please see the License for the specific language governing rights and
  4909  // limitations under the License.
  4910  //
  4911  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4912  
  4913  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4914  //
  4915  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4916  //
  4917  // This file contains Original Code and/or Modifications of Original Code
  4918  // as defined in and that are subject to the Apple Public Source License
  4919  // Version 2.0 (the 'License'). You may not use this file except in
  4920  // compliance with the License. The rights granted to you under the License
  4921  // may not be used to create, or enable the creation or redistribution of,
  4922  // unlawful or unlicensed copies of an Apple operating system, or to
  4923  // circumvent, violate, or enable the circumvention or violation of, any
  4924  // terms of an Apple operating system software license agreement.
  4925  //
  4926  // Please obtain a copy of the License at
  4927  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4928  //
  4929  // The Original Code and all software distributed under the License are
  4930  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4931  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4932  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4933  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4934  // Please see the License for the specific language governing rights and
  4935  // limitations under the License.
  4936  //
  4937  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4938  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4939  //
  4940  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4941  //
  4942  // This file contains Original Code and/or Modifications of Original Code
  4943  // as defined in and that are subject to the Apple Public Source License
  4944  // Version 2.0 (the 'License'). You may not use this file except in
  4945  // compliance with the License. The rights granted to you under the License
  4946  // may not be used to create, or enable the creation or redistribution of,
  4947  // unlawful or unlicensed copies of an Apple operating system, or to
  4948  // circumvent, violate, or enable the circumvention or violation of, any
  4949  // terms of an Apple operating system software license agreement.
  4950  //
  4951  // Please obtain a copy of the License at
  4952  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4953  //
  4954  // The Original Code and all software distributed under the License are
  4955  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4956  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4957  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4958  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4959  // Please see the License for the specific language governing rights and
  4960  // limitations under the License.
  4961  //
  4962  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4963  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4964  //
  4965  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4966  //
  4967  // This file contains Original Code and/or Modifications of Original Code
  4968  // as defined in and that are subject to the Apple Public Source License
  4969  // Version 2.0 (the 'License'). You may not use this file except in
  4970  // compliance with the License. The rights granted to you under the License
  4971  // may not be used to create, or enable the creation or redistribution of,
  4972  // unlawful or unlicensed copies of an Apple operating system, or to
  4973  // circumvent, violate, or enable the circumvention or violation of, any
  4974  // terms of an Apple operating system software license agreement.
  4975  //
  4976  // Please obtain a copy of the License at
  4977  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4978  //
  4979  // The Original Code and all software distributed under the License are
  4980  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4981  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4982  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4983  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4984  // Please see the License for the specific language governing rights and
  4985  // limitations under the License.
  4986  //
  4987  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4988  
  4989  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4990  //
  4991  // @APPLE_LICENSE_HEADER_START@
  4992  //
  4993  // This file contains Original Code and/or Modifications of Original Code
  4994  // as defined in and that are subject to the Apple Public Source License
  4995  // Version 2.0 (the 'License'). You may not use this file except in
  4996  // compliance with the License. Please obtain a copy of the License at
  4997  // http://www.opensource.apple.com/apsl/ and read it before using this
  4998  // file.
  4999  //
  5000  // The Original Code and all software distributed under the License are
  5001  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5002  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5003  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5004  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5005  // Please see the License for the specific language governing rights and
  5006  // limitations under the License.
  5007  //
  5008  // @APPLE_LICENSE_HEADER_END@
  5009  
  5010  type X_ftsent = struct {
  5011  	Ffts_cycle   uintptr
  5012  	Ffts_parent  uintptr
  5013  	Ffts_link    uintptr
  5014  	Ffts_number  int64
  5015  	Ffts_pointer uintptr
  5016  	Ffts_accpath uintptr
  5017  	Ffts_path    uintptr
  5018  	Ffts_errno   int32
  5019  	Ffts_symfd   int32
  5020  	Ffts_pathlen uint16
  5021  	Ffts_namelen uint16
  5022  	F__ccgo_pad1 [4]byte
  5023  	Ffts_ino     Ino_t
  5024  	Ffts_dev     Dev_t
  5025  	Ffts_nlink   Nlink_t
  5026  	Ffts_level   int16
  5027  	Ffts_info    uint16
  5028  	Ffts_flags   uint16
  5029  	Ffts_instr   uint16
  5030  	F__ccgo_pad2 [2]byte
  5031  	Ffts_statp   uintptr
  5032  	Ffts_name    [1]int8
  5033  	F__ccgo_pad3 [7]byte
  5034  } /* fts.h:72:2 */
  5035  
  5036  // Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.
  5037  //
  5038  // @APPLE_LICENSE_HEADER_START@
  5039  //
  5040  // This file contains Original Code and/or Modifications of Original Code
  5041  // as defined in and that are subject to the Apple Public Source License
  5042  // Version 2.0 (the 'License'). You may not use this file except in
  5043  // compliance with the License. Please obtain a copy of the License at
  5044  // http://www.opensource.apple.com/apsl/ and read it before using this
  5045  // file.
  5046  //
  5047  // The Original Code and all software distributed under the License are
  5048  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5049  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5050  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5051  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5052  // Please see the License for the specific language governing rights and
  5053  // limitations under the License.
  5054  //
  5055  // @APPLE_LICENSE_HEADER_END@
  5056  // Copyright (c) 1989, 1993
  5057  //	The Regents of the University of California.  All rights reserved.
  5058  //
  5059  // Redistribution and use in source and binary forms, with or without
  5060  // modification, are permitted provided that the following conditions
  5061  // are met:
  5062  // 1. Redistributions of source code must retain the above copyright
  5063  //    notice, this list of conditions and the following disclaimer.
  5064  // 2. Redistributions in binary form must reproduce the above copyright
  5065  //    notice, this list of conditions and the following disclaimer in the
  5066  //    documentation and/or other materials provided with the distribution.
  5067  // 3. All advertising materials mentioning features or use of this software
  5068  //    must display the following acknowledgement:
  5069  //	This product includes software developed by the University of
  5070  //	California, Berkeley and its contributors.
  5071  // 4. Neither the name of the University nor the names of its contributors
  5072  //    may be used to endorse or promote products derived from this software
  5073  //    without specific prior written permission.
  5074  //
  5075  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5076  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5077  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5078  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5079  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5080  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5081  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5082  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5083  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5084  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5085  // SUCH DAMAGE.
  5086  //
  5087  //	@(#)fts.h	8.3 (Berkeley) 8/14/94
  5088  
  5089  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5090  //
  5091  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5092  //
  5093  // This file contains Original Code and/or Modifications of Original Code
  5094  // as defined in and that are subject to the Apple Public Source License
  5095  // Version 2.0 (the 'License'). You may not use this file except in
  5096  // compliance with the License. The rights granted to you under the License
  5097  // may not be used to create, or enable the creation or redistribution of,
  5098  // unlawful or unlicensed copies of an Apple operating system, or to
  5099  // circumvent, violate, or enable the circumvention or violation of, any
  5100  // terms of an Apple operating system software license agreement.
  5101  //
  5102  // Please obtain a copy of the License at
  5103  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5104  //
  5105  // The Original Code and all software distributed under the License are
  5106  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5107  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5108  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5109  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5110  // Please see the License for the specific language governing rights and
  5111  // limitations under the License.
  5112  //
  5113  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5114  
  5115  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5116  //
  5117  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5118  //
  5119  // This file contains Original Code and/or Modifications of Original Code
  5120  // as defined in and that are subject to the Apple Public Source License
  5121  // Version 2.0 (the 'License'). You may not use this file except in
  5122  // compliance with the License. The rights granted to you under the License
  5123  // may not be used to create, or enable the creation or redistribution of,
  5124  // unlawful or unlicensed copies of an Apple operating system, or to
  5125  // circumvent, violate, or enable the circumvention or violation of, any
  5126  // terms of an Apple operating system software license agreement.
  5127  //
  5128  // Please obtain a copy of the License at
  5129  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5130  //
  5131  // The Original Code and all software distributed under the License are
  5132  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5133  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5134  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5135  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5136  // Please see the License for the specific language governing rights and
  5137  // limitations under the License.
  5138  //
  5139  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5140  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5141  //
  5142  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5143  //
  5144  // This file contains Original Code and/or Modifications of Original Code
  5145  // as defined in and that are subject to the Apple Public Source License
  5146  // Version 2.0 (the 'License'). You may not use this file except in
  5147  // compliance with the License. The rights granted to you under the License
  5148  // may not be used to create, or enable the creation or redistribution of,
  5149  // unlawful or unlicensed copies of an Apple operating system, or to
  5150  // circumvent, violate, or enable the circumvention or violation of, any
  5151  // terms of an Apple operating system software license agreement.
  5152  //
  5153  // Please obtain a copy of the License at
  5154  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5155  //
  5156  // The Original Code and all software distributed under the License are
  5157  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5158  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5159  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5160  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5161  // Please see the License for the specific language governing rights and
  5162  // limitations under the License.
  5163  //
  5164  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5165  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5166  //
  5167  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5168  //
  5169  // This file contains Original Code and/or Modifications of Original Code
  5170  // as defined in and that are subject to the Apple Public Source License
  5171  // Version 2.0 (the 'License'). You may not use this file except in
  5172  // compliance with the License. The rights granted to you under the License
  5173  // may not be used to create, or enable the creation or redistribution of,
  5174  // unlawful or unlicensed copies of an Apple operating system, or to
  5175  // circumvent, violate, or enable the circumvention or violation of, any
  5176  // terms of an Apple operating system software license agreement.
  5177  //
  5178  // Please obtain a copy of the License at
  5179  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5180  //
  5181  // The Original Code and all software distributed under the License are
  5182  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5183  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5184  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5185  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5186  // Please see the License for the specific language governing rights and
  5187  // limitations under the License.
  5188  //
  5189  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5190  
  5191  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  5192  //
  5193  // @APPLE_LICENSE_HEADER_START@
  5194  //
  5195  // This file contains Original Code and/or Modifications of Original Code
  5196  // as defined in and that are subject to the Apple Public Source License
  5197  // Version 2.0 (the 'License'). You may not use this file except in
  5198  // compliance with the License. Please obtain a copy of the License at
  5199  // http://www.opensource.apple.com/apsl/ and read it before using this
  5200  // file.
  5201  //
  5202  // The Original Code and all software distributed under the License are
  5203  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5204  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5205  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5206  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5207  // Please see the License for the specific language governing rights and
  5208  // limitations under the License.
  5209  //
  5210  // @APPLE_LICENSE_HEADER_END@
  5211  
  5212  type FTS = struct {
  5213  	Ffts_cur     uintptr
  5214  	Ffts_child   uintptr
  5215  	Ffts_array   uintptr
  5216  	Ffts_dev     Dev_t
  5217  	F__ccgo_pad1 [4]byte
  5218  	Ffts_path    uintptr
  5219  	Ffts_rfd     int32
  5220  	Ffts_pathlen int32
  5221  	Ffts_nitems  int32
  5222  	F__ccgo_pad2 [4]byte
  5223  	F__56        struct{ Ffts_compar uintptr }
  5224  	Ffts_options int32
  5225  	F__ccgo_pad3 [4]byte
  5226  } /* fts.h:111:3 */
  5227  
  5228  type FTSENT = X_ftsent /* fts.h:165:3 */
  5229  
  5230  var _ int8 /* gen.c:5:13: */