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