gtsocial-umbx

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

unistd_darwin_arm64.go (184135B)


      1 // Code generated by 'ccgo unistd/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 unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT.
      2 
      3 package unistd
      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 	ACCESSX_MAX_DESCRIPTORS                = 100     // unistd.h:137:1:
     19 	ACCESSX_MAX_TABLESIZE                  = 16384   // unistd.h:138:1:
     20 	FD_SETSIZE                             = 1024    // _fd_setsize.h:29:1:
     21 	F_LOCK                                 = 1       // unistd.h:528:1:
     22 	F_OK                                   = 0       // unistd.h:89:1:
     23 	F_TEST                                 = 3       // unistd.h:530:1:
     24 	F_TLOCK                                = 2       // unistd.h:529:1:
     25 	F_ULOCK                                = 0       // unistd.h:527:1:
     26 	L_INCR                                 = 1       // unistd.h:127:1:
     27 	L_SET                                  = 0       // unistd.h:126:1:
     28 	L_XTND                                 = 2       // unistd.h:128:1:
     29 	MAC_OS_VERSION_11_0                    = 110000  // AvailabilityVersions.h:238:1:
     30 	MAC_OS_VERSION_12_0                    = 120000  // AvailabilityVersions.h:239:1:
     31 	MAC_OS_X_VERSION_10_0                  = 1000    // AvailabilityVersions.h:206:1:
     32 	MAC_OS_X_VERSION_10_1                  = 1010    // AvailabilityVersions.h:207:1:
     33 	MAC_OS_X_VERSION_10_10                 = 101000  // AvailabilityVersions.h:216:1:
     34 	MAC_OS_X_VERSION_10_10_2               = 101002  // AvailabilityVersions.h:217:1:
     35 	MAC_OS_X_VERSION_10_10_3               = 101003  // AvailabilityVersions.h:218:1:
     36 	MAC_OS_X_VERSION_10_11                 = 101100  // AvailabilityVersions.h:219:1:
     37 	MAC_OS_X_VERSION_10_11_2               = 101102  // AvailabilityVersions.h:220:1:
     38 	MAC_OS_X_VERSION_10_11_3               = 101103  // AvailabilityVersions.h:221:1:
     39 	MAC_OS_X_VERSION_10_11_4               = 101104  // AvailabilityVersions.h:222:1:
     40 	MAC_OS_X_VERSION_10_12                 = 101200  // AvailabilityVersions.h:223:1:
     41 	MAC_OS_X_VERSION_10_12_1               = 101201  // AvailabilityVersions.h:224:1:
     42 	MAC_OS_X_VERSION_10_12_2               = 101202  // AvailabilityVersions.h:225:1:
     43 	MAC_OS_X_VERSION_10_12_4               = 101204  // AvailabilityVersions.h:226:1:
     44 	MAC_OS_X_VERSION_10_13                 = 101300  // AvailabilityVersions.h:227:1:
     45 	MAC_OS_X_VERSION_10_13_1               = 101301  // AvailabilityVersions.h:228:1:
     46 	MAC_OS_X_VERSION_10_13_2               = 101302  // AvailabilityVersions.h:229:1:
     47 	MAC_OS_X_VERSION_10_13_4               = 101304  // AvailabilityVersions.h:230:1:
     48 	MAC_OS_X_VERSION_10_14                 = 101400  // AvailabilityVersions.h:231:1:
     49 	MAC_OS_X_VERSION_10_14_1               = 101401  // AvailabilityVersions.h:232:1:
     50 	MAC_OS_X_VERSION_10_14_4               = 101404  // AvailabilityVersions.h:233:1:
     51 	MAC_OS_X_VERSION_10_14_6               = 101406  // AvailabilityVersions.h:234:1:
     52 	MAC_OS_X_VERSION_10_15                 = 101500  // AvailabilityVersions.h:235:1:
     53 	MAC_OS_X_VERSION_10_15_1               = 101501  // AvailabilityVersions.h:236:1:
     54 	MAC_OS_X_VERSION_10_16                 = 101600  // AvailabilityVersions.h:237:1:
     55 	MAC_OS_X_VERSION_10_2                  = 1020    // AvailabilityVersions.h:208:1:
     56 	MAC_OS_X_VERSION_10_3                  = 1030    // AvailabilityVersions.h:209:1:
     57 	MAC_OS_X_VERSION_10_4                  = 1040    // AvailabilityVersions.h:210:1:
     58 	MAC_OS_X_VERSION_10_5                  = 1050    // AvailabilityVersions.h:211:1:
     59 	MAC_OS_X_VERSION_10_6                  = 1060    // AvailabilityVersions.h:212:1:
     60 	MAC_OS_X_VERSION_10_7                  = 1070    // AvailabilityVersions.h:213:1:
     61 	MAC_OS_X_VERSION_10_8                  = 1080    // AvailabilityVersions.h:214:1:
     62 	MAC_OS_X_VERSION_10_9                  = 1090    // AvailabilityVersions.h:215:1:
     63 	R_OK                                   = 4       // unistd.h:92:1:
     64 	SEEK_CUR                               = 1       // _seek_set.h:34:1:
     65 	SEEK_DATA                              = 4       // _seek_set.h:44:1:
     66 	SEEK_END                               = 2       // _seek_set.h:35:1:
     67 	SEEK_HOLE                              = 3       // _seek_set.h:40:1:
     68 	SEEK_SET                               = 0       // _seek_set.h:33:1:
     69 	STDERR_FILENO                          = 2       // unistd.h:88:1:
     70 	STDIN_FILENO                           = 0       // unistd.h:86:1:
     71 	STDOUT_FILENO                          = 1       // unistd.h:87:1:
     72 	SYNC_VOLUME_FULLSYNC                   = 0x01    // unistd.h:780:1:
     73 	SYNC_VOLUME_WAIT                       = 0x02    // unistd.h:781:1:
     74 	W_OK                                   = 2       // unistd.h:91:1:
     75 	X_OK                                   = 1       // unistd.h:90:1:
     76 	X_ACCESS_EXTENDED_MASK                 = 4193792 // unistd.h:114:1:
     77 	X_APPEND_OK                            = 8192    // unistd.h:104:1:
     78 	X_ARM_MACHTYPES_H_                     = 0       // types.h:43:1:
     79 	X_BSD_ARM__TYPES_H_                    = 0       // _types.h:5:1:
     80 	X_BSD_MACHINE_TYPES_H_                 = 0       // types.h:32:1:
     81 	X_BSD_MACHINE__TYPES_H_                = 0       // _types.h:29:1:
     82 	X_CDEFS_H_                             = 0       // cdefs.h:68:1:
     83 	X_CHOWN_OK                             = 2097152 // unistd.h:112:1:
     84 	X_CS_DARWIN_USER_CACHE_DIR             = 65538   // unistd.h:415:1:
     85 	X_CS_DARWIN_USER_DIR                   = 65536   // unistd.h:413:1:
     86 	X_CS_DARWIN_USER_TEMP_DIR              = 65537   // unistd.h:414:1:
     87 	X_CS_PATH                              = 1       // unistd.h:175:1:
     88 	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS       = 2       // unistd.h:377:1:
     89 	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS      = 3       // unistd.h:378:1:
     90 	X_CS_POSIX_V6_ILP32_OFF32_LIBS         = 4       // unistd.h:379:1:
     91 	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS      = 5       // unistd.h:380:1:
     92 	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS     = 6       // unistd.h:381:1:
     93 	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS        = 7       // unistd.h:382:1:
     94 	X_CS_POSIX_V6_LP64_OFF64_CFLAGS        = 8       // unistd.h:383:1:
     95 	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS       = 9       // unistd.h:384:1:
     96 	X_CS_POSIX_V6_LP64_OFF64_LIBS          = 10      // unistd.h:385:1:
     97 	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS      = 11      // unistd.h:386:1:
     98 	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS     = 12      // unistd.h:387:1:
     99 	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS        = 13      // unistd.h:388:1:
    100 	X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS    = 14      // unistd.h:389:1:
    101 	X_CS_XBS5_ILP32_OFF32_CFLAGS           = 20      // unistd.h:394:1:
    102 	X_CS_XBS5_ILP32_OFF32_LDFLAGS          = 21      // unistd.h:395:1:
    103 	X_CS_XBS5_ILP32_OFF32_LIBS             = 22      // unistd.h:396:1:
    104 	X_CS_XBS5_ILP32_OFF32_LINTFLAGS        = 23      // unistd.h:397:1:
    105 	X_CS_XBS5_ILP32_OFFBIG_CFLAGS          = 24      // unistd.h:398:1:
    106 	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS         = 25      // unistd.h:399:1:
    107 	X_CS_XBS5_ILP32_OFFBIG_LIBS            = 26      // unistd.h:400:1:
    108 	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS       = 27      // unistd.h:401:1:
    109 	X_CS_XBS5_LP64_OFF64_CFLAGS            = 28      // unistd.h:402:1:
    110 	X_CS_XBS5_LP64_OFF64_LDFLAGS           = 29      // unistd.h:403:1:
    111 	X_CS_XBS5_LP64_OFF64_LIBS              = 30      // unistd.h:404:1:
    112 	X_CS_XBS5_LP64_OFF64_LINTFLAGS         = 31      // unistd.h:405:1:
    113 	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS          = 32      // unistd.h:406:1:
    114 	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS         = 33      // unistd.h:407:1:
    115 	X_CS_XBS5_LPBIG_OFFBIG_LIBS            = 34      // unistd.h:408:1:
    116 	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS       = 35      // unistd.h:409:1:
    117 	X_CTERMID_H_                           = 0       // _ctermid.h:25:1:
    118 	X_DARWIN_FEATURE_64_BIT_INODE          = 1       // cdefs.h:774:1:
    119 	X_DARWIN_FEATURE_ONLY_64_BIT_INODE     = 1       // cdefs.h:784:1:
    120 	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1       // cdefs.h:800:1:
    121 	X_DARWIN_FEATURE_ONLY_VERS_1050        = 1       // cdefs.h:792:1:
    122 	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3       // cdefs.h:808:1:
    123 	X_DELETE_OK                            = 4096    // unistd.h:103:1:
    124 	X_DEV_T                                = 0       // _dev_t.h:29:1:
    125 	X_EXECUTE_OK                           = 2048    // unistd.h:102:1:
    126 	X_FD_SET                               = 0       // _fd_def.h:29:1:
    127 	X_FILE_OFFSET_BITS                     = 64      // <builtin>:25:1:
    128 	X_FORTIFY_SOURCE                       = 2       // _types.h:65:1:
    129 	X_GID_T                                = 0       // _gid_t.h:29:1:
    130 	X_INT16_T                              = 0       // _int16_t.h:29:1:
    131 	X_INT32_T                              = 0       // _int32_t.h:29:1:
    132 	X_INT64_T                              = 0       // _int64_t.h:29:1:
    133 	X_INT8_T                               = 0       // _int8_t.h:29:1:
    134 	X_INTPTR_T                             = 0       // _intptr_t.h:29:1:
    135 	X_LP64                                 = 1       // <predefined>:1:1:
    136 	X_MACHTYPES_H_                         = 0       // types.h:44:1:
    137 	X_MODE_T                               = 0       // _mode_t.h:29:1:
    138 	X_Nonnull                              = 0       // cdefs.h:268:1:
    139 	X_Null_unspecified                     = 0       // cdefs.h:271:1:
    140 	X_Nullable                             = 0       // cdefs.h:265:1:
    141 	X_OFF_T                                = 0       // _off_t.h:29:1:
    142 	X_PC_2_SYMLINKS                        = 15      // unistd.h:160:1:
    143 	X_PC_ALLOC_SIZE_MIN                    = 16      // unistd.h:161:1:
    144 	X_PC_ASYNC_IO                          = 17      // unistd.h:162:1:
    145 	X_PC_AUTH_OPAQUE_NP                    = 14      // unistd.h:157:1:
    146 	X_PC_CASE_PRESERVING                   = 12      // unistd.h:155:1:
    147 	X_PC_CASE_SENSITIVE                    = 11      // unistd.h:154:1:
    148 	X_PC_CHOWN_RESTRICTED                  = 7       // unistd.h:148:1:
    149 	X_PC_EXTENDED_SECURITY_NP              = 13      // unistd.h:156:1:
    150 	X_PC_FILESIZEBITS                      = 18      // unistd.h:163:1:
    151 	X_PC_LINK_MAX                          = 1       // unistd.h:142:1:
    152 	X_PC_MAX_CANON                         = 2       // unistd.h:143:1:
    153 	X_PC_MAX_INPUT                         = 3       // unistd.h:144:1:
    154 	X_PC_MIN_HOLE_SIZE                     = 27      // unistd.h:172:1:
    155 	X_PC_NAME_CHARS_MAX                    = 10      // unistd.h:153:1:
    156 	X_PC_NAME_MAX                          = 4       // unistd.h:145:1:
    157 	X_PC_NO_TRUNC                          = 8       // unistd.h:149:1:
    158 	X_PC_PATH_MAX                          = 5       // unistd.h:146:1:
    159 	X_PC_PIPE_BUF                          = 6       // unistd.h:147:1:
    160 	X_PC_PRIO_IO                           = 19      // unistd.h:164:1:
    161 	X_PC_REC_INCR_XFER_SIZE                = 20      // unistd.h:165:1:
    162 	X_PC_REC_MAX_XFER_SIZE                 = 21      // unistd.h:166:1:
    163 	X_PC_REC_MIN_XFER_SIZE                 = 22      // unistd.h:167:1:
    164 	X_PC_REC_XFER_ALIGN                    = 23      // unistd.h:168:1:
    165 	X_PC_SYMLINK_MAX                       = 24      // unistd.h:169:1:
    166 	X_PC_SYNC_IO                           = 25      // unistd.h:170:1:
    167 	X_PC_VDISABLE                          = 9       // unistd.h:150:1:
    168 	X_PC_XATTR_SIZE_BITS                   = 26      // unistd.h:171:1:
    169 	X_PID_T                                = 0       // _pid_t.h:29:1:
    170 	X_POSIX2_CHAR_TERM                     = 200112  // unistd.h:152:1:
    171 	X_POSIX2_C_BIND                        = 200112  // unistd.h:150:1:
    172 	X_POSIX2_C_DEV                         = 200112  // unistd.h:151:1:
    173 	X_POSIX2_FORT_DEV                      = -1      // unistd.h:153:1:
    174 	X_POSIX2_FORT_RUN                      = 200112  // unistd.h:154:1:
    175 	X_POSIX2_LOCALEDEF                     = 200112  // unistd.h:155:1:
    176 	X_POSIX2_PBS                           = -1      // unistd.h:156:1:
    177 	X_POSIX2_PBS_ACCOUNTING                = -1      // unistd.h:157:1:
    178 	X_POSIX2_PBS_CHECKPOINT                = -1      // unistd.h:158:1:
    179 	X_POSIX2_PBS_LOCATE                    = -1      // unistd.h:159:1:
    180 	X_POSIX2_PBS_MESSAGE                   = -1      // unistd.h:160:1:
    181 	X_POSIX2_PBS_TRACK                     = -1      // unistd.h:161:1:
    182 	X_POSIX2_SW_DEV                        = 200112  // unistd.h:162:1:
    183 	X_POSIX2_UPE                           = 200112  // unistd.h:163:1:
    184 	X_POSIX2_VERSION                       = 200112  // unistd.h:80:1:
    185 	X_POSIX_ADVISORY_INFO                  = -1      // unistd.h:98:1:
    186 	X_POSIX_ASYNCHRONOUS_IO                = -1      // unistd.h:99:1:
    187 	X_POSIX_BARRIERS                       = -1      // unistd.h:100:1:
    188 	X_POSIX_CHOWN_RESTRICTED               = 200112  // unistd.h:101:1:
    189 	X_POSIX_CLOCK_SELECTION                = -1      // unistd.h:102:1:
    190 	X_POSIX_CPUTIME                        = -1      // unistd.h:103:1:
    191 	X_POSIX_FSYNC                          = 200112  // unistd.h:104:1:
    192 	X_POSIX_IPV6                           = 200112  // unistd.h:105:1:
    193 	X_POSIX_JOB_CONTROL                    = 200112  // unistd.h:106:1:
    194 	X_POSIX_MAPPED_FILES                   = 200112  // unistd.h:107:1:
    195 	X_POSIX_MEMLOCK                        = -1      // unistd.h:108:1:
    196 	X_POSIX_MEMLOCK_RANGE                  = -1      // unistd.h:109:1:
    197 	X_POSIX_MEMORY_PROTECTION              = 200112  // unistd.h:110:1:
    198 	X_POSIX_MESSAGE_PASSING                = -1      // unistd.h:111:1:
    199 	X_POSIX_MONOTONIC_CLOCK                = -1      // unistd.h:112:1:
    200 	X_POSIX_NO_TRUNC                       = 200112  // unistd.h:113:1:
    201 	X_POSIX_PRIORITIZED_IO                 = -1      // unistd.h:114:1:
    202 	X_POSIX_PRIORITY_SCHEDULING            = -1      // unistd.h:115:1:
    203 	X_POSIX_RAW_SOCKETS                    = -1      // unistd.h:116:1:
    204 	X_POSIX_READER_WRITER_LOCKS            = 200112  // unistd.h:117:1:
    205 	X_POSIX_REALTIME_SIGNALS               = -1      // unistd.h:118:1:
    206 	X_POSIX_REGEXP                         = 200112  // unistd.h:119:1:
    207 	X_POSIX_SAVED_IDS                      = 200112  // unistd.h:120:1:
    208 	X_POSIX_SEMAPHORES                     = -1      // unistd.h:121:1:
    209 	X_POSIX_SHARED_MEMORY_OBJECTS          = -1      // unistd.h:122:1:
    210 	X_POSIX_SHELL                          = 200112  // unistd.h:123:1:
    211 	X_POSIX_SPAWN                          = -1      // unistd.h:124:1:
    212 	X_POSIX_SPIN_LOCKS                     = -1      // unistd.h:125:1:
    213 	X_POSIX_SPORADIC_SERVER                = -1      // unistd.h:126:1:
    214 	X_POSIX_SYNCHRONIZED_IO                = -1      // unistd.h:127:1:
    215 	X_POSIX_THREADS                        = 200112  // unistd.h:137:1:
    216 	X_POSIX_THREAD_ATTR_STACKADDR          = 200112  // unistd.h:128:1:
    217 	X_POSIX_THREAD_ATTR_STACKSIZE          = 200112  // unistd.h:129:1:
    218 	X_POSIX_THREAD_CPUTIME                 = -1      // unistd.h:130:1:
    219 	X_POSIX_THREAD_KEYS_MAX                = 128     // unistd.h:86:1:
    220 	X_POSIX_THREAD_PRIORITY_SCHEDULING     = -1      // unistd.h:133:1:
    221 	X_POSIX_THREAD_PRIO_INHERIT            = -1      // unistd.h:131:1:
    222 	X_POSIX_THREAD_PRIO_PROTECT            = -1      // unistd.h:132:1:
    223 	X_POSIX_THREAD_PROCESS_SHARED          = 200112  // unistd.h:134:1:
    224 	X_POSIX_THREAD_SAFE_FUNCTIONS          = 200112  // unistd.h:135:1:
    225 	X_POSIX_THREAD_SPORADIC_SERVER         = -1      // unistd.h:136:1:
    226 	X_POSIX_TIMEOUTS                       = -1      // unistd.h:138:1:
    227 	X_POSIX_TIMERS                         = -1      // unistd.h:139:1:
    228 	X_POSIX_TRACE                          = -1      // unistd.h:140:1:
    229 	X_POSIX_TRACE_EVENT_FILTER             = -1      // unistd.h:141:1:
    230 	X_POSIX_TRACE_INHERIT                  = -1      // unistd.h:142:1:
    231 	X_POSIX_TRACE_LOG                      = -1      // unistd.h:143:1:
    232 	X_POSIX_TYPED_MEMORY_OBJECTS           = -1      // unistd.h:144:1:
    233 	X_POSIX_V6_ILP32_OFF32                 = -1      // unistd.h:173:1:
    234 	X_POSIX_V6_ILP32_OFFBIG                = -1      // unistd.h:174:1:
    235 	X_POSIX_V6_LP64_OFF64                  = 1       // unistd.h:175:1:
    236 	X_POSIX_V6_LPBIG_OFFBIG                = 1       // unistd.h:176:1:
    237 	X_POSIX_V7_ILP32_OFF32                 = -1      // unistd.h:180:1:
    238 	X_POSIX_V7_ILP32_OFFBIG                = -1      // unistd.h:181:1:
    239 	X_POSIX_V7_LP64_OFF64                  = 1       // unistd.h:182:1:
    240 	X_POSIX_V7_LPBIG_OFFBIG                = 1       // unistd.h:183:1:
    241 	X_POSIX_VERSION                        = 200112  // unistd.h:79:1:
    242 	X_RATTR_OK                             = 32768   // unistd.h:106:1:
    243 	X_READ_OK                              = 512     // unistd.h:100:1:
    244 	X_REXT_OK                              = 131072  // unistd.h:108:1:
    245 	X_RMFILE_OK                            = 16384   // unistd.h:105:1:
    246 	X_RPERM_OK                             = 524288  // unistd.h:110:1:
    247 	X_SC_2_CHAR_TERM                       = 20      // unistd.h:232:1:
    248 	X_SC_2_C_BIND                          = 18      // unistd.h:230:1:
    249 	X_SC_2_C_DEV                           = 19      // unistd.h:231:1:
    250 	X_SC_2_FORT_DEV                        = 21      // unistd.h:233:1:
    251 	X_SC_2_FORT_RUN                        = 22      // unistd.h:234:1:
    252 	X_SC_2_LOCALEDEF                       = 23      // unistd.h:235:1:
    253 	X_SC_2_PBS                             = 59      // unistd.h:275:1:
    254 	X_SC_2_PBS_ACCOUNTING                  = 60      // unistd.h:276:1:
    255 	X_SC_2_PBS_CHECKPOINT                  = 61      // unistd.h:277:1:
    256 	X_SC_2_PBS_LOCATE                      = 62      // unistd.h:278:1:
    257 	X_SC_2_PBS_MESSAGE                     = 63      // unistd.h:279:1:
    258 	X_SC_2_PBS_TRACK                       = 64      // unistd.h:280:1:
    259 	X_SC_2_SW_DEV                          = 24      // unistd.h:236:1:
    260 	X_SC_2_UPE                             = 25      // unistd.h:237:1:
    261 	X_SC_2_VERSION                         = 17      // unistd.h:229:1:
    262 	X_SC_ADVISORY_INFO                     = 65      // unistd.h:281:1:
    263 	X_SC_AIO_LISTIO_MAX                    = 42      // unistd.h:256:1:
    264 	X_SC_AIO_MAX                           = 43      // unistd.h:257:1:
    265 	X_SC_AIO_PRIO_DELTA_MAX                = 44      // unistd.h:258:1:
    266 	X_SC_ARG_MAX                           = 1       // unistd.h:213:1:
    267 	X_SC_ASYNCHRONOUS_IO                   = 28      // unistd.h:242:1:
    268 	X_SC_ATEXIT_MAX                        = 107     // unistd.h:329:1:
    269 	X_SC_BARRIERS                          = 66      // unistd.h:282:1:
    270 	X_SC_BC_BASE_MAX                       = 9       // unistd.h:221:1:
    271 	X_SC_BC_DIM_MAX                        = 10      // unistd.h:222:1:
    272 	X_SC_BC_SCALE_MAX                      = 11      // unistd.h:223:1:
    273 	X_SC_BC_STRING_MAX                     = 12      // unistd.h:224:1:
    274 	X_SC_CHILD_MAX                         = 2       // unistd.h:214:1:
    275 	X_SC_CLK_TCK                           = 3       // unistd.h:215:1:
    276 	X_SC_CLOCK_SELECTION                   = 67      // unistd.h:283:1:
    277 	X_SC_COLL_WEIGHTS_MAX                  = 13      // unistd.h:225:1:
    278 	X_SC_CPUTIME                           = 68      // unistd.h:284:1:
    279 	X_SC_DELAYTIMER_MAX                    = 45      // unistd.h:259:1:
    280 	X_SC_EXPR_NEST_MAX                     = 14      // unistd.h:226:1:
    281 	X_SC_FILE_LOCKING                      = 69      // unistd.h:285:1:
    282 	X_SC_FSYNC                             = 38      // unistd.h:252:1:
    283 	X_SC_GETGR_R_SIZE_MAX                  = 70      // unistd.h:286:1:
    284 	X_SC_GETPW_R_SIZE_MAX                  = 71      // unistd.h:287:1:
    285 	X_SC_HOST_NAME_MAX                     = 72      // unistd.h:288:1:
    286 	X_SC_IOV_MAX                           = 56      // unistd.h:330:1:
    287 	X_SC_IPV6                              = 118     // unistd.h:323:1:
    288 	X_SC_JOB_CONTROL                       = 6       // unistd.h:218:1:
    289 	X_SC_LINE_MAX                          = 15      // unistd.h:227:1:
    290 	X_SC_LOGIN_NAME_MAX                    = 73      // unistd.h:289:1:
    291 	X_SC_MAPPED_FILES                      = 47      // unistd.h:261:1:
    292 	X_SC_MEMLOCK                           = 30      // unistd.h:244:1:
    293 	X_SC_MEMLOCK_RANGE                     = 31      // unistd.h:245:1:
    294 	X_SC_MEMORY_PROTECTION                 = 32      // unistd.h:246:1:
    295 	X_SC_MESSAGE_PASSING                   = 33      // unistd.h:247:1:
    296 	X_SC_MONOTONIC_CLOCK                   = 74      // unistd.h:290:1:
    297 	X_SC_MQ_OPEN_MAX                       = 46      // unistd.h:260:1:
    298 	X_SC_MQ_PRIO_MAX                       = 75      // unistd.h:291:1:
    299 	X_SC_NGROUPS_MAX                       = 4       // unistd.h:216:1:
    300 	X_SC_NPROCESSORS_CONF                  = 57      // unistd.h:270:1:
    301 	X_SC_NPROCESSORS_ONLN                  = 58      // unistd.h:271:1:
    302 	X_SC_OPEN_MAX                          = 5       // unistd.h:217:1:
    303 	X_SC_PAGESIZE                          = 29      // unistd.h:243:1:
    304 	X_SC_PAGE_SIZE                         = 29      // unistd.h:331:1:
    305 	X_SC_PASS_MAX                          = 131     // unistd.h:362:1:
    306 	X_SC_PHYS_PAGES                        = 200     // unistd.h:367:1:
    307 	X_SC_PRIORITIZED_IO                    = 34      // unistd.h:248:1:
    308 	X_SC_PRIORITY_SCHEDULING               = 35      // unistd.h:249:1:
    309 	X_SC_RAW_SOCKETS                       = 119     // unistd.h:324:1:
    310 	X_SC_READER_WRITER_LOCKS               = 76      // unistd.h:292:1:
    311 	X_SC_REALTIME_SIGNALS                  = 36      // unistd.h:250:1:
    312 	X_SC_REGEXP                            = 77      // unistd.h:293:1:
    313 	X_SC_RE_DUP_MAX                        = 16      // unistd.h:228:1:
    314 	X_SC_RTSIG_MAX                         = 48      // unistd.h:262:1:
    315 	X_SC_SAVED_IDS                         = 7       // unistd.h:219:1:
    316 	X_SC_SEMAPHORES                        = 37      // unistd.h:251:1:
    317 	X_SC_SEM_NSEMS_MAX                     = 49      // unistd.h:263:1:
    318 	X_SC_SEM_VALUE_MAX                     = 50      // unistd.h:264:1:
    319 	X_SC_SHARED_MEMORY_OBJECTS             = 39      // unistd.h:253:1:
    320 	X_SC_SHELL                             = 78      // unistd.h:294:1:
    321 	X_SC_SIGQUEUE_MAX                      = 51      // unistd.h:265:1:
    322 	X_SC_SPAWN                             = 79      // unistd.h:295:1:
    323 	X_SC_SPIN_LOCKS                        = 80      // unistd.h:296:1:
    324 	X_SC_SPORADIC_SERVER                   = 81      // unistd.h:297:1:
    325 	X_SC_SS_REPL_MAX                       = 126     // unistd.h:353:1:
    326 	X_SC_STREAM_MAX                        = 26      // unistd.h:238:1:
    327 	X_SC_SYMLOOP_MAX                       = 120     // unistd.h:325:1:
    328 	X_SC_SYNCHRONIZED_IO                   = 40      // unistd.h:254:1:
    329 	X_SC_THREADS                           = 96      // unistd.h:312:1:
    330 	X_SC_THREAD_ATTR_STACKADDR             = 82      // unistd.h:298:1:
    331 	X_SC_THREAD_ATTR_STACKSIZE             = 83      // unistd.h:299:1:
    332 	X_SC_THREAD_CPUTIME                    = 84      // unistd.h:300:1:
    333 	X_SC_THREAD_DESTRUCTOR_ITERATIONS      = 85      // unistd.h:301:1:
    334 	X_SC_THREAD_KEYS_MAX                   = 86      // unistd.h:302:1:
    335 	X_SC_THREAD_PRIORITY_SCHEDULING        = 89      // unistd.h:305:1:
    336 	X_SC_THREAD_PRIO_INHERIT               = 87      // unistd.h:303:1:
    337 	X_SC_THREAD_PRIO_PROTECT               = 88      // unistd.h:304:1:
    338 	X_SC_THREAD_PROCESS_SHARED             = 90      // unistd.h:306:1:
    339 	X_SC_THREAD_SAFE_FUNCTIONS             = 91      // unistd.h:307:1:
    340 	X_SC_THREAD_SPORADIC_SERVER            = 92      // unistd.h:308:1:
    341 	X_SC_THREAD_STACK_MIN                  = 93      // unistd.h:309:1:
    342 	X_SC_THREAD_THREADS_MAX                = 94      // unistd.h:310:1:
    343 	X_SC_TIMEOUTS                          = 95      // unistd.h:311:1:
    344 	X_SC_TIMERS                            = 41      // unistd.h:255:1:
    345 	X_SC_TIMER_MAX                         = 52      // unistd.h:266:1:
    346 	X_SC_TRACE                             = 97      // unistd.h:313:1:
    347 	X_SC_TRACE_EVENT_FILTER                = 98      // unistd.h:314:1:
    348 	X_SC_TRACE_EVENT_NAME_MAX              = 127     // unistd.h:354:1:
    349 	X_SC_TRACE_INHERIT                     = 99      // unistd.h:315:1:
    350 	X_SC_TRACE_LOG                         = 100     // unistd.h:316:1:
    351 	X_SC_TRACE_NAME_MAX                    = 128     // unistd.h:355:1:
    352 	X_SC_TRACE_SYS_MAX                     = 129     // unistd.h:356:1:
    353 	X_SC_TRACE_USER_EVENT_MAX              = 130     // unistd.h:357:1:
    354 	X_SC_TTY_NAME_MAX                      = 101     // unistd.h:317:1:
    355 	X_SC_TYPED_MEMORY_OBJECTS              = 102     // unistd.h:318:1:
    356 	X_SC_TZNAME_MAX                        = 27      // unistd.h:239:1:
    357 	X_SC_V6_ILP32_OFF32                    = 103     // unistd.h:319:1:
    358 	X_SC_V6_ILP32_OFFBIG                   = 104     // unistd.h:320:1:
    359 	X_SC_V6_LP64_OFF64                     = 105     // unistd.h:321:1:
    360 	X_SC_V6_LPBIG_OFFBIG                   = 106     // unistd.h:322:1:
    361 	X_SC_VERSION                           = 8       // unistd.h:220:1:
    362 	X_SC_XBS5_ILP32_OFF32                  = 122     // unistd.h:346:1:
    363 	X_SC_XBS5_ILP32_OFFBIG                 = 123     // unistd.h:347:1:
    364 	X_SC_XBS5_LP64_OFF64                   = 124     // unistd.h:348:1:
    365 	X_SC_XBS5_LPBIG_OFFBIG                 = 125     // unistd.h:349:1:
    366 	X_SC_XOPEN_CRYPT                       = 108     // unistd.h:332:1:
    367 	X_SC_XOPEN_ENH_I18N                    = 109     // unistd.h:333:1:
    368 	X_SC_XOPEN_LEGACY                      = 110     // unistd.h:334:1:
    369 	X_SC_XOPEN_REALTIME                    = 111     // unistd.h:335:1:
    370 	X_SC_XOPEN_REALTIME_THREADS            = 112     // unistd.h:336:1:
    371 	X_SC_XOPEN_SHM                         = 113     // unistd.h:337:1:
    372 	X_SC_XOPEN_STREAMS                     = 114     // unistd.h:338:1:
    373 	X_SC_XOPEN_UNIX                        = 115     // unistd.h:339:1:
    374 	X_SC_XOPEN_VERSION                     = 116     // unistd.h:340:1:
    375 	X_SC_XOPEN_XCU_VERSION                 = 121     // unistd.h:341:1:
    376 	X_SIGSET_T                             = 0       // _sigset_t.h:29:1:
    377 	X_SIZE_T                               = 0       // _size_t.h:29:1:
    378 	X_SSIZE_T                              = 0       // _ssize_t.h:29:1:
    379 	X_SUSECONDS_T                          = 0       // _suseconds_t.h:29:1:
    380 	X_SYS_SELECT_H_                        = 0       // select.h:64:1:
    381 	X_SYS_UNISTD_H_                        = 0       // unistd.h:65:1:
    382 	X_SYS__PTHREAD_TYPES_H_                = 0       // _pthread_types.h:30:1:
    383 	X_SYS__SELECT_H_                       = 0       // _select.h:37:1:
    384 	X_SYS__TYPES_H_                        = 0       // _types.h:30:1:
    385 	X_TIME_T                               = 0       // _time_t.h:29:1:
    386 	X_UID_T                                = 0       // _uid_t.h:29:1:
    387 	X_UINT32_T                             = 0       // _uint32_t.h:30:1:
    388 	X_UINT64_T                             = 0       // _uint64_t.h:30:1:
    389 	X_UINTPTR_T                            = 0       // _uintptr_t.h:29:1:
    390 	X_UNISTD_H_                            = 0       // unistd.h:69:1:
    391 	X_USECONDS_T                           = 0       // _useconds_t.h:29:1:
    392 	X_UUID_T                               = 0       // _uuid_t.h:29:1:
    393 	X_U_INT16_T                            = 0       // _u_int16_t.h:29:1:
    394 	X_U_INT32_T                            = 0       // _u_int32_t.h:29:1:
    395 	X_U_INT64_T                            = 0       // _u_int64_t.h:29:1:
    396 	X_U_INT8_T                             = 0       // _u_int8_t.h:29:1:
    397 	X_V6_ILP32_OFF32                       = -1      // unistd.h:187:1:
    398 	X_V6_ILP32_OFFBIG                      = -1      // unistd.h:188:1:
    399 	X_V6_LP64_OFF64                        = 1       // unistd.h:189:1:
    400 	X_V6_LPBIG_OFFBIG                      = 1       // unistd.h:190:1:
    401 	X_WATTR_OK                             = 65536   // unistd.h:107:1:
    402 	X_WEXT_OK                              = 262144  // unistd.h:109:1:
    403 	X_WPERM_OK                             = 1048576 // unistd.h:111:1:
    404 	X_WRITE_OK                             = 1024    // unistd.h:101:1:
    405 	X_XBS5_ILP32_OFF32                     = -1      // unistd.h:195:1:
    406 	X_XBS5_ILP32_OFFBIG                    = -1      // unistd.h:196:1:
    407 	X_XBS5_LP64_OFF64                      = 1       // unistd.h:197:1:
    408 	X_XBS5_LPBIG_OFFBIG                    = 1       // unistd.h:198:1:
    409 	X_XOPEN_CRYPT                          = 1       // unistd.h:202:1:
    410 	X_XOPEN_ENH_I18N                       = 1       // unistd.h:203:1:
    411 	X_XOPEN_LEGACY                         = -1      // unistd.h:204:1:
    412 	X_XOPEN_REALTIME                       = -1      // unistd.h:205:1:
    413 	X_XOPEN_REALTIME_THREADS               = -1      // unistd.h:206:1:
    414 	X_XOPEN_SHM                            = 1       // unistd.h:207:1:
    415 	X_XOPEN_STREAMS                        = -1      // unistd.h:208:1:
    416 	X_XOPEN_UNIX                           = 1       // unistd.h:209:1:
    417 	X_XOPEN_VERSION                        = 600     // unistd.h:93:1:
    418 	X_XOPEN_XCU_VERSION                    = 4       // unistd.h:94:1:
    419 )
    420 
    421 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    422 
    423 type Size_t = uint64 /* <builtin>:9:23 */
    424 
    425 type Wchar_t = int32 /* <builtin>:15:24 */
    426 
    427 type X__int128_t = struct {
    428 	Flo int64
    429 	Fhi int64
    430 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    431 type X__uint128_t = struct {
    432 	Flo uint64
    433 	Fhi uint64
    434 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    435 
    436 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    437 type X__float128 = float64        /* <builtin>:47:21 */
    438 
    439 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
    440 
    441 // Copyright (c) 2000, 2002-2006, 2008-2010, 2012 Apple Inc. All rights reserved.
    442 //
    443 // @APPLE_LICENSE_HEADER_START@
    444 //
    445 // This file contains Original Code and/or Modifications of Original Code
    446 // as defined in and that are subject to the Apple Public Source License
    447 // Version 2.0 (the 'License'). You may not use this file except in
    448 // compliance with the License. Please obtain a copy of the License at
    449 // http://www.opensource.apple.com/apsl/ and read it before using this
    450 // file.
    451 //
    452 // The Original Code and all software distributed under the License are
    453 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    454 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    455 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    456 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    457 // Please see the License for the specific language governing rights and
    458 // limitations under the License.
    459 //
    460 // @APPLE_LICENSE_HEADER_END@
    461 // -
    462 // Copyright (c) 1998-1999 Apple Computer, Inc. All Rights Reserved
    463 // Copyright (c) 1991, 1993, 1994
    464 //	The Regents of the University of California.  All rights reserved.
    465 //
    466 // Redistribution and use in source and binary forms, with or without
    467 // modification, are permitted provided that the following conditions
    468 // are met:
    469 // 1. Redistributions of source code must retain the above copyright
    470 //    notice, this list of conditions and the following disclaimer.
    471 // 2. Redistributions in binary form must reproduce the above copyright
    472 //    notice, this list of conditions and the following disclaimer in the
    473 //    documentation and/or other materials provided with the distribution.
    474 // 3. All advertising materials mentioning features or use of this software
    475 //    must display the following acknowledgement:
    476 //	This product includes software developed by the University of
    477 //	California, Berkeley and its contributors.
    478 // 4. Neither the name of the University nor the names of its contributors
    479 //    may be used to endorse or promote products derived from this software
    480 //    without specific prior written permission.
    481 //
    482 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    483 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    484 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    485 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    486 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    487 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    488 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    489 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    490 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    491 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    492 // SUCH DAMAGE.
    493 //
    494 //	@(#)unistd.h	8.12 (Berkeley) 4/27/95
    495 //
    496 //  Copyright (c)  1998 Apple Compter, Inc.
    497 //  All Rights Reserved
    498 
    499 // History:
    500 //         7/14/99 EKN at Apple fixed getdirentriesattr from getdirentryattr
    501 //         3/26/98 CHW at Apple added real interface to searchfs call
    502 //   	3/5/98  CHW at Apple added hfs semantic system calls headers
    503 
    504 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
    505 //
    506 // @APPLE_LICENSE_HEADER_START@
    507 //
    508 // This file contains Original Code and/or Modifications of Original Code
    509 // as defined in and that are subject to the Apple Public Source License
    510 // Version 2.0 (the 'License'). You may not use this file except in
    511 // compliance with the License. Please obtain a copy of the License at
    512 // http://www.opensource.apple.com/apsl/ and read it before using this
    513 // file.
    514 //
    515 // The Original Code and all software distributed under the License are
    516 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    517 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    518 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    519 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    520 // Please see the License for the specific language governing rights and
    521 // limitations under the License.
    522 //
    523 // @APPLE_LICENSE_HEADER_END@
    524 
    525 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    526 //
    527 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    528 //
    529 // This file contains Original Code and/or Modifications of Original Code
    530 // as defined in and that are subject to the Apple Public Source License
    531 // Version 2.0 (the 'License'). You may not use this file except in
    532 // compliance with the License. The rights granted to you under the License
    533 // may not be used to create, or enable the creation or redistribution of,
    534 // unlawful or unlicensed copies of an Apple operating system, or to
    535 // circumvent, violate, or enable the circumvention or violation of, any
    536 // terms of an Apple operating system software license agreement.
    537 //
    538 // Please obtain a copy of the License at
    539 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    540 //
    541 // The Original Code and all software distributed under the License are
    542 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    543 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    544 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    545 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    546 // Please see the License for the specific language governing rights and
    547 // limitations under the License.
    548 //
    549 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    550 
    551 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    552 //
    553 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    554 //
    555 // This file contains Original Code and/or Modifications of Original Code
    556 // as defined in and that are subject to the Apple Public Source License
    557 // Version 2.0 (the 'License'). You may not use this file except in
    558 // compliance with the License. The rights granted to you under the License
    559 // may not be used to create, or enable the creation or redistribution of,
    560 // unlawful or unlicensed copies of an Apple operating system, or to
    561 // circumvent, violate, or enable the circumvention or violation of, any
    562 // terms of an Apple operating system software license agreement.
    563 //
    564 // Please obtain a copy of the License at
    565 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    566 //
    567 // The Original Code and all software distributed under the License are
    568 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    569 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    570 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    571 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    572 // Please see the License for the specific language governing rights and
    573 // limitations under the License.
    574 //
    575 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    576 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    577 // Copyright (c) 1991, 1993
    578 //	The Regents of the University of California.  All rights reserved.
    579 //
    580 // This code is derived from software contributed to Berkeley by
    581 // Berkeley Software Design, Inc.
    582 //
    583 // Redistribution and use in source and binary forms, with or without
    584 // modification, are permitted provided that the following conditions
    585 // are met:
    586 // 1. Redistributions of source code must retain the above copyright
    587 //    notice, this list of conditions and the following disclaimer.
    588 // 2. Redistributions in binary form must reproduce the above copyright
    589 //    notice, this list of conditions and the following disclaimer in the
    590 //    documentation and/or other materials provided with the distribution.
    591 // 3. All advertising materials mentioning features or use of this software
    592 //    must display the following acknowledgement:
    593 //	This product includes software developed by the University of
    594 //	California, Berkeley and its contributors.
    595 // 4. Neither the name of the University nor the names of its contributors
    596 //    may be used to endorse or promote products derived from this software
    597 //    without specific prior written permission.
    598 //
    599 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    600 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    601 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    602 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    603 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    604 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    605 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    606 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    607 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    608 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    609 // SUCH DAMAGE.
    610 //
    611 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    612 
    613 // This SDK is designed to work with clang and specific versions of
    614 // gcc >= 4.0 with Apple's patch sets
    615 
    616 // Compatibility with compilers and environments that don't support compiler
    617 // feature checking function-like macros.
    618 
    619 // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
    620 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
    621 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
    622 // in between its arguments.  __CONCAT can also concatenate double-quoted
    623 // strings produced by the __STRING macro, but this only works with ANSI C.
    624 
    625 // In non-ANSI C environments, new programs will want ANSI-only C keywords
    626 // deleted from the program and old programs will want them left alone.
    627 // When using a compiler other than gcc, programs using the ANSI C keywords
    628 // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
    629 // When using "gcc -traditional", we assume that this is the intent; if
    630 // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
    631 
    632 // __pure2 can be used for functions that are only a function of their scalar
    633 // arguments (meaning they can't dereference pointers).
    634 //
    635 // __stateful_pure can be used for functions that have no side effects,
    636 // but depend on the state of the memory.
    637 
    638 // __unused denotes variables and functions that may not be used, preventing
    639 // the compiler from warning about it if not used.
    640 
    641 // __used forces variables and functions to be included even if it appears
    642 // to the compiler that they are not used (and would thust be discarded).
    643 
    644 // __cold marks code used for debugging or that is rarely taken
    645 // and tells the compiler to optimize for size and outline code.
    646 
    647 // __exported denotes symbols that should be exported even when symbols
    648 // are hidden by default.
    649 // __exported_push/_exported_pop are pragmas used to delimit a range of
    650 //  symbols that should be exported even when symbols are hidden by default.
    651 
    652 // __deprecated causes the compiler to produce a warning when encountering
    653 // code using the deprecated functionality.
    654 // __deprecated_msg() does the same, and compilers that support it will print
    655 // a message along with the deprecation warning.
    656 // This may require turning on such warning with the -Wdeprecated flag.
    657 // __deprecated_enum_msg() should be used on enums, and compilers that support
    658 // it will print the deprecation warning.
    659 // __kpi_deprecated() specifically indicates deprecation of kernel programming
    660 // interfaces in Kernel.framework used by KEXTs.
    661 
    662 // __unavailable causes the compiler to error out when encountering
    663 // code using the tagged function
    664 
    665 // Delete pseudo-keywords wherever they are not available or needed.
    666 
    667 // We use `__restrict' as a way to define the `restrict' type qualifier
    668 // without disturbing older software that is unaware of C99 keywords.
    669 
    670 // Compatibility with compilers and environments that don't support the
    671 // nullability feature.
    672 
    673 // __disable_tail_calls causes the compiler to not perform tail call
    674 // optimization inside the marked function.
    675 
    676 // __not_tail_called causes the compiler to prevent tail call optimization
    677 // on statically bound calls to the function.  It has no effect on indirect
    678 // calls.  Virtual functions, objective-c methods, and functions marked as
    679 // "always_inline" cannot be marked as __not_tail_called.
    680 
    681 // __result_use_check warns callers of a function that not using the function
    682 // return value is a bug, i.e. dismissing malloc() return value results in a
    683 // memory leak.
    684 
    685 // __swift_unavailable causes the compiler to mark a symbol as specifically
    686 // unavailable in Swift, regardless of any other availability in C.
    687 
    688 // __abortlike is the attribute to put on functions like abort() that are
    689 // typically used to mark assertions. These optimize the codegen
    690 // for outlining while still maintaining debugability.
    691 
    692 // Declaring inline functions within headers is error-prone due to differences
    693 // across various versions of the C language and extensions.  __header_inline
    694 // can be used to declare inline functions within system headers.  In cases
    695 // where you want to force inlining instead of letting the compiler make
    696 // the decision, you can use __header_always_inline.
    697 //
    698 // Be aware that using inline for functions which compilers may also provide
    699 // builtins can behave differently under various compilers.  If you intend to
    700 // provide an inline version of such a function, you may want to use a macro
    701 // instead.
    702 //
    703 // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
    704 // support c99 inline in some cases:
    705 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
    706 
    707 // Compiler-dependent macros that bracket portions of code where the
    708 // "-Wunreachable-code" warning should be ignored. Please use sparingly.
    709 
    710 // Compiler-dependent macros to declare that functions take printf-like
    711 // or scanf-like arguments.  They are null except for versions of gcc
    712 // that are known to support the features properly.  Functions declared
    713 // with these attributes will cause compilation warnings if there is a
    714 // mismatch between the format string and subsequent function parameter
    715 // types.
    716 
    717 // Source compatibility only, ID string not emitted in object file
    718 
    719 // __alloc_size can be used to label function arguments that represent the
    720 // size of memory that the function allocates and returns. The one-argument
    721 // form labels a single argument that gives the allocation size (where the
    722 // arguments are numbered from 1):
    723 //
    724 // void	*malloc(size_t __size) __alloc_size(1);
    725 //
    726 // The two-argument form handles the case where the size is calculated as the
    727 // product of two arguments:
    728 //
    729 // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
    730 
    731 // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
    732 //
    733 // DEFAULT	By default newly complied code will get POSIX APIs plus
    734 //		Apple API extensions in scope.
    735 //
    736 //		Most users will use this compilation environment to avoid
    737 //		behavioral differences between 32 and 64 bit code.
    738 //
    739 // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
    740 //		API extensions in scope.
    741 //
    742 //		This is generally equivalent to the Tiger release compilation
    743 //		environment, except that it cannot be applied to 64 bit code;
    744 //		its use is discouraged.
    745 //
    746 //		We expect this environment to be deprecated in the future.
    747 //
    748 // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
    749 //		available APIs to exactly the set of APIs defined by the
    750 //		corresponding standard, based on the value defined.
    751 //
    752 //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
    753 //		A correct, portable definition for _XOPEN_SOURCE is 600L.
    754 //
    755 //		Apple API extensions are not visible in this environment,
    756 //		which can cause Apple specific code to fail to compile,
    757 //		or behave incorrectly if prototypes are not in scope or
    758 //		warnings about missing prototypes are not enabled or ignored.
    759 //
    760 // In any compilation environment, for correct symbol resolution to occur,
    761 // function prototypes must be in scope.  It is recommended that all Apple
    762 // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
    763 // compiler flags to their projects to be warned when a function is being
    764 // used without a prototype in scope.
    765 
    766 // These settings are particular to each product.
    767 // Platform: MacOSX
    768 
    769 // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
    770 // legacy code to use the old symbol, thus maintaining binary compatibility
    771 // while new code can use a standards compliant version of the same function.
    772 //
    773 // __DARWIN_ALIAS is used by itself if the function signature has not
    774 // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
    775 // if the signature has changed.  Because the __LP64__ environment
    776 // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
    777 // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
    778 //
    779 // As a special case, when XCode is used to target a specific version of the
    780 // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
    781 // will be defined by the compiler, with the digits representing major version
    782 // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
    783 // pre-10.5, and it is the default compilation environment, revert the
    784 // compilation environment to pre-__DARWIN_UNIX03.
    785 
    786 // symbol suffixes used for symbol versioning
    787 
    788 // symbol versioning macros
    789 
    790 // symbol release macros
    791 // Copyright (c) 2010 Apple Inc. All rights reserved.
    792 //
    793 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    794 //
    795 // This file contains Original Code and/or Modifications of Original Code
    796 // as defined in and that are subject to the Apple Public Source License
    797 // Version 2.0 (the 'License'). You may not use this file except in
    798 // compliance with the License. The rights granted to you under the License
    799 // may not be used to create, or enable the creation or redistribution of,
    800 // unlawful or unlicensed copies of an Apple operating system, or to
    801 // circumvent, violate, or enable the circumvention or violation of, any
    802 // terms of an Apple operating system software license agreement.
    803 //
    804 // Please obtain a copy of the License at
    805 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    806 //
    807 // The Original Code and all software distributed under the License are
    808 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    809 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    810 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    811 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    812 // Please see the License for the specific language governing rights and
    813 // limitations under the License.
    814 //
    815 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    816 
    817 // POSIX.1 requires that the macros we test be defined before any standard
    818 // header file is included.  This permits us to convert values for feature
    819 // testing, as necessary, using only _POSIX_C_SOURCE.
    820 //
    821 // Here's a quick run-down of the versions:
    822 //  defined(_POSIX_SOURCE)		1003.1-1988
    823 //  _POSIX_C_SOURCE == 1L		1003.1-1990
    824 //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
    825 //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
    826 //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
    827 //					and the omnibus ISO/IEC 9945-1: 1996
    828 //  _POSIX_C_SOURCE == 200112L		1003.1-2001
    829 //  _POSIX_C_SOURCE == 200809L		1003.1-2008
    830 //
    831 // In addition, the X/Open Portability Guide, which is now the Single UNIX
    832 // Specification, defines a feature-test macro which indicates the version of
    833 // that specification, and which subsumes _POSIX_C_SOURCE.
    834 
    835 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
    836 
    837 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
    838 
    839 // Deal with various X/Open Portability Guides and Single UNIX Spec.
    840 
    841 // Deal with all versions of POSIX.  The ordering relative to the tests above is
    842 // important.
    843 
    844 // POSIX C deprecation macros
    845 // Copyright (c) 2010 Apple Inc. All rights reserved.
    846 //
    847 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    848 //
    849 // This file contains Original Code and/or Modifications of Original Code
    850 // as defined in and that are subject to the Apple Public Source License
    851 // Version 2.0 (the 'License'). You may not use this file except in
    852 // compliance with the License. The rights granted to you under the License
    853 // may not be used to create, or enable the creation or redistribution of,
    854 // unlawful or unlicensed copies of an Apple operating system, or to
    855 // circumvent, violate, or enable the circumvention or violation of, any
    856 // terms of an Apple operating system software license agreement.
    857 //
    858 // Please obtain a copy of the License at
    859 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    860 //
    861 // The Original Code and all software distributed under the License are
    862 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    863 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    864 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    865 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    866 // Please see the License for the specific language governing rights and
    867 // limitations under the License.
    868 //
    869 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    870 
    871 // Set a single macro which will always be defined and can be used to determine
    872 // the appropriate namespace.  For POSIX, these values will correspond to
    873 // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
    874 // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
    875 
    876 // If the developer has neither requested a strict language mode nor a version
    877 // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
    878 // of __DARWIN_C_FULL.
    879 
    880 // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
    881 // c99 still want long longs.  While not perfect, we allow long longs for
    882 // g++.
    883 
    884 // ****************************************
    885 //
    886 //  Public darwin-specific feature macros
    887 //
    888 
    889 // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
    890 // structures modified for 64-bit inodes (like struct stat) will be used.
    891 
    892 // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
    893 // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
    894 // (and non-zero).  There is no struct stat64 either, as the regular
    895 // struct stat will already be the 64-bit version.
    896 
    897 // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
    898 // in 10.5 exists; no pre-10.5 variants are available.
    899 
    900 // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
    901 // are available (the legacy BSD APIs are not available)
    902 
    903 // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
    904 // and specifies the conformance level (3 is SUSv3)
    905 
    906 // This macro casts away the qualifier from the variable
    907 //
    908 // Note: use at your own risk, removing qualifiers can result in
    909 // catastrophic run-time failures.
    910 
    911 // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
    912 // used from other compilation units, but not other libraries or executables.
    913 
    914 // We intentionally define to nothing pointer attributes which do not have an
    915 // impact on the ABI. __indexable and __bidi_indexable are not defined because
    916 // of the ABI incompatibility that makes the diagnostic preferable.
    917 
    918 // Similarly, we intentionally define to nothing the
    919 // __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
    920 // macros because they do not lead to an ABI incompatibility. However, we do not
    921 // define the indexable and unsafe_indexable ones because the diagnostic is
    922 // better than the silent ABI break.
    923 
    924 // __unsafe_forge intrinsics are defined as regular C casts.
    925 
    926 // decay operates normally; attribute is meaningless without pointer checks.
    927 
    928 // Architecture validation for current SDK
    929 
    930 // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
    931 //
    932 // This provides more advanced type checking on compilers supporting
    933 // the proper extensions, even in C.
    934 
    935 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    936 //
    937 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    938 //
    939 // This file contains Original Code and/or Modifications of Original Code
    940 // as defined in and that are subject to the Apple Public Source License
    941 // Version 2.0 (the 'License'). You may not use this file except in
    942 // compliance with the License. The rights granted to you under the License
    943 // may not be used to create, or enable the creation or redistribution of,
    944 // unlawful or unlicensed copies of an Apple operating system, or to
    945 // circumvent, violate, or enable the circumvention or violation of, any
    946 // terms of an Apple operating system software license agreement.
    947 //
    948 // Please obtain a copy of the License at
    949 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    950 //
    951 // The Original Code and all software distributed under the License are
    952 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    953 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    954 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    955 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    956 // Please see the License for the specific language governing rights and
    957 // limitations under the License.
    958 //
    959 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    960 
    961 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
    962 
    963 // This header file contains integer types.  It's intended to also contain
    964 // flotaing point and other arithmetic types, as needed, later.
    965 
    966 type X__int8_t = int8     /* _types.h:15:33 */
    967 type X__uint8_t = uint8   /* _types.h:19:33 */
    968 type X__int16_t = int16   /* _types.h:20:33 */
    969 type X__uint16_t = uint16 /* _types.h:21:33 */
    970 type X__int32_t = int32   /* _types.h:22:33 */
    971 type X__uint32_t = uint32 /* _types.h:23:33 */
    972 type X__int64_t = int64   /* _types.h:24:33 */
    973 type X__uint64_t = uint64 /* _types.h:25:33 */
    974 
    975 type X__darwin_intptr_t = int64   /* _types.h:27:33 */
    976 type X__darwin_natural_t = uint32 /* _types.h:28:33 */
    977 
    978 // The rune type below is declared to be an ``int'' instead of the more natural
    979 // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
    980 // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
    981 // it looks like 10646 will be a 31 bit standard.  This means that if your
    982 // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
    983 // chosen over a long is that the is*() and to*() routines take ints (says
    984 // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
    985 // here, you lose a bit of ANSI conformance, but your programs will still
    986 // work.
    987 //
    988 // NOTE: rune_t is not covered by ANSI nor other standards, and should not
    989 // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
    990 // rune_t must be the same type.  Also wint_t must be no narrower than
    991 // wchar_t, and should also be able to hold all members of the largest
    992 // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
    993 
    994 type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
    995 
    996 // mbstate_t is an opaque object to keep conversion state, during multibyte
    997 // stream conversions.  The content must not be referenced by user programs.
    998 type X__mbstate_t = struct {
    999 	F__ccgo_pad1 [0]uint64
   1000 	F__mbstate8  [128]int8
   1001 } /* _types.h:57:3 */
   1002 
   1003 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
   1004 
   1005 type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
   1006 
   1007 type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
   1008 
   1009 type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
   1010 
   1011 type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
   1012 
   1013 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
   1014 
   1015 type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
   1016 
   1017 type X__darwin_clock_t = uint64        /* _types.h:95:33 */ // clock()
   1018 type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
   1019 type X__darwin_ssize_t = int64         /* _types.h:97:33 */ // byte count or error
   1020 type X__darwin_time_t = int64          /* _types.h:98:33 */ // time()
   1021 
   1022 // Type definitions; takes common type definitions that must be used
   1023 // in multiple header files due to [XSI], removes them from the system
   1024 // space, and puts them in the implementation space.
   1025 
   1026 type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
   1027 type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
   1028 type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
   1029 type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
   1030 type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
   1031 type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
   1032 type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
   1033 type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
   1034 type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
   1035 type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
   1036 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
   1037 type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
   1038 type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
   1039 type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
   1040 type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
   1041 type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
   1042 type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
   1043 type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
   1044 type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
   1045 type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
   1046 
   1047 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
   1048 //
   1049 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1050 //
   1051 // This file contains Original Code and/or Modifications of Original Code
   1052 // as defined in and that are subject to the Apple Public Source License
   1053 // Version 2.0 (the 'License'). You may not use this file except in
   1054 // compliance with the License. The rights granted to you under the License
   1055 // may not be used to create, or enable the creation or redistribution of,
   1056 // unlawful or unlicensed copies of an Apple operating system, or to
   1057 // circumvent, violate, or enable the circumvention or violation of, any
   1058 // terms of an Apple operating system software license agreement.
   1059 //
   1060 // Please obtain a copy of the License at
   1061 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1062 //
   1063 // The Original Code and all software distributed under the License are
   1064 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1065 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1066 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1067 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1068 // Please see the License for the specific language governing rights and
   1069 // limitations under the License.
   1070 //
   1071 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1072 
   1073 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   1074 //
   1075 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1076 //
   1077 // This file contains Original Code and/or Modifications of Original Code
   1078 // as defined in and that are subject to the Apple Public Source License
   1079 // Version 2.0 (the 'License'). You may not use this file except in
   1080 // compliance with the License. The rights granted to you under the License
   1081 // may not be used to create, or enable the creation or redistribution of,
   1082 // unlawful or unlicensed copies of an Apple operating system, or to
   1083 // circumvent, violate, or enable the circumvention or violation of, any
   1084 // terms of an Apple operating system software license agreement.
   1085 //
   1086 // Please obtain a copy of the License at
   1087 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1088 //
   1089 // The Original Code and all software distributed under the License are
   1090 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1091 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1092 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1093 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1094 // Please see the License for the specific language governing rights and
   1095 // limitations under the License.
   1096 //
   1097 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1098 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1099 // Copyright (c) 1991, 1993
   1100 //	The Regents of the University of California.  All rights reserved.
   1101 //
   1102 // This code is derived from software contributed to Berkeley by
   1103 // Berkeley Software Design, Inc.
   1104 //
   1105 // Redistribution and use in source and binary forms, with or without
   1106 // modification, are permitted provided that the following conditions
   1107 // are met:
   1108 // 1. Redistributions of source code must retain the above copyright
   1109 //    notice, this list of conditions and the following disclaimer.
   1110 // 2. Redistributions in binary form must reproduce the above copyright
   1111 //    notice, this list of conditions and the following disclaimer in the
   1112 //    documentation and/or other materials provided with the distribution.
   1113 // 3. All advertising materials mentioning features or use of this software
   1114 //    must display the following acknowledgement:
   1115 //	This product includes software developed by the University of
   1116 //	California, Berkeley and its contributors.
   1117 // 4. Neither the name of the University nor the names of its contributors
   1118 //    may be used to endorse or promote products derived from this software
   1119 //    without specific prior written permission.
   1120 //
   1121 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1122 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1123 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1124 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1125 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1126 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1127 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1128 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1129 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1130 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1131 // SUCH DAMAGE.
   1132 //
   1133 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1134 
   1135 // pthread opaque structures
   1136 
   1137 type X__darwin_pthread_handler_rec = struct {
   1138 	F__routine uintptr
   1139 	F__arg     uintptr
   1140 	F__next    uintptr
   1141 } /* _pthread_types.h:57:1 */
   1142 
   1143 type X_opaque_pthread_attr_t = struct {
   1144 	F__sig    int64
   1145 	F__opaque [56]int8
   1146 } /* _pthread_types.h:63:1 */
   1147 
   1148 type X_opaque_pthread_cond_t = struct {
   1149 	F__sig    int64
   1150 	F__opaque [40]int8
   1151 } /* _pthread_types.h:68:1 */
   1152 
   1153 type X_opaque_pthread_condattr_t = struct {
   1154 	F__sig    int64
   1155 	F__opaque [8]int8
   1156 } /* _pthread_types.h:73:1 */
   1157 
   1158 type X_opaque_pthread_mutex_t = struct {
   1159 	F__sig    int64
   1160 	F__opaque [56]int8
   1161 } /* _pthread_types.h:78:1 */
   1162 
   1163 type X_opaque_pthread_mutexattr_t = struct {
   1164 	F__sig    int64
   1165 	F__opaque [8]int8
   1166 } /* _pthread_types.h:83:1 */
   1167 
   1168 type X_opaque_pthread_once_t = struct {
   1169 	F__sig    int64
   1170 	F__opaque [8]int8
   1171 } /* _pthread_types.h:88:1 */
   1172 
   1173 type X_opaque_pthread_rwlock_t = struct {
   1174 	F__sig    int64
   1175 	F__opaque [192]int8
   1176 } /* _pthread_types.h:93:1 */
   1177 
   1178 type X_opaque_pthread_rwlockattr_t = struct {
   1179 	F__sig    int64
   1180 	F__opaque [16]int8
   1181 } /* _pthread_types.h:98:1 */
   1182 
   1183 type X_opaque_pthread_t = struct {
   1184 	F__sig           int64
   1185 	F__cleanup_stack uintptr
   1186 	F__opaque        [8176]int8
   1187 } /* _pthread_types.h:103:1 */
   1188 
   1189 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
   1190 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
   1191 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
   1192 type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
   1193 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
   1194 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
   1195 type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
   1196 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
   1197 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
   1198 type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
   1199 
   1200 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   1201 //
   1202 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1203 //
   1204 // This file contains Original Code and/or Modifications of Original Code
   1205 // as defined in and that are subject to the Apple Public Source License
   1206 // Version 2.0 (the 'License'). You may not use this file except in
   1207 // compliance with the License. The rights granted to you under the License
   1208 // may not be used to create, or enable the creation or redistribution of,
   1209 // unlawful or unlicensed copies of an Apple operating system, or to
   1210 // circumvent, violate, or enable the circumvention or violation of, any
   1211 // terms of an Apple operating system software license agreement.
   1212 //
   1213 // Please obtain a copy of the License at
   1214 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1215 //
   1216 // The Original Code and all software distributed under the License are
   1217 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1218 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1219 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1220 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1221 // Please see the License for the specific language governing rights and
   1222 // limitations under the License.
   1223 //
   1224 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1225 
   1226 type X__darwin_nl_item = int32        /* _types.h:40:14 */
   1227 type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
   1228 type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
   1229 
   1230 // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
   1231 //
   1232 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1233 //
   1234 // This file contains Original Code and/or Modifications of Original Code
   1235 // as defined in and that are subject to the Apple Public Source License
   1236 // Version 2.0 (the 'License'). You may not use this file except in
   1237 // compliance with the License. The rights granted to you under the License
   1238 // may not be used to create, or enable the creation or redistribution of,
   1239 // unlawful or unlicensed copies of an Apple operating system, or to
   1240 // circumvent, violate, or enable the circumvention or violation of, any
   1241 // terms of an Apple operating system software license agreement.
   1242 //
   1243 // Please obtain a copy of the License at
   1244 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1245 //
   1246 // The Original Code and all software distributed under the License are
   1247 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1248 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1249 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1250 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1251 // Please see the License for the specific language governing rights and
   1252 // limitations under the License.
   1253 //
   1254 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1255 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
   1256 // Copyright (c) 1989, 1993
   1257 //	The Regents of the University of California.  All rights reserved.
   1258 //
   1259 // Redistribution and use in source and binary forms, with or without
   1260 // modification, are permitted provided that the following conditions
   1261 // are met:
   1262 // 1. Redistributions of source code must retain the above copyright
   1263 //    notice, this list of conditions and the following disclaimer.
   1264 // 2. Redistributions in binary form must reproduce the above copyright
   1265 //    notice, this list of conditions and the following disclaimer in the
   1266 //    documentation and/or other materials provided with the distribution.
   1267 // 3. All advertising materials mentioning features or use of this software
   1268 //    must display the following acknowledgement:
   1269 //	This product includes software developed by the University of
   1270 //	California, Berkeley and its contributors.
   1271 // 4. Neither the name of the University nor the names of its contributors
   1272 //    may be used to endorse or promote products derived from this software
   1273 //    without specific prior written permission.
   1274 //
   1275 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1276 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1277 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1278 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1279 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1280 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1281 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1282 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1283 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1284 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1285 // SUCH DAMAGE.
   1286 //
   1287 //	@(#)unistd.h	8.2 (Berkeley) 1/7/94
   1288 
   1289 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   1290 //
   1291 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1292 //
   1293 // This file contains Original Code and/or Modifications of Original Code
   1294 // as defined in and that are subject to the Apple Public Source License
   1295 // Version 2.0 (the 'License'). You may not use this file except in
   1296 // compliance with the License. The rights granted to you under the License
   1297 // may not be used to create, or enable the creation or redistribution of,
   1298 // unlawful or unlicensed copies of an Apple operating system, or to
   1299 // circumvent, violate, or enable the circumvention or violation of, any
   1300 // terms of an Apple operating system software license agreement.
   1301 //
   1302 // Please obtain a copy of the License at
   1303 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1304 //
   1305 // The Original Code and all software distributed under the License are
   1306 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1307 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1308 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1309 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1310 // Please see the License for the specific language governing rights and
   1311 // limitations under the License.
   1312 //
   1313 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1314 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1315 // Copyright (c) 1991, 1993
   1316 //	The Regents of the University of California.  All rights reserved.
   1317 //
   1318 // This code is derived from software contributed to Berkeley by
   1319 // Berkeley Software Design, Inc.
   1320 //
   1321 // Redistribution and use in source and binary forms, with or without
   1322 // modification, are permitted provided that the following conditions
   1323 // are met:
   1324 // 1. Redistributions of source code must retain the above copyright
   1325 //    notice, this list of conditions and the following disclaimer.
   1326 // 2. Redistributions in binary form must reproduce the above copyright
   1327 //    notice, this list of conditions and the following disclaimer in the
   1328 //    documentation and/or other materials provided with the distribution.
   1329 // 3. All advertising materials mentioning features or use of this software
   1330 //    must display the following acknowledgement:
   1331 //	This product includes software developed by the University of
   1332 //	California, Berkeley and its contributors.
   1333 // 4. Neither the name of the University nor the names of its contributors
   1334 //    may be used to endorse or promote products derived from this software
   1335 //    without specific prior written permission.
   1336 //
   1337 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1338 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1339 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1340 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1341 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1342 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1343 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1344 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1345 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1346 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1347 // SUCH DAMAGE.
   1348 //
   1349 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1350 
   1351 // Although we have saved user/group IDs, we do not use them in setuid
   1352 // as described in POSIX 1003.1, because the feature does not work for
   1353 // root.  We use the saved IDs in seteuid/setegid, which are not currently
   1354 // part of the POSIX 1003.1 specification.
   1355 
   1356 // execution-time symbolic constants
   1357 // may disable terminal special characters
   1358 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1359 //
   1360 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1361 //
   1362 // This file contains Original Code and/or Modifications of Original Code
   1363 // as defined in and that are subject to the Apple Public Source License
   1364 // Version 2.0 (the 'License'). You may not use this file except in
   1365 // compliance with the License. The rights granted to you under the License
   1366 // may not be used to create, or enable the creation or redistribution of,
   1367 // unlawful or unlicensed copies of an Apple operating system, or to
   1368 // circumvent, violate, or enable the circumvention or violation of, any
   1369 // terms of an Apple operating system software license agreement.
   1370 //
   1371 // Please obtain a copy of the License at
   1372 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1373 //
   1374 // The Original Code and all software distributed under the License are
   1375 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1376 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1377 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1378 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1379 // Please see the License for the specific language governing rights and
   1380 // limitations under the License.
   1381 //
   1382 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1383 
   1384 // access function
   1385 
   1386 // Extended access functions.
   1387 // Note that we depend on these matching the definitions in sys/kauth.h,
   1388 // but with the bits shifted left by 8.
   1389 
   1390 // whence values for lseek(2)
   1391 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1392 //
   1393 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1394 //
   1395 // This file contains Original Code and/or Modifications of Original Code
   1396 // as defined in and that are subject to the Apple Public Source License
   1397 // Version 2.0 (the 'License'). You may not use this file except in
   1398 // compliance with the License. The rights granted to you under the License
   1399 // may not be used to create, or enable the creation or redistribution of,
   1400 // unlawful or unlicensed copies of an Apple operating system, or to
   1401 // circumvent, violate, or enable the circumvention or violation of, any
   1402 // terms of an Apple operating system software license agreement.
   1403 //
   1404 // Please obtain a copy of the License at
   1405 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1406 //
   1407 // The Original Code and all software distributed under the License are
   1408 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1409 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1410 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1411 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1412 // Please see the License for the specific language governing rights and
   1413 // limitations under the License.
   1414 //
   1415 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1416 
   1417 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   1418 //
   1419 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1420 //
   1421 // This file contains Original Code and/or Modifications of Original Code
   1422 // as defined in and that are subject to the Apple Public Source License
   1423 // Version 2.0 (the 'License'). You may not use this file except in
   1424 // compliance with the License. The rights granted to you under the License
   1425 // may not be used to create, or enable the creation or redistribution of,
   1426 // unlawful or unlicensed copies of an Apple operating system, or to
   1427 // circumvent, violate, or enable the circumvention or violation of, any
   1428 // terms of an Apple operating system software license agreement.
   1429 //
   1430 // Please obtain a copy of the License at
   1431 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1432 //
   1433 // The Original Code and all software distributed under the License are
   1434 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1435 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1436 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1437 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1438 // Please see the License for the specific language governing rights and
   1439 // limitations under the License.
   1440 //
   1441 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1442 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1443 // Copyright (c) 1991, 1993
   1444 //	The Regents of the University of California.  All rights reserved.
   1445 //
   1446 // This code is derived from software contributed to Berkeley by
   1447 // Berkeley Software Design, Inc.
   1448 //
   1449 // Redistribution and use in source and binary forms, with or without
   1450 // modification, are permitted provided that the following conditions
   1451 // are met:
   1452 // 1. Redistributions of source code must retain the above copyright
   1453 //    notice, this list of conditions and the following disclaimer.
   1454 // 2. Redistributions in binary form must reproduce the above copyright
   1455 //    notice, this list of conditions and the following disclaimer in the
   1456 //    documentation and/or other materials provided with the distribution.
   1457 // 3. All advertising materials mentioning features or use of this software
   1458 //    must display the following acknowledgement:
   1459 //	This product includes software developed by the University of
   1460 //	California, Berkeley and its contributors.
   1461 // 4. Neither the name of the University nor the names of its contributors
   1462 //    may be used to endorse or promote products derived from this software
   1463 //    without specific prior written permission.
   1464 //
   1465 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1466 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1467 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1468 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1469 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1470 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1471 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1472 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1473 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1474 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1475 // SUCH DAMAGE.
   1476 //
   1477 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1478 
   1479 // whence values for lseek(2)
   1480 
   1481 // whence values for lseek(2); renamed by POSIX 1003.1
   1482 
   1483 type Accessx_descriptor = struct {
   1484 	Fad_name_offset uint32
   1485 	Fad_flags       int32
   1486 	Fad_pad         [2]int32
   1487 } /* unistd.h:132:1 */
   1488 
   1489 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1490 //
   1491 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1492 //
   1493 // This file contains Original Code and/or Modifications of Original Code
   1494 // as defined in and that are subject to the Apple Public Source License
   1495 // Version 2.0 (the 'License'). You may not use this file except in
   1496 // compliance with the License. The rights granted to you under the License
   1497 // may not be used to create, or enable the creation or redistribution of,
   1498 // unlawful or unlicensed copies of an Apple operating system, or to
   1499 // circumvent, violate, or enable the circumvention or violation of, any
   1500 // terms of an Apple operating system software license agreement.
   1501 //
   1502 // Please obtain a copy of the License at
   1503 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1504 //
   1505 // The Original Code and all software distributed under the License are
   1506 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1507 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1508 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1509 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1510 // Please see the License for the specific language governing rights and
   1511 // limitations under the License.
   1512 //
   1513 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1514 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1515 //
   1516 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1517 //
   1518 // This file contains Original Code and/or Modifications of Original Code
   1519 // as defined in and that are subject to the Apple Public Source License
   1520 // Version 2.0 (the 'License'). You may not use this file except in
   1521 // compliance with the License. The rights granted to you under the License
   1522 // may not be used to create, or enable the creation or redistribution of,
   1523 // unlawful or unlicensed copies of an Apple operating system, or to
   1524 // circumvent, violate, or enable the circumvention or violation of, any
   1525 // terms of an Apple operating system software license agreement.
   1526 //
   1527 // Please obtain a copy of the License at
   1528 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1529 //
   1530 // The Original Code and all software distributed under the License are
   1531 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1532 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1533 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1534 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1535 // Please see the License for the specific language governing rights and
   1536 // limitations under the License.
   1537 //
   1538 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1539 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1540 
   1541 // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
   1542 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1543 // Copyright (c) 1990, 1993
   1544 //	The Regents of the University of California.  All rights reserved.
   1545 //
   1546 // Redistribution and use in source and binary forms, with or without
   1547 // modification, are permitted provided that the following conditions
   1548 // are met:
   1549 // 1. Redistributions of source code must retain the above copyright
   1550 //    notice, this list of conditions and the following disclaimer.
   1551 // 2. Redistributions in binary form must reproduce the above copyright
   1552 //    notice, this list of conditions and the following disclaimer in the
   1553 //    documentation and/or other materials provided with the distribution.
   1554 // 3. All advertising materials mentioning features or use of this software
   1555 //    must display the following acknowledgement:
   1556 //	This product includes software developed by the University of
   1557 //	California, Berkeley and its contributors.
   1558 // 4. Neither the name of the University nor the names of its contributors
   1559 //    may be used to endorse or promote products derived from this software
   1560 //    without specific prior written permission.
   1561 //
   1562 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1563 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1564 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1565 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1566 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1567 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1568 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1569 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1570 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1571 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1572 // SUCH DAMAGE.
   1573 //
   1574 //	@(#)types.h	8.3 (Berkeley) 1/5/94
   1575 
   1576 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1577 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   1578 //
   1579 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1580 //
   1581 // This file contains Original Code and/or Modifications of Original Code
   1582 // as defined in and that are subject to the Apple Public Source License
   1583 // Version 2.0 (the 'License'). You may not use this file except in
   1584 // compliance with the License. The rights granted to you under the License
   1585 // may not be used to create, or enable the creation or redistribution of,
   1586 // unlawful or unlicensed copies of an Apple operating system, or to
   1587 // circumvent, violate, or enable the circumvention or violation of, any
   1588 // terms of an Apple operating system software license agreement.
   1589 //
   1590 // Please obtain a copy of the License at
   1591 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1592 //
   1593 // The Original Code and all software distributed under the License are
   1594 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1595 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1596 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1597 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1598 // Please see the License for the specific language governing rights and
   1599 // limitations under the License.
   1600 //
   1601 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1602 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1603 // Copyright (c) 1991, 1993
   1604 //	The Regents of the University of California.  All rights reserved.
   1605 //
   1606 // This code is derived from software contributed to Berkeley by
   1607 // Berkeley Software Design, Inc.
   1608 //
   1609 // Redistribution and use in source and binary forms, with or without
   1610 // modification, are permitted provided that the following conditions
   1611 // are met:
   1612 // 1. Redistributions of source code must retain the above copyright
   1613 //    notice, this list of conditions and the following disclaimer.
   1614 // 2. Redistributions in binary form must reproduce the above copyright
   1615 //    notice, this list of conditions and the following disclaimer in the
   1616 //    documentation and/or other materials provided with the distribution.
   1617 // 3. All advertising materials mentioning features or use of this software
   1618 //    must display the following acknowledgement:
   1619 //	This product includes software developed by the University of
   1620 //	California, Berkeley and its contributors.
   1621 // 4. Neither the name of the University nor the names of its contributors
   1622 //    may be used to endorse or promote products derived from this software
   1623 //    without specific prior written permission.
   1624 //
   1625 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1626 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1627 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1628 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1629 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1630 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1631 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1632 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1633 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1634 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1635 // SUCH DAMAGE.
   1636 //
   1637 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1638 
   1639 // Basic integral types.  Omit the typedef if
   1640 // not possible for a machine/compiler combination.
   1641 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1642 //
   1643 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1644 //
   1645 // This file contains Original Code and/or Modifications of Original Code
   1646 // as defined in and that are subject to the Apple Public Source License
   1647 // Version 2.0 (the 'License'). You may not use this file except in
   1648 // compliance with the License. The rights granted to you under the License
   1649 // may not be used to create, or enable the creation or redistribution of,
   1650 // unlawful or unlicensed copies of an Apple operating system, or to
   1651 // circumvent, violate, or enable the circumvention or violation of, any
   1652 // terms of an Apple operating system software license agreement.
   1653 //
   1654 // Please obtain a copy of the License at
   1655 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1656 //
   1657 // The Original Code and all software distributed under the License are
   1658 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1659 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1660 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1661 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1662 // Please see the License for the specific language governing rights and
   1663 // limitations under the License.
   1664 //
   1665 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1666 type Int8_t = int8 /* _int8_t.h:30:31 */
   1667 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1668 //
   1669 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1670 //
   1671 // This file contains Original Code and/or Modifications of Original Code
   1672 // as defined in and that are subject to the Apple Public Source License
   1673 // Version 2.0 (the 'License'). You may not use this file except in
   1674 // compliance with the License. The rights granted to you under the License
   1675 // may not be used to create, or enable the creation or redistribution of,
   1676 // unlawful or unlicensed copies of an Apple operating system, or to
   1677 // circumvent, violate, or enable the circumvention or violation of, any
   1678 // terms of an Apple operating system software license agreement.
   1679 //
   1680 // Please obtain a copy of the License at
   1681 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1682 //
   1683 // The Original Code and all software distributed under the License are
   1684 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1685 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1686 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1687 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1688 // Please see the License for the specific language governing rights and
   1689 // limitations under the License.
   1690 //
   1691 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1692 type Int16_t = int16 /* _int16_t.h:30:33 */
   1693 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1694 //
   1695 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1696 //
   1697 // This file contains Original Code and/or Modifications of Original Code
   1698 // as defined in and that are subject to the Apple Public Source License
   1699 // Version 2.0 (the 'License'). You may not use this file except in
   1700 // compliance with the License. The rights granted to you under the License
   1701 // may not be used to create, or enable the creation or redistribution of,
   1702 // unlawful or unlicensed copies of an Apple operating system, or to
   1703 // circumvent, violate, or enable the circumvention or violation of, any
   1704 // terms of an Apple operating system software license agreement.
   1705 //
   1706 // Please obtain a copy of the License at
   1707 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1708 //
   1709 // The Original Code and all software distributed under the License are
   1710 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1711 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1712 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1713 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1714 // Please see the License for the specific language governing rights and
   1715 // limitations under the License.
   1716 //
   1717 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1718 type Int32_t = int32 /* _int32_t.h:30:33 */
   1719 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1720 //
   1721 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1722 //
   1723 // This file contains Original Code and/or Modifications of Original Code
   1724 // as defined in and that are subject to the Apple Public Source License
   1725 // Version 2.0 (the 'License'). You may not use this file except in
   1726 // compliance with the License. The rights granted to you under the License
   1727 // may not be used to create, or enable the creation or redistribution of,
   1728 // unlawful or unlicensed copies of an Apple operating system, or to
   1729 // circumvent, violate, or enable the circumvention or violation of, any
   1730 // terms of an Apple operating system software license agreement.
   1731 //
   1732 // Please obtain a copy of the License at
   1733 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1734 //
   1735 // The Original Code and all software distributed under the License are
   1736 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1737 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1738 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1739 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1740 // Please see the License for the specific language governing rights and
   1741 // limitations under the License.
   1742 //
   1743 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1744 type Int64_t = int64 /* _int64_t.h:30:33 */
   1745 
   1746 // Copyright (c) 2016 Apple Inc. All rights reserved.
   1747 //
   1748 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1749 //
   1750 // This file contains Original Code and/or Modifications of Original Code
   1751 // as defined in and that are subject to the Apple Public Source License
   1752 // Version 2.0 (the 'License'). You may not use this file except in
   1753 // compliance with the License. The rights granted to you under the License
   1754 // may not be used to create, or enable the creation or redistribution of,
   1755 // unlawful or unlicensed copies of an Apple operating system, or to
   1756 // circumvent, violate, or enable the circumvention or violation of, any
   1757 // terms of an Apple operating system software license agreement.
   1758 //
   1759 // Please obtain a copy of the License at
   1760 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1761 //
   1762 // The Original Code and all software distributed under the License are
   1763 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1764 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1765 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1766 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1767 // Please see the License for the specific language governing rights and
   1768 // limitations under the License.
   1769 //
   1770 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1771 type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
   1772 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1773 //
   1774 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1775 //
   1776 // This file contains Original Code and/or Modifications of Original Code
   1777 // as defined in and that are subject to the Apple Public Source License
   1778 // Version 2.0 (the 'License'). You may not use this file except in
   1779 // compliance with the License. The rights granted to you under the License
   1780 // may not be used to create, or enable the creation or redistribution of,
   1781 // unlawful or unlicensed copies of an Apple operating system, or to
   1782 // circumvent, violate, or enable the circumvention or violation of, any
   1783 // terms of an Apple operating system software license agreement.
   1784 //
   1785 // Please obtain a copy of the License at
   1786 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1787 //
   1788 // The Original Code and all software distributed under the License are
   1789 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1790 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1791 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1792 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1793 // Please see the License for the specific language governing rights and
   1794 // limitations under the License.
   1795 //
   1796 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1797 type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
   1798 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1799 //
   1800 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1801 //
   1802 // This file contains Original Code and/or Modifications of Original Code
   1803 // as defined in and that are subject to the Apple Public Source License
   1804 // Version 2.0 (the 'License'). You may not use this file except in
   1805 // compliance with the License. The rights granted to you under the License
   1806 // may not be used to create, or enable the creation or redistribution of,
   1807 // unlawful or unlicensed copies of an Apple operating system, or to
   1808 // circumvent, violate, or enable the circumvention or violation of, any
   1809 // terms of an Apple operating system software license agreement.
   1810 //
   1811 // Please obtain a copy of the License at
   1812 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1813 //
   1814 // The Original Code and all software distributed under the License are
   1815 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1816 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1817 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1818 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1819 // Please see the License for the specific language governing rights and
   1820 // limitations under the License.
   1821 //
   1822 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1823 type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
   1824 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1825 //
   1826 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1827 //
   1828 // This file contains Original Code and/or Modifications of Original Code
   1829 // as defined in and that are subject to the Apple Public Source License
   1830 // Version 2.0 (the 'License'). You may not use this file except in
   1831 // compliance with the License. The rights granted to you under the License
   1832 // may not be used to create, or enable the creation or redistribution of,
   1833 // unlawful or unlicensed copies of an Apple operating system, or to
   1834 // circumvent, violate, or enable the circumvention or violation of, any
   1835 // terms of an Apple operating system software license agreement.
   1836 //
   1837 // Please obtain a copy of the License at
   1838 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1839 //
   1840 // The Original Code and all software distributed under the License are
   1841 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1842 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1843 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1844 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1845 // Please see the License for the specific language governing rights and
   1846 // limitations under the License.
   1847 //
   1848 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1849 type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
   1850 
   1851 type Register_t = Int64_t /* types.h:66:33 */
   1852 
   1853 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1854 //
   1855 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1856 //
   1857 // This file contains Original Code and/or Modifications of Original Code
   1858 // as defined in and that are subject to the Apple Public Source License
   1859 // Version 2.0 (the 'License'). You may not use this file except in
   1860 // compliance with the License. The rights granted to you under the License
   1861 // may not be used to create, or enable the creation or redistribution of,
   1862 // unlawful or unlicensed copies of an Apple operating system, or to
   1863 // circumvent, violate, or enable the circumvention or violation of, any
   1864 // terms of an Apple operating system software license agreement.
   1865 //
   1866 // Please obtain a copy of the License at
   1867 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1868 //
   1869 // The Original Code and all software distributed under the License are
   1870 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1871 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1872 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1873 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1874 // Please see the License for the specific language governing rights and
   1875 // limitations under the License.
   1876 //
   1877 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1878 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   1879 //
   1880 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1881 //
   1882 // This file contains Original Code and/or Modifications of Original Code
   1883 // as defined in and that are subject to the Apple Public Source License
   1884 // Version 2.0 (the 'License'). You may not use this file except in
   1885 // compliance with the License. The rights granted to you under the License
   1886 // may not be used to create, or enable the creation or redistribution of,
   1887 // unlawful or unlicensed copies of an Apple operating system, or to
   1888 // circumvent, violate, or enable the circumvention or violation of, any
   1889 // terms of an Apple operating system software license agreement.
   1890 //
   1891 // Please obtain a copy of the License at
   1892 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1893 //
   1894 // The Original Code and all software distributed under the License are
   1895 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1896 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1897 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1898 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1899 // Please see the License for the specific language governing rights and
   1900 // limitations under the License.
   1901 //
   1902 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1903 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   1904 
   1905 type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
   1906 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1907 //
   1908 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1909 //
   1910 // This file contains Original Code and/or Modifications of Original Code
   1911 // as defined in and that are subject to the Apple Public Source License
   1912 // Version 2.0 (the 'License'). You may not use this file except in
   1913 // compliance with the License. The rights granted to you under the License
   1914 // may not be used to create, or enable the creation or redistribution of,
   1915 // unlawful or unlicensed copies of an Apple operating system, or to
   1916 // circumvent, violate, or enable the circumvention or violation of, any
   1917 // terms of an Apple operating system software license agreement.
   1918 //
   1919 // Please obtain a copy of the License at
   1920 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1921 //
   1922 // The Original Code and all software distributed under the License are
   1923 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1924 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1925 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1926 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1927 // Please see the License for the specific language governing rights and
   1928 // limitations under the License.
   1929 //
   1930 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1931 
   1932 type Uintptr_t = uint64 /* _uintptr_t.h:34:33 */
   1933 
   1934 // These types are used for reserving the largest possible size.
   1935 type User_addr_t = U_int64_t  /* types.h:77:33 */
   1936 type User_size_t = U_int64_t  /* types.h:78:33 */
   1937 type User_ssize_t = Int64_t   /* types.h:79:33 */
   1938 type User_long_t = Int64_t    /* types.h:80:33 */
   1939 type User_ulong_t = U_int64_t /* types.h:81:33 */
   1940 type User_time_t = Int64_t    /* types.h:82:33 */
   1941 type User_off_t = Int64_t     /* types.h:83:33 */
   1942 
   1943 // This defines the size of syscall arguments after copying into the kernel:
   1944 type Syscall_arg_t = U_int64_t /* types.h:104:33 */
   1945 
   1946 type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
   1947 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1948 //
   1949 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1950 //
   1951 // This file contains Original Code and/or Modifications of Original Code
   1952 // as defined in and that are subject to the Apple Public Source License
   1953 // Version 2.0 (the 'License'). You may not use this file except in
   1954 // compliance with the License. The rights granted to you under the License
   1955 // may not be used to create, or enable the creation or redistribution of,
   1956 // unlawful or unlicensed copies of an Apple operating system, or to
   1957 // circumvent, violate, or enable the circumvention or violation of, any
   1958 // terms of an Apple operating system software license agreement.
   1959 //
   1960 // Please obtain a copy of the License at
   1961 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1962 //
   1963 // The Original Code and all software distributed under the License are
   1964 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1965 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1966 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1967 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1968 // Please see the License for the specific language governing rights and
   1969 // limitations under the License.
   1970 //
   1971 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1972 
   1973 type Uint64_t = uint64 /* _uint64_t.h:31:28 */
   1974 // Copyright (c) 2012 Apple Inc. All rights reserved.
   1975 //
   1976 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1977 //
   1978 // This file contains Original Code and/or Modifications of Original Code
   1979 // as defined in and that are subject to the Apple Public Source License
   1980 // Version 2.0 (the 'License'). You may not use this file except in
   1981 // compliance with the License. The rights granted to you under the License
   1982 // may not be used to create, or enable the creation or redistribution of,
   1983 // unlawful or unlicensed copies of an Apple operating system, or to
   1984 // circumvent, violate, or enable the circumvention or violation of, any
   1985 // terms of an Apple operating system software license agreement.
   1986 //
   1987 // Please obtain a copy of the License at
   1988 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1989 //
   1990 // The Original Code and all software distributed under the License are
   1991 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1992 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1993 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1994 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1995 // Please see the License for the specific language governing rights and
   1996 // limitations under the License.
   1997 //
   1998 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1999 
   2000 type Uint32_t = uint32 /* _uint32_t.h:31:22 */
   2001 
   2002 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2003 //
   2004 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2005 //
   2006 // This file contains Original Code and/or Modifications of Original Code
   2007 // as defined in and that are subject to the Apple Public Source License
   2008 // Version 2.0 (the 'License'). You may not use this file except in
   2009 // compliance with the License. The rights granted to you under the License
   2010 // may not be used to create, or enable the creation or redistribution of,
   2011 // unlawful or unlicensed copies of an Apple operating system, or to
   2012 // circumvent, violate, or enable the circumvention or violation of, any
   2013 // terms of an Apple operating system software license agreement.
   2014 //
   2015 // Please obtain a copy of the License at
   2016 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2017 //
   2018 // The Original Code and all software distributed under the License are
   2019 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2020 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2021 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2022 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2023 // Please see the License for the specific language governing rights and
   2024 // limitations under the License.
   2025 //
   2026 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2027 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2028 //
   2029 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2030 //
   2031 // This file contains Original Code and/or Modifications of Original Code
   2032 // as defined in and that are subject to the Apple Public Source License
   2033 // Version 2.0 (the 'License'). You may not use this file except in
   2034 // compliance with the License. The rights granted to you under the License
   2035 // may not be used to create, or enable the creation or redistribution of,
   2036 // unlawful or unlicensed copies of an Apple operating system, or to
   2037 // circumvent, violate, or enable the circumvention or violation of, any
   2038 // terms of an Apple operating system software license agreement.
   2039 //
   2040 // Please obtain a copy of the License at
   2041 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2042 //
   2043 // The Original Code and all software distributed under the License are
   2044 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2045 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2046 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2047 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2048 // Please see the License for the specific language governing rights and
   2049 // limitations under the License.
   2050 //
   2051 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2052 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2053 //
   2054 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2055 //
   2056 // This file contains Original Code and/or Modifications of Original Code
   2057 // as defined in and that are subject to the Apple Public Source License
   2058 // Version 2.0 (the 'License'). You may not use this file except in
   2059 // compliance with the License. The rights granted to you under the License
   2060 // may not be used to create, or enable the creation or redistribution of,
   2061 // unlawful or unlicensed copies of an Apple operating system, or to
   2062 // circumvent, violate, or enable the circumvention or violation of, any
   2063 // terms of an Apple operating system software license agreement.
   2064 //
   2065 // Please obtain a copy of the License at
   2066 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2067 //
   2068 // The Original Code and all software distributed under the License are
   2069 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2070 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2071 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2072 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2073 // Please see the License for the specific language governing rights and
   2074 // limitations under the License.
   2075 //
   2076 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2077 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2078 //
   2079 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2080 //
   2081 // This file contains Original Code and/or Modifications of Original Code
   2082 // as defined in and that are subject to the Apple Public Source License
   2083 // Version 2.0 (the 'License'). You may not use this file except in
   2084 // compliance with the License. The rights granted to you under the License
   2085 // may not be used to create, or enable the creation or redistribution of,
   2086 // unlawful or unlicensed copies of an Apple operating system, or to
   2087 // circumvent, violate, or enable the circumvention or violation of, any
   2088 // terms of an Apple operating system software license agreement.
   2089 //
   2090 // Please obtain a copy of the License at
   2091 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2092 //
   2093 // The Original Code and all software distributed under the License are
   2094 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2095 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2096 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2097 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2098 // Please see the License for the specific language governing rights and
   2099 // limitations under the License.
   2100 //
   2101 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2102 
   2103 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2104 //
   2105 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2106 //
   2107 // This file contains Original Code and/or Modifications of Original Code
   2108 // as defined in and that are subject to the Apple Public Source License
   2109 // Version 2.0 (the 'License'). You may not use this file except in
   2110 // compliance with the License. The rights granted to you under the License
   2111 // may not be used to create, or enable the creation or redistribution of,
   2112 // unlawful or unlicensed copies of an Apple operating system, or to
   2113 // circumvent, violate, or enable the circumvention or violation of, any
   2114 // terms of an Apple operating system software license agreement.
   2115 //
   2116 // Please obtain a copy of the License at
   2117 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2118 //
   2119 // The Original Code and all software distributed under the License are
   2120 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2121 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2122 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2123 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2124 // Please see the License for the specific language governing rights and
   2125 // limitations under the License.
   2126 //
   2127 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2128 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2129 //
   2130 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2131 //
   2132 // This file contains Original Code and/or Modifications of Original Code
   2133 // as defined in and that are subject to the Apple Public Source License
   2134 // Version 2.0 (the 'License'). You may not use this file except in
   2135 // compliance with the License. The rights granted to you under the License
   2136 // may not be used to create, or enable the creation or redistribution of,
   2137 // unlawful or unlicensed copies of an Apple operating system, or to
   2138 // circumvent, violate, or enable the circumvention or violation of, any
   2139 // terms of an Apple operating system software license agreement.
   2140 //
   2141 // Please obtain a copy of the License at
   2142 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2143 //
   2144 // The Original Code and all software distributed under the License are
   2145 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2146 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2147 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2148 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2149 // Please see the License for the specific language governing rights and
   2150 // limitations under the License.
   2151 //
   2152 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2153 
   2154 type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
   2155 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2156 //
   2157 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2158 //
   2159 // This file contains Original Code and/or Modifications of Original Code
   2160 // as defined in and that are subject to the Apple Public Source License
   2161 // Version 2.0 (the 'License'). You may not use this file except in
   2162 // compliance with the License. The rights granted to you under the License
   2163 // may not be used to create, or enable the creation or redistribution of,
   2164 // unlawful or unlicensed copies of an Apple operating system, or to
   2165 // circumvent, violate, or enable the circumvention or violation of, any
   2166 // terms of an Apple operating system software license agreement.
   2167 //
   2168 // Please obtain a copy of the License at
   2169 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2170 //
   2171 // The Original Code and all software distributed under the License are
   2172 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2173 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2174 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2175 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2176 // Please see the License for the specific language governing rights and
   2177 // limitations under the License.
   2178 //
   2179 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2180 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2181 //
   2182 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2183 //
   2184 // This file contains Original Code and/or Modifications of Original Code
   2185 // as defined in and that are subject to the Apple Public Source License
   2186 // Version 2.0 (the 'License'). You may not use this file except in
   2187 // compliance with the License. The rights granted to you under the License
   2188 // may not be used to create, or enable the creation or redistribution of,
   2189 // unlawful or unlicensed copies of an Apple operating system, or to
   2190 // circumvent, violate, or enable the circumvention or violation of, any
   2191 // terms of an Apple operating system software license agreement.
   2192 //
   2193 // Please obtain a copy of the License at
   2194 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2195 //
   2196 // The Original Code and all software distributed under the License are
   2197 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2198 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2199 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2200 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2201 // Please see the License for the specific language governing rights and
   2202 // limitations under the License.
   2203 //
   2204 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2205 
   2206 type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
   2207 
   2208 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   2209 //
   2210 // @APPLE_LICENSE_HEADER_START@
   2211 //
   2212 // This file contains Original Code and/or Modifications of Original Code
   2213 // as defined in and that are subject to the Apple Public Source License
   2214 // Version 2.0 (the 'License'). You may not use this file except in
   2215 // compliance with the License. Please obtain a copy of the License at
   2216 // http://www.opensource.apple.com/apsl/ and read it before using this
   2217 // file.
   2218 //
   2219 // The Original Code and all software distributed under the License are
   2220 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2221 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2222 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2223 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2224 // Please see the License for the specific language governing rights and
   2225 // limitations under the License.
   2226 //
   2227 // @APPLE_LICENSE_HEADER_END@
   2228 
   2229 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2230 //
   2231 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2232 //
   2233 // This file contains Original Code and/or Modifications of Original Code
   2234 // as defined in and that are subject to the Apple Public Source License
   2235 // Version 2.0 (the 'License'). You may not use this file except in
   2236 // compliance with the License. The rights granted to you under the License
   2237 // may not be used to create, or enable the creation or redistribution of,
   2238 // unlawful or unlicensed copies of an Apple operating system, or to
   2239 // circumvent, violate, or enable the circumvention or violation of, any
   2240 // terms of an Apple operating system software license agreement.
   2241 //
   2242 // Please obtain a copy of the License at
   2243 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2244 //
   2245 // The Original Code and all software distributed under the License are
   2246 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2247 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2248 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2249 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2250 // Please see the License for the specific language governing rights and
   2251 // limitations under the License.
   2252 //
   2253 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2254 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2255 //
   2256 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2257 //
   2258 // This file contains Original Code and/or Modifications of Original Code
   2259 // as defined in and that are subject to the Apple Public Source License
   2260 // Version 2.0 (the 'License'). You may not use this file except in
   2261 // compliance with the License. The rights granted to you under the License
   2262 // may not be used to create, or enable the creation or redistribution of,
   2263 // unlawful or unlicensed copies of an Apple operating system, or to
   2264 // circumvent, violate, or enable the circumvention or violation of, any
   2265 // terms of an Apple operating system software license agreement.
   2266 //
   2267 // Please obtain a copy of the License at
   2268 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2269 //
   2270 // The Original Code and all software distributed under the License are
   2271 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2272 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2273 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2274 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2275 // Please see the License for the specific language governing rights and
   2276 // limitations under the License.
   2277 //
   2278 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2279 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2280 //
   2281 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2282 //
   2283 // This file contains Original Code and/or Modifications of Original Code
   2284 // as defined in and that are subject to the Apple Public Source License
   2285 // Version 2.0 (the 'License'). You may not use this file except in
   2286 // compliance with the License. The rights granted to you under the License
   2287 // may not be used to create, or enable the creation or redistribution of,
   2288 // unlawful or unlicensed copies of an Apple operating system, or to
   2289 // circumvent, violate, or enable the circumvention or violation of, any
   2290 // terms of an Apple operating system software license agreement.
   2291 //
   2292 // Please obtain a copy of the License at
   2293 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2294 //
   2295 // The Original Code and all software distributed under the License are
   2296 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2297 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2298 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2299 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2300 // Please see the License for the specific language governing rights and
   2301 // limitations under the License.
   2302 //
   2303 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2304 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2305 //
   2306 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2307 //
   2308 // This file contains Original Code and/or Modifications of Original Code
   2309 // as defined in and that are subject to the Apple Public Source License
   2310 // Version 2.0 (the 'License'). You may not use this file except in
   2311 // compliance with the License. The rights granted to you under the License
   2312 // may not be used to create, or enable the creation or redistribution of,
   2313 // unlawful or unlicensed copies of an Apple operating system, or to
   2314 // circumvent, violate, or enable the circumvention or violation of, any
   2315 // terms of an Apple operating system software license agreement.
   2316 //
   2317 // Please obtain a copy of the License at
   2318 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2319 //
   2320 // The Original Code and all software distributed under the License are
   2321 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2322 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2323 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2324 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2325 // Please see the License for the specific language governing rights and
   2326 // limitations under the License.
   2327 //
   2328 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2329 
   2330 type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
   2331 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2332 //
   2333 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2334 //
   2335 // This file contains Original Code and/or Modifications of Original Code
   2336 // as defined in and that are subject to the Apple Public Source License
   2337 // Version 2.0 (the 'License'). You may not use this file except in
   2338 // compliance with the License. The rights granted to you under the License
   2339 // may not be used to create, or enable the creation or redistribution of,
   2340 // unlawful or unlicensed copies of an Apple operating system, or to
   2341 // circumvent, violate, or enable the circumvention or violation of, any
   2342 // terms of an Apple operating system software license agreement.
   2343 //
   2344 // Please obtain a copy of the License at
   2345 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2346 //
   2347 // The Original Code and all software distributed under the License are
   2348 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2349 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2350 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2351 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2352 // Please see the License for the specific language governing rights and
   2353 // limitations under the License.
   2354 //
   2355 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2356 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2357 //
   2358 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2359 //
   2360 // This file contains Original Code and/or Modifications of Original Code
   2361 // as defined in and that are subject to the Apple Public Source License
   2362 // Version 2.0 (the 'License'). You may not use this file except in
   2363 // compliance with the License. The rights granted to you under the License
   2364 // may not be used to create, or enable the creation or redistribution of,
   2365 // unlawful or unlicensed copies of an Apple operating system, or to
   2366 // circumvent, violate, or enable the circumvention or violation of, any
   2367 // terms of an Apple operating system software license agreement.
   2368 //
   2369 // Please obtain a copy of the License at
   2370 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2371 //
   2372 // The Original Code and all software distributed under the License are
   2373 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2374 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2375 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2376 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2377 // Please see the License for the specific language governing rights and
   2378 // limitations under the License.
   2379 //
   2380 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2381 
   2382 type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
   2383 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
   2384 // _GCC_SIZE_T
   2385 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2386 //
   2387 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2388 //
   2389 // This file contains Original Code and/or Modifications of Original Code
   2390 // as defined in and that are subject to the Apple Public Source License
   2391 // Version 2.0 (the 'License'). You may not use this file except in
   2392 // compliance with the License. The rights granted to you under the License
   2393 // may not be used to create, or enable the creation or redistribution of,
   2394 // unlawful or unlicensed copies of an Apple operating system, or to
   2395 // circumvent, violate, or enable the circumvention or violation of, any
   2396 // terms of an Apple operating system software license agreement.
   2397 //
   2398 // Please obtain a copy of the License at
   2399 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2400 //
   2401 // The Original Code and all software distributed under the License are
   2402 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2403 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2404 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2405 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2406 // Please see the License for the specific language governing rights and
   2407 // limitations under the License.
   2408 //
   2409 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2410 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2411 //
   2412 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2413 //
   2414 // This file contains Original Code and/or Modifications of Original Code
   2415 // as defined in and that are subject to the Apple Public Source License
   2416 // Version 2.0 (the 'License'). You may not use this file except in
   2417 // compliance with the License. The rights granted to you under the License
   2418 // may not be used to create, or enable the creation or redistribution of,
   2419 // unlawful or unlicensed copies of an Apple operating system, or to
   2420 // circumvent, violate, or enable the circumvention or violation of, any
   2421 // terms of an Apple operating system software license agreement.
   2422 //
   2423 // Please obtain a copy of the License at
   2424 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2425 //
   2426 // The Original Code and all software distributed under the License are
   2427 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2428 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2429 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2430 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2431 // Please see the License for the specific language governing rights and
   2432 // limitations under the License.
   2433 //
   2434 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2435 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2436 //
   2437 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2438 //
   2439 // This file contains Original Code and/or Modifications of Original Code
   2440 // as defined in and that are subject to the Apple Public Source License
   2441 // Version 2.0 (the 'License'). You may not use this file except in
   2442 // compliance with the License. The rights granted to you under the License
   2443 // may not be used to create, or enable the creation or redistribution of,
   2444 // unlawful or unlicensed copies of an Apple operating system, or to
   2445 // circumvent, violate, or enable the circumvention or violation of, any
   2446 // terms of an Apple operating system software license agreement.
   2447 //
   2448 // Please obtain a copy of the License at
   2449 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2450 //
   2451 // The Original Code and all software distributed under the License are
   2452 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2453 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2454 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2455 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2456 // Please see the License for the specific language governing rights and
   2457 // limitations under the License.
   2458 //
   2459 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2460 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2461 //
   2462 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2463 //
   2464 // This file contains Original Code and/or Modifications of Original Code
   2465 // as defined in and that are subject to the Apple Public Source License
   2466 // Version 2.0 (the 'License'). You may not use this file except in
   2467 // compliance with the License. The rights granted to you under the License
   2468 // may not be used to create, or enable the creation or redistribution of,
   2469 // unlawful or unlicensed copies of an Apple operating system, or to
   2470 // circumvent, violate, or enable the circumvention or violation of, any
   2471 // terms of an Apple operating system software license agreement.
   2472 //
   2473 // Please obtain a copy of the License at
   2474 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2475 //
   2476 // The Original Code and all software distributed under the License are
   2477 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2478 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2479 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2480 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2481 // Please see the License for the specific language governing rights and
   2482 // limitations under the License.
   2483 //
   2484 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2485 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2486 //
   2487 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2488 //
   2489 // This file contains Original Code and/or Modifications of Original Code
   2490 // as defined in and that are subject to the Apple Public Source License
   2491 // Version 2.0 (the 'License'). You may not use this file except in
   2492 // compliance with the License. The rights granted to you under the License
   2493 // may not be used to create, or enable the creation or redistribution of,
   2494 // unlawful or unlicensed copies of an Apple operating system, or to
   2495 // circumvent, violate, or enable the circumvention or violation of, any
   2496 // terms of an Apple operating system software license agreement.
   2497 //
   2498 // Please obtain a copy of the License at
   2499 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2500 //
   2501 // The Original Code and all software distributed under the License are
   2502 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2503 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2504 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2505 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2506 // Please see the License for the specific language governing rights and
   2507 // limitations under the License.
   2508 //
   2509 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2510 
   2511 type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
   2512 
   2513 // Darwin extensions
   2514 
   2515 // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
   2516 //
   2517 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2518 //
   2519 // This file contains Original Code and/or Modifications of Original Code
   2520 // as defined in and that are subject to the Apple Public Source License
   2521 // Version 2.0 (the 'License'). You may not use this file except in
   2522 // compliance with the License. The rights granted to you under the License
   2523 // may not be used to create, or enable the creation or redistribution of,
   2524 // unlawful or unlicensed copies of an Apple operating system, or to
   2525 // circumvent, violate, or enable the circumvention or violation of, any
   2526 // terms of an Apple operating system software license agreement.
   2527 //
   2528 // Please obtain a copy of the License at
   2529 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2530 //
   2531 // The Original Code and all software distributed under the License are
   2532 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2533 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2534 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2535 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2536 // Please see the License for the specific language governing rights and
   2537 // limitations under the License.
   2538 //
   2539 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2540 // Copyright (c) 1992, 1993
   2541 //	The Regents of the University of California.  All rights reserved.
   2542 //
   2543 // Redistribution and use in source and binary forms, with or without
   2544 // modification, are permitted provided that the following conditions
   2545 // are met:
   2546 // 1. Redistributions of source code must retain the above copyright
   2547 //    notice, this list of conditions and the following disclaimer.
   2548 // 2. Redistributions in binary form must reproduce the above copyright
   2549 //    notice, this list of conditions and the following disclaimer in the
   2550 //    documentation and/or other materials provided with the distribution.
   2551 // 3. All advertising materials mentioning features or use of this software
   2552 //    must display the following acknowledgement:
   2553 //	This product includes software developed by the University of
   2554 //	California, Berkeley and its contributors.
   2555 // 4. Neither the name of the University nor the names of its contributors
   2556 //    may be used to endorse or promote products derived from this software
   2557 //    without specific prior written permission.
   2558 //
   2559 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   2560 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   2561 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   2562 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   2563 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   2564 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   2565 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   2566 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   2567 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   2568 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   2569 // SUCH DAMAGE.
   2570 //
   2571 //	@(#)select.h	8.2 (Berkeley) 1/4/94
   2572 
   2573 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
   2574 //
   2575 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2576 //
   2577 // This file contains Original Code and/or Modifications of Original Code
   2578 // as defined in and that are subject to the Apple Public Source License
   2579 // Version 2.0 (the 'License'). You may not use this file except in
   2580 // compliance with the License. The rights granted to you under the License
   2581 // may not be used to create, or enable the creation or redistribution of,
   2582 // unlawful or unlicensed copies of an Apple operating system, or to
   2583 // circumvent, violate, or enable the circumvention or violation of, any
   2584 // terms of an Apple operating system software license agreement.
   2585 //
   2586 // Please obtain a copy of the License at
   2587 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2588 //
   2589 // The Original Code and all software distributed under the License are
   2590 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2591 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2592 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2593 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2594 // Please see the License for the specific language governing rights and
   2595 // limitations under the License.
   2596 //
   2597 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2598 
   2599 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   2600 //
   2601 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2602 //
   2603 // This file contains Original Code and/or Modifications of Original Code
   2604 // as defined in and that are subject to the Apple Public Source License
   2605 // Version 2.0 (the 'License'). You may not use this file except in
   2606 // compliance with the License. The rights granted to you under the License
   2607 // may not be used to create, or enable the creation or redistribution of,
   2608 // unlawful or unlicensed copies of an Apple operating system, or to
   2609 // circumvent, violate, or enable the circumvention or violation of, any
   2610 // terms of an Apple operating system software license agreement.
   2611 //
   2612 // Please obtain a copy of the License at
   2613 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2614 //
   2615 // The Original Code and all software distributed under the License are
   2616 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2617 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2618 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2619 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2620 // Please see the License for the specific language governing rights and
   2621 // limitations under the License.
   2622 //
   2623 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2624 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   2625 // Copyright (c) 1991, 1993
   2626 //	The Regents of the University of California.  All rights reserved.
   2627 //
   2628 // This code is derived from software contributed to Berkeley by
   2629 // Berkeley Software Design, Inc.
   2630 //
   2631 // Redistribution and use in source and binary forms, with or without
   2632 // modification, are permitted provided that the following conditions
   2633 // are met:
   2634 // 1. Redistributions of source code must retain the above copyright
   2635 //    notice, this list of conditions and the following disclaimer.
   2636 // 2. Redistributions in binary form must reproduce the above copyright
   2637 //    notice, this list of conditions and the following disclaimer in the
   2638 //    documentation and/or other materials provided with the distribution.
   2639 // 3. All advertising materials mentioning features or use of this software
   2640 //    must display the following acknowledgement:
   2641 //	This product includes software developed by the University of
   2642 //	California, Berkeley and its contributors.
   2643 // 4. Neither the name of the University nor the names of its contributors
   2644 //    may be used to endorse or promote products derived from this software
   2645 //    without specific prior written permission.
   2646 //
   2647 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   2648 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   2649 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   2650 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   2651 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   2652 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   2653 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   2654 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   2655 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   2656 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   2657 // SUCH DAMAGE.
   2658 //
   2659 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   2660 
   2661 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2662 //
   2663 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2664 //
   2665 // This file contains Original Code and/or Modifications of Original Code
   2666 // as defined in and that are subject to the Apple Public Source License
   2667 // Version 2.0 (the 'License'). You may not use this file except in
   2668 // compliance with the License. The rights granted to you under the License
   2669 // may not be used to create, or enable the creation or redistribution of,
   2670 // unlawful or unlicensed copies of an Apple operating system, or to
   2671 // circumvent, violate, or enable the circumvention or violation of, any
   2672 // terms of an Apple operating system software license agreement.
   2673 //
   2674 // Please obtain a copy of the License at
   2675 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2676 //
   2677 // The Original Code and all software distributed under the License are
   2678 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2679 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2680 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2681 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2682 // Please see the License for the specific language governing rights and
   2683 // limitations under the License.
   2684 //
   2685 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2686 
   2687 // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
   2688 // The timespec structure shall be defined as described in <time.h>
   2689 // The <sys/select.h> header shall define the timeval structure.
   2690 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2691 //
   2692 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2693 //
   2694 // This file contains Original Code and/or Modifications of Original Code
   2695 // as defined in and that are subject to the Apple Public Source License
   2696 // Version 2.0 (the 'License'). You may not use this file except in
   2697 // compliance with the License. The rights granted to you under the License
   2698 // may not be used to create, or enable the creation or redistribution of,
   2699 // unlawful or unlicensed copies of an Apple operating system, or to
   2700 // circumvent, violate, or enable the circumvention or violation of, any
   2701 // terms of an Apple operating system software license agreement.
   2702 //
   2703 // Please obtain a copy of the License at
   2704 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2705 //
   2706 // The Original Code and all software distributed under the License are
   2707 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2708 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2709 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2710 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2711 // Please see the License for the specific language governing rights and
   2712 // limitations under the License.
   2713 //
   2714 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2715 
   2716 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   2717 //
   2718 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2719 //
   2720 // This file contains Original Code and/or Modifications of Original Code
   2721 // as defined in and that are subject to the Apple Public Source License
   2722 // Version 2.0 (the 'License'). You may not use this file except in
   2723 // compliance with the License. The rights granted to you under the License
   2724 // may not be used to create, or enable the creation or redistribution of,
   2725 // unlawful or unlicensed copies of an Apple operating system, or to
   2726 // circumvent, violate, or enable the circumvention or violation of, any
   2727 // terms of an Apple operating system software license agreement.
   2728 //
   2729 // Please obtain a copy of the License at
   2730 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2731 //
   2732 // The Original Code and all software distributed under the License are
   2733 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2734 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2735 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2736 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2737 // Please see the License for the specific language governing rights and
   2738 // limitations under the License.
   2739 //
   2740 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2741 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   2742 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   2743 //
   2744 // @APPLE_LICENSE_HEADER_START@
   2745 //
   2746 // This file contains Original Code and/or Modifications of Original Code
   2747 // as defined in and that are subject to the Apple Public Source License
   2748 // Version 2.0 (the 'License'). You may not use this file except in
   2749 // compliance with the License. Please obtain a copy of the License at
   2750 // http://www.opensource.apple.com/apsl/ and read it before using this
   2751 // file.
   2752 //
   2753 // The Original Code and all software distributed under the License are
   2754 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2755 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2756 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2757 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2758 // Please see the License for the specific language governing rights and
   2759 // limitations under the License.
   2760 //
   2761 // @APPLE_LICENSE_HEADER_END@
   2762 
   2763 // Select uses bit masks of file descriptors in longs.  These macros
   2764 // manipulate such bit fields (the filesystem macros use chars).  The
   2765 // extra protection here is to permit application redefinition above
   2766 // the default size.
   2767 
   2768 type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
   2769 
   2770 // Darwin extensions
   2771 
   2772 // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
   2773 //
   2774 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2775 //
   2776 // This file contains Original Code and/or Modifications of Original Code
   2777 // as defined in and that are subject to the Apple Public Source License
   2778 // Version 2.0 (the 'License'). You may not use this file except in
   2779 // compliance with the License. The rights granted to you under the License
   2780 // may not be used to create, or enable the creation or redistribution of,
   2781 // unlawful or unlicensed copies of an Apple operating system, or to
   2782 // circumvent, violate, or enable the circumvention or violation of, any
   2783 // terms of an Apple operating system software license agreement.
   2784 //
   2785 // Please obtain a copy of the License at
   2786 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2787 //
   2788 // The Original Code and all software distributed under the License are
   2789 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2790 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2791 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2792 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2793 // Please see the License for the specific language governing rights and
   2794 // limitations under the License.
   2795 //
   2796 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2797 // Copyright (c) 1992, 1993
   2798 //	The Regents of the University of California.  All rights reserved.
   2799 //
   2800 // Redistribution and use in source and binary forms, with or without
   2801 // modification, are permitted provided that the following conditions
   2802 // are met:
   2803 // 1. Redistributions of source code must retain the above copyright
   2804 //    notice, this list of conditions and the following disclaimer.
   2805 // 2. Redistributions in binary form must reproduce the above copyright
   2806 //    notice, this list of conditions and the following disclaimer in the
   2807 //    documentation and/or other materials provided with the distribution.
   2808 // 3. All advertising materials mentioning features or use of this software
   2809 //    must display the following acknowledgement:
   2810 //	This product includes software developed by the University of
   2811 //	California, Berkeley and its contributors.
   2812 // 4. Neither the name of the University nor the names of its contributors
   2813 //    may be used to endorse or promote products derived from this software
   2814 //    without specific prior written permission.
   2815 //
   2816 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   2817 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   2818 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   2819 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   2820 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   2821 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   2822 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   2823 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   2824 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   2825 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   2826 // SUCH DAMAGE.
   2827 //
   2828 //	@(#)select.h	8.2 (Berkeley) 1/4/94
   2829 
   2830 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
   2831 //
   2832 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2833 //
   2834 // This file contains Original Code and/or Modifications of Original Code
   2835 // as defined in and that are subject to the Apple Public Source License
   2836 // Version 2.0 (the 'License'). You may not use this file except in
   2837 // compliance with the License. The rights granted to you under the License
   2838 // may not be used to create, or enable the creation or redistribution of,
   2839 // unlawful or unlicensed copies of an Apple operating system, or to
   2840 // circumvent, violate, or enable the circumvention or violation of, any
   2841 // terms of an Apple operating system software license agreement.
   2842 //
   2843 // Please obtain a copy of the License at
   2844 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2845 //
   2846 // The Original Code and all software distributed under the License are
   2847 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2848 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2849 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2850 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2851 // Please see the License for the specific language governing rights and
   2852 // limitations under the License.
   2853 //
   2854 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2855 
   2856 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   2857 //
   2858 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2859 //
   2860 // This file contains Original Code and/or Modifications of Original Code
   2861 // as defined in and that are subject to the Apple Public Source License
   2862 // Version 2.0 (the 'License'). You may not use this file except in
   2863 // compliance with the License. The rights granted to you under the License
   2864 // may not be used to create, or enable the creation or redistribution of,
   2865 // unlawful or unlicensed copies of an Apple operating system, or to
   2866 // circumvent, violate, or enable the circumvention or violation of, any
   2867 // terms of an Apple operating system software license agreement.
   2868 //
   2869 // Please obtain a copy of the License at
   2870 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2871 //
   2872 // The Original Code and all software distributed under the License are
   2873 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2874 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2875 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2876 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2877 // Please see the License for the specific language governing rights and
   2878 // limitations under the License.
   2879 //
   2880 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2881 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   2882 // Copyright (c) 1991, 1993
   2883 //	The Regents of the University of California.  All rights reserved.
   2884 //
   2885 // This code is derived from software contributed to Berkeley by
   2886 // Berkeley Software Design, Inc.
   2887 //
   2888 // Redistribution and use in source and binary forms, with or without
   2889 // modification, are permitted provided that the following conditions
   2890 // are met:
   2891 // 1. Redistributions of source code must retain the above copyright
   2892 //    notice, this list of conditions and the following disclaimer.
   2893 // 2. Redistributions in binary form must reproduce the above copyright
   2894 //    notice, this list of conditions and the following disclaimer in the
   2895 //    documentation and/or other materials provided with the distribution.
   2896 // 3. All advertising materials mentioning features or use of this software
   2897 //    must display the following acknowledgement:
   2898 //	This product includes software developed by the University of
   2899 //	California, Berkeley and its contributors.
   2900 // 4. Neither the name of the University nor the names of its contributors
   2901 //    may be used to endorse or promote products derived from this software
   2902 //    without specific prior written permission.
   2903 //
   2904 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   2905 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   2906 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   2907 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   2908 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   2909 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   2910 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   2911 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   2912 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   2913 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   2914 // SUCH DAMAGE.
   2915 //
   2916 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   2917 
   2918 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   2919 //
   2920 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2921 //
   2922 // This file contains Original Code and/or Modifications of Original Code
   2923 // as defined in and that are subject to the Apple Public Source License
   2924 // Version 2.0 (the 'License'). You may not use this file except in
   2925 // compliance with the License. The rights granted to you under the License
   2926 // may not be used to create, or enable the creation or redistribution of,
   2927 // unlawful or unlicensed copies of an Apple operating system, or to
   2928 // circumvent, violate, or enable the circumvention or violation of, any
   2929 // terms of an Apple operating system software license agreement.
   2930 //
   2931 // Please obtain a copy of the License at
   2932 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2933 //
   2934 // The Original Code and all software distributed under the License are
   2935 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2936 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2937 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2938 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2939 // Please see the License for the specific language governing rights and
   2940 // limitations under the License.
   2941 //
   2942 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2943 
   2944 // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
   2945 // The timespec structure shall be defined as described in <time.h>
   2946 // The <sys/select.h> header shall define the timeval structure.
   2947 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   2948 //
   2949 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2950 //
   2951 // This file contains Original Code and/or Modifications of Original Code
   2952 // as defined in and that are subject to the Apple Public Source License
   2953 // Version 2.0 (the 'License'). You may not use this file except in
   2954 // compliance with the License. The rights granted to you under the License
   2955 // may not be used to create, or enable the creation or redistribution of,
   2956 // unlawful or unlicensed copies of an Apple operating system, or to
   2957 // circumvent, violate, or enable the circumvention or violation of, any
   2958 // terms of an Apple operating system software license agreement.
   2959 //
   2960 // Please obtain a copy of the License at
   2961 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2962 //
   2963 // The Original Code and all software distributed under the License are
   2964 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2965 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2966 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2967 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2968 // Please see the License for the specific language governing rights and
   2969 // limitations under the License.
   2970 //
   2971 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2972 
   2973 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   2974 //
   2975 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   2976 //
   2977 // This file contains Original Code and/or Modifications of Original Code
   2978 // as defined in and that are subject to the Apple Public Source License
   2979 // Version 2.0 (the 'License'). You may not use this file except in
   2980 // compliance with the License. The rights granted to you under the License
   2981 // may not be used to create, or enable the creation or redistribution of,
   2982 // unlawful or unlicensed copies of an Apple operating system, or to
   2983 // circumvent, violate, or enable the circumvention or violation of, any
   2984 // terms of an Apple operating system software license agreement.
   2985 //
   2986 // Please obtain a copy of the License at
   2987 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   2988 //
   2989 // The Original Code and all software distributed under the License are
   2990 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   2991 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   2992 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   2993 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   2994 // Please see the License for the specific language governing rights and
   2995 // limitations under the License.
   2996 //
   2997 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   2998 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   2999 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   3000 //
   3001 // @APPLE_LICENSE_HEADER_START@
   3002 //
   3003 // This file contains Original Code and/or Modifications of Original Code
   3004 // as defined in and that are subject to the Apple Public Source License
   3005 // Version 2.0 (the 'License'). You may not use this file except in
   3006 // compliance with the License. Please obtain a copy of the License at
   3007 // http://www.opensource.apple.com/apsl/ and read it before using this
   3008 // file.
   3009 //
   3010 // The Original Code and all software distributed under the License are
   3011 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3012 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3013 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3014 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3015 // Please see the License for the specific language governing rights and
   3016 // limitations under the License.
   3017 //
   3018 // @APPLE_LICENSE_HEADER_END@
   3019 
   3020 // Select uses bit masks of file descriptors in longs.  These macros
   3021 // manipulate such bit fields (the filesystem macros use chars).  The
   3022 // extra protection here is to permit application redefinition above
   3023 // the default size.
   3024 
   3025 type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
   3026 
   3027 // Use the built-in bzero function instead of the library version so that
   3028 // we do not pollute the namespace or introduce prototype warnings.
   3029 
   3030 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3031 //
   3032 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3033 //
   3034 // This file contains Original Code and/or Modifications of Original Code
   3035 // as defined in and that are subject to the Apple Public Source License
   3036 // Version 2.0 (the 'License'). You may not use this file except in
   3037 // compliance with the License. The rights granted to you under the License
   3038 // may not be used to create, or enable the creation or redistribution of,
   3039 // unlawful or unlicensed copies of an Apple operating system, or to
   3040 // circumvent, violate, or enable the circumvention or violation of, any
   3041 // terms of an Apple operating system software license agreement.
   3042 //
   3043 // Please obtain a copy of the License at
   3044 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3045 //
   3046 // The Original Code and all software distributed under the License are
   3047 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3048 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3049 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3050 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3051 // Please see the License for the specific language governing rights and
   3052 // limitations under the License.
   3053 //
   3054 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3055 
   3056 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   3057 //
   3058 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3059 //
   3060 // This file contains Original Code and/or Modifications of Original Code
   3061 // as defined in and that are subject to the Apple Public Source License
   3062 // Version 2.0 (the 'License'). You may not use this file except in
   3063 // compliance with the License. The rights granted to you under the License
   3064 // may not be used to create, or enable the creation or redistribution of,
   3065 // unlawful or unlicensed copies of an Apple operating system, or to
   3066 // circumvent, violate, or enable the circumvention or violation of, any
   3067 // terms of an Apple operating system software license agreement.
   3068 //
   3069 // Please obtain a copy of the License at
   3070 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3071 //
   3072 // The Original Code and all software distributed under the License are
   3073 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3074 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3075 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3076 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3077 // Please see the License for the specific language governing rights and
   3078 // limitations under the License.
   3079 //
   3080 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3081 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   3082 
   3083 type Timespec = struct {
   3084 	Ftv_sec  X__darwin_time_t
   3085 	Ftv_nsec int64
   3086 } /* _timespec.h:33:1 */
   3087 
   3088 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3089 //
   3090 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3091 //
   3092 // This file contains Original Code and/or Modifications of Original Code
   3093 // as defined in and that are subject to the Apple Public Source License
   3094 // Version 2.0 (the 'License'). You may not use this file except in
   3095 // compliance with the License. The rights granted to you under the License
   3096 // may not be used to create, or enable the creation or redistribution of,
   3097 // unlawful or unlicensed copies of an Apple operating system, or to
   3098 // circumvent, violate, or enable the circumvention or violation of, any
   3099 // terms of an Apple operating system software license agreement.
   3100 //
   3101 // Please obtain a copy of the License at
   3102 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3103 //
   3104 // The Original Code and all software distributed under the License are
   3105 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3106 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3107 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3108 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3109 // Please see the License for the specific language governing rights and
   3110 // limitations under the License.
   3111 //
   3112 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3113 
   3114 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   3115 //
   3116 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3117 //
   3118 // This file contains Original Code and/or Modifications of Original Code
   3119 // as defined in and that are subject to the Apple Public Source License
   3120 // Version 2.0 (the 'License'). You may not use this file except in
   3121 // compliance with the License. The rights granted to you under the License
   3122 // may not be used to create, or enable the creation or redistribution of,
   3123 // unlawful or unlicensed copies of an Apple operating system, or to
   3124 // circumvent, violate, or enable the circumvention or violation of, any
   3125 // terms of an Apple operating system software license agreement.
   3126 //
   3127 // Please obtain a copy of the License at
   3128 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3129 //
   3130 // The Original Code and all software distributed under the License are
   3131 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3132 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3133 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3134 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3135 // Please see the License for the specific language governing rights and
   3136 // limitations under the License.
   3137 //
   3138 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3139 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   3140 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3141 //
   3142 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3143 //
   3144 // This file contains Original Code and/or Modifications of Original Code
   3145 // as defined in and that are subject to the Apple Public Source License
   3146 // Version 2.0 (the 'License'). You may not use this file except in
   3147 // compliance with the License. The rights granted to you under the License
   3148 // may not be used to create, or enable the creation or redistribution of,
   3149 // unlawful or unlicensed copies of an Apple operating system, or to
   3150 // circumvent, violate, or enable the circumvention or violation of, any
   3151 // terms of an Apple operating system software license agreement.
   3152 //
   3153 // Please obtain a copy of the License at
   3154 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3155 //
   3156 // The Original Code and all software distributed under the License are
   3157 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3158 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3159 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3160 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3161 // Please see the License for the specific language governing rights and
   3162 // limitations under the License.
   3163 //
   3164 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3165 
   3166 type Timeval = struct {
   3167 	Ftv_sec      X__darwin_time_t
   3168 	Ftv_usec     X__darwin_suseconds_t
   3169 	F__ccgo_pad1 [4]byte
   3170 } /* _timeval.h:34:1 */
   3171 
   3172 // The time_t and suseconds_t types shall be defined as described in
   3173 // <sys/types.h>
   3174 // The sigset_t type shall be defined as described in <signal.h>
   3175 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3176 //
   3177 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3178 //
   3179 // This file contains Original Code and/or Modifications of Original Code
   3180 // as defined in and that are subject to the Apple Public Source License
   3181 // Version 2.0 (the 'License'). You may not use this file except in
   3182 // compliance with the License. The rights granted to you under the License
   3183 // may not be used to create, or enable the creation or redistribution of,
   3184 // unlawful or unlicensed copies of an Apple operating system, or to
   3185 // circumvent, violate, or enable the circumvention or violation of, any
   3186 // terms of an Apple operating system software license agreement.
   3187 //
   3188 // Please obtain a copy of the License at
   3189 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3190 //
   3191 // The Original Code and all software distributed under the License are
   3192 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3193 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3194 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3195 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3196 // Please see the License for the specific language governing rights and
   3197 // limitations under the License.
   3198 //
   3199 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3200 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
   3201 //
   3202 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3203 //
   3204 // This file contains Original Code and/or Modifications of Original Code
   3205 // as defined in and that are subject to the Apple Public Source License
   3206 // Version 2.0 (the 'License'). You may not use this file except in
   3207 // compliance with the License. The rights granted to you under the License
   3208 // may not be used to create, or enable the creation or redistribution of,
   3209 // unlawful or unlicensed copies of an Apple operating system, or to
   3210 // circumvent, violate, or enable the circumvention or violation of, any
   3211 // terms of an Apple operating system software license agreement.
   3212 //
   3213 // Please obtain a copy of the License at
   3214 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3215 //
   3216 // The Original Code and all software distributed under the License are
   3217 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3218 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3219 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3220 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3221 // Please see the License for the specific language governing rights and
   3222 // limitations under the License.
   3223 //
   3224 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3225 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   3226 type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
   3227 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3228 //
   3229 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3230 //
   3231 // This file contains Original Code and/or Modifications of Original Code
   3232 // as defined in and that are subject to the Apple Public Source License
   3233 // Version 2.0 (the 'License'). You may not use this file except in
   3234 // compliance with the License. The rights granted to you under the License
   3235 // may not be used to create, or enable the creation or redistribution of,
   3236 // unlawful or unlicensed copies of an Apple operating system, or to
   3237 // circumvent, violate, or enable the circumvention or violation of, any
   3238 // terms of an Apple operating system software license agreement.
   3239 //
   3240 // Please obtain a copy of the License at
   3241 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3242 //
   3243 // The Original Code and all software distributed under the License are
   3244 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3245 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3246 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3247 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3248 // Please see the License for the specific language governing rights and
   3249 // limitations under the License.
   3250 //
   3251 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3252 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3253 //
   3254 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3255 //
   3256 // This file contains Original Code and/or Modifications of Original Code
   3257 // as defined in and that are subject to the Apple Public Source License
   3258 // Version 2.0 (the 'License'). You may not use this file except in
   3259 // compliance with the License. The rights granted to you under the License
   3260 // may not be used to create, or enable the creation or redistribution of,
   3261 // unlawful or unlicensed copies of an Apple operating system, or to
   3262 // circumvent, violate, or enable the circumvention or violation of, any
   3263 // terms of an Apple operating system software license agreement.
   3264 //
   3265 // Please obtain a copy of the License at
   3266 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3267 //
   3268 // The Original Code and all software distributed under the License are
   3269 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3270 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3271 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3272 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3273 // Please see the License for the specific language governing rights and
   3274 // limitations under the License.
   3275 //
   3276 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3277 
   3278 type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
   3279 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3280 //
   3281 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3282 //
   3283 // This file contains Original Code and/or Modifications of Original Code
   3284 // as defined in and that are subject to the Apple Public Source License
   3285 // Version 2.0 (the 'License'). You may not use this file except in
   3286 // compliance with the License. The rights granted to you under the License
   3287 // may not be used to create, or enable the creation or redistribution of,
   3288 // unlawful or unlicensed copies of an Apple operating system, or to
   3289 // circumvent, violate, or enable the circumvention or violation of, any
   3290 // terms of an Apple operating system software license agreement.
   3291 //
   3292 // Please obtain a copy of the License at
   3293 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3294 //
   3295 // The Original Code and all software distributed under the License are
   3296 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3297 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3298 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3299 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3300 // Please see the License for the specific language governing rights and
   3301 // limitations under the License.
   3302 //
   3303 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3304 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3305 //
   3306 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3307 //
   3308 // This file contains Original Code and/or Modifications of Original Code
   3309 // as defined in and that are subject to the Apple Public Source License
   3310 // Version 2.0 (the 'License'). You may not use this file except in
   3311 // compliance with the License. The rights granted to you under the License
   3312 // may not be used to create, or enable the creation or redistribution of,
   3313 // unlawful or unlicensed copies of an Apple operating system, or to
   3314 // circumvent, violate, or enable the circumvention or violation of, any
   3315 // terms of an Apple operating system software license agreement.
   3316 //
   3317 // Please obtain a copy of the License at
   3318 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3319 //
   3320 // The Original Code and all software distributed under the License are
   3321 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3322 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3323 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3324 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3325 // Please see the License for the specific language governing rights and
   3326 // limitations under the License.
   3327 //
   3328 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3329 
   3330 type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
   3331 
   3332 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3333 //
   3334 // @APPLE_OSREFERENCE_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. The rights granted to you under the License
   3340 // may not be used to create, or enable the creation or redistribution of,
   3341 // unlawful or unlicensed copies of an Apple operating system, or to
   3342 // circumvent, violate, or enable the circumvention or violation of, any
   3343 // terms of an Apple operating system software license agreement.
   3344 //
   3345 // Please obtain a copy of the License at
   3346 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3347 //
   3348 // The Original Code and all software distributed under the License are
   3349 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3350 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3351 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3352 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3353 // Please see the License for the specific language governing rights and
   3354 // limitations under the License.
   3355 //
   3356 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3357 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3358 //
   3359 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3360 //
   3361 // This file contains Original Code and/or Modifications of Original Code
   3362 // as defined in and that are subject to the Apple Public Source License
   3363 // Version 2.0 (the 'License'). You may not use this file except in
   3364 // compliance with the License. The rights granted to you under the License
   3365 // may not be used to create, or enable the creation or redistribution of,
   3366 // unlawful or unlicensed copies of an Apple operating system, or to
   3367 // circumvent, violate, or enable the circumvention or violation of, any
   3368 // terms of an Apple operating system software license agreement.
   3369 //
   3370 // Please obtain a copy of the License at
   3371 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3372 //
   3373 // The Original Code and all software distributed under the License are
   3374 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3375 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3376 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3377 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3378 // Please see the License for the specific language governing rights and
   3379 // limitations under the License.
   3380 //
   3381 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3382 
   3383 type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
   3384 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3385 //
   3386 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3387 //
   3388 // This file contains Original Code and/or Modifications of Original Code
   3389 // as defined in and that are subject to the Apple Public Source License
   3390 // Version 2.0 (the 'License'). You may not use this file except in
   3391 // compliance with the License. The rights granted to you under the License
   3392 // may not be used to create, or enable the creation or redistribution of,
   3393 // unlawful or unlicensed copies of an Apple operating system, or to
   3394 // circumvent, violate, or enable the circumvention or violation of, any
   3395 // terms of an Apple operating system software license agreement.
   3396 //
   3397 // Please obtain a copy of the License at
   3398 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3399 //
   3400 // The Original Code and all software distributed under the License are
   3401 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3402 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3403 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3404 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3405 // Please see the License for the specific language governing rights and
   3406 // limitations under the License.
   3407 //
   3408 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3409 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3410 //
   3411 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3412 //
   3413 // This file contains Original Code and/or Modifications of Original Code
   3414 // as defined in and that are subject to the Apple Public Source License
   3415 // Version 2.0 (the 'License'). You may not use this file except in
   3416 // compliance with the License. The rights granted to you under the License
   3417 // may not be used to create, or enable the creation or redistribution of,
   3418 // unlawful or unlicensed copies of an Apple operating system, or to
   3419 // circumvent, violate, or enable the circumvention or violation of, any
   3420 // terms of an Apple operating system software license agreement.
   3421 //
   3422 // Please obtain a copy of the License at
   3423 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3424 //
   3425 // The Original Code and all software distributed under the License are
   3426 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3427 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3428 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3429 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3430 // Please see the License for the specific language governing rights and
   3431 // limitations under the License.
   3432 //
   3433 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3434 
   3435 type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
   3436 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   3437 //
   3438 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3439 //
   3440 // This file contains Original Code and/or Modifications of Original Code
   3441 // as defined in and that are subject to the Apple Public Source License
   3442 // Version 2.0 (the 'License'). You may not use this file except in
   3443 // compliance with the License. The rights granted to you under the License
   3444 // may not be used to create, or enable the creation or redistribution of,
   3445 // unlawful or unlicensed copies of an Apple operating system, or to
   3446 // circumvent, violate, or enable the circumvention or violation of, any
   3447 // terms of an Apple operating system software license agreement.
   3448 //
   3449 // Please obtain a copy of the License at
   3450 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3451 //
   3452 // The Original Code and all software distributed under the License are
   3453 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3454 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3455 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3456 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3457 // Please see the License for the specific language governing rights and
   3458 // limitations under the License.
   3459 //
   3460 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3461 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   3462 //
   3463 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   3464 //
   3465 // This file contains Original Code and/or Modifications of Original Code
   3466 // as defined in and that are subject to the Apple Public Source License
   3467 // Version 2.0 (the 'License'). You may not use this file except in
   3468 // compliance with the License. The rights granted to you under the License
   3469 // may not be used to create, or enable the creation or redistribution of,
   3470 // unlawful or unlicensed copies of an Apple operating system, or to
   3471 // circumvent, violate, or enable the circumvention or violation of, any
   3472 // terms of an Apple operating system software license agreement.
   3473 //
   3474 // Please obtain a copy of the License at
   3475 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   3476 //
   3477 // The Original Code and all software distributed under the License are
   3478 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   3479 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   3480 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   3481 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   3482 // Please see the License for the specific language governing rights and
   3483 // limitations under the License.
   3484 //
   3485 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   3486 
   3487 type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */
   3488 
   3489 var _ int8 /* gen.c:2:13: */