modernc.org/xau@v1.0.16/internal/autest/main_darwin_amd64.go (about) 1 // Code generated by 'ccgo -export-fields F -lmodernc.org/xau/lib -o internal/autest/main_darwin_amd64.go -trace-translation-units /var/folders/b1/8mwd0y2x52l16_sqf8zbtz8r0000gn/T/go-generate-920686997/cdb.json Autest', DO NOT EDIT. 2 3 package main 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 11 "modernc.org/libc" 12 "modernc.org/libc/sys/types" 13 "modernc.org/xau/lib" 14 ) 15 16 var _ = math.Pi 17 var _ reflect.Kind 18 var _ atomic.Value 19 var _ unsafe.Pointer 20 var _ types.Size_t 21 22 func main() { libc.Start(main1) } 23 24 // Return values from XauLockAuth 25 26 // DO NOT EDIT THIS FILE. 27 // 28 // It has been auto-edited by fixincludes from: 29 // 30 // "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h" 31 // 32 // This had to be done to correct non-standard usages in the 33 // original, manufacturer supplied header file. 34 35 // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved. 36 // 37 // @APPLE_LICENSE_HEADER_START@ 38 // 39 // This file contains Original Code and/or Modifications of Original Code 40 // as defined in and that are subject to the Apple Public Source License 41 // Version 2.0 (the 'License'). You may not use this file except in 42 // compliance with the License. Please obtain a copy of the License at 43 // http://www.opensource.apple.com/apsl/ and read it before using this 44 // file. 45 // 46 // The Original Code and all software distributed under the License are 47 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 48 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 49 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 50 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 51 // Please see the License for the specific language governing rights and 52 // limitations under the License. 53 // 54 // @APPLE_LICENSE_HEADER_END@ 55 // - 56 // Copyright (c) 1990, 1993 57 // The Regents of the University of California. All rights reserved. 58 // 59 // Redistribution and use in source and binary forms, with or without 60 // modification, are permitted provided that the following conditions 61 // are met: 62 // 1. Redistributions of source code must retain the above copyright 63 // notice, this list of conditions and the following disclaimer. 64 // 2. Redistributions in binary form must reproduce the above copyright 65 // notice, this list of conditions and the following disclaimer in the 66 // documentation and/or other materials provided with the distribution. 67 // 3. All advertising materials mentioning features or use of this software 68 // must display the following acknowledgement: 69 // This product includes software developed by the University of 70 // California, Berkeley and its contributors. 71 // 4. Neither the name of the University nor the names of its contributors 72 // may be used to endorse or promote products derived from this software 73 // without specific prior written permission. 74 // 75 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 76 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 77 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 78 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 79 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 80 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 81 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 82 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 83 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 84 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 85 // SUCH DAMAGE. 86 // 87 // @(#)stdlib.h 8.5 (Berkeley) 5/19/95 88 89 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 90 // 91 // @APPLE_LICENSE_HEADER_START@ 92 // 93 // This file contains Original Code and/or Modifications of Original Code 94 // as defined in and that are subject to the Apple Public Source License 95 // Version 2.0 (the 'License'). You may not use this file except in 96 // compliance with the License. Please obtain a copy of the License at 97 // http://www.opensource.apple.com/apsl/ and read it before using this 98 // file. 99 // 100 // The Original Code and all software distributed under the License are 101 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 102 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 103 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 104 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 105 // Please see the License for the specific language governing rights and 106 // limitations under the License. 107 // 108 // @APPLE_LICENSE_HEADER_END@ 109 110 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 111 // 112 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 113 // 114 // This file contains Original Code and/or Modifications of Original Code 115 // as defined in and that are subject to the Apple Public Source License 116 // Version 2.0 (the 'License'). You may not use this file except in 117 // compliance with the License. The rights granted to you under the License 118 // may not be used to create, or enable the creation or redistribution of, 119 // unlawful or unlicensed copies of an Apple operating system, or to 120 // circumvent, violate, or enable the circumvention or violation of, any 121 // terms of an Apple operating system software license agreement. 122 // 123 // Please obtain a copy of the License at 124 // http://www.opensource.apple.com/apsl/ and read it before using this file. 125 // 126 // The Original Code and all software distributed under the License are 127 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 128 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 129 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 130 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 131 // Please see the License for the specific language governing rights and 132 // limitations under the License. 133 // 134 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 135 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 136 // Copyright (c) 1991, 1993 137 // The Regents of the University of California. All rights reserved. 138 // 139 // This code is derived from software contributed to Berkeley by 140 // Berkeley Software Design, Inc. 141 // 142 // Redistribution and use in source and binary forms, with or without 143 // modification, are permitted provided that the following conditions 144 // are met: 145 // 1. Redistributions of source code must retain the above copyright 146 // notice, this list of conditions and the following disclaimer. 147 // 2. Redistributions in binary form must reproduce the above copyright 148 // notice, this list of conditions and the following disclaimer in the 149 // documentation and/or other materials provided with the distribution. 150 // 3. All advertising materials mentioning features or use of this software 151 // must display the following acknowledgement: 152 // This product includes software developed by the University of 153 // California, Berkeley and its contributors. 154 // 4. Neither the name of the University nor the names of its contributors 155 // may be used to endorse or promote products derived from this software 156 // without specific prior written permission. 157 // 158 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 159 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 160 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 161 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 162 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 163 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 164 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 165 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 166 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 167 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 168 // SUCH DAMAGE. 169 // 170 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 171 172 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 173 // 174 // @APPLE_LICENSE_HEADER_START@ 175 // 176 // This file contains Original Code and/or Modifications of Original Code 177 // as defined in and that are subject to the Apple Public Source License 178 // Version 2.0 (the 'License'). You may not use this file except in 179 // compliance with the License. Please obtain a copy of the License at 180 // http://www.opensource.apple.com/apsl/ and read it before using this 181 // file. 182 // 183 // The Original Code and all software distributed under the License are 184 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 185 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 186 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 187 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 188 // Please see the License for the specific language governing rights and 189 // limitations under the License. 190 // 191 // @APPLE_LICENSE_HEADER_END@ 192 193 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 194 // 195 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 196 // 197 // This file contains Original Code and/or Modifications of Original Code 198 // as defined in and that are subject to the Apple Public Source License 199 // Version 2.0 (the 'License'). You may not use this file except in 200 // compliance with the License. The rights granted to you under the License 201 // may not be used to create, or enable the creation or redistribution of, 202 // unlawful or unlicensed copies of an Apple operating system, or to 203 // circumvent, violate, or enable the circumvention or violation of, any 204 // terms of an Apple operating system software license agreement. 205 // 206 // Please obtain a copy of the License at 207 // http://www.opensource.apple.com/apsl/ and read it before using this file. 208 // 209 // The Original Code and all software distributed under the License are 210 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 211 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 212 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 213 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 214 // Please see the License for the specific language governing rights and 215 // limitations under the License. 216 // 217 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 218 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 219 // Copyright (c) 1982, 1986, 1989, 1993, 1994 220 // The Regents of the University of California. All rights reserved. 221 // 222 // Redistribution and use in source and binary forms, with or without 223 // modification, are permitted provided that the following conditions 224 // are met: 225 // 1. Redistributions of source code must retain the above copyright 226 // notice, this list of conditions and the following disclaimer. 227 // 2. Redistributions in binary form must reproduce the above copyright 228 // notice, this list of conditions and the following disclaimer in the 229 // documentation and/or other materials provided with the distribution. 230 // 3. All advertising materials mentioning features or use of this software 231 // must display the following acknowledgement: 232 // This product includes software developed by the University of 233 // California, Berkeley and its contributors. 234 // 4. Neither the name of the University nor the names of its contributors 235 // may be used to endorse or promote products derived from this software 236 // without specific prior written permission. 237 // 238 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 239 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 240 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 241 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 242 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 243 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 244 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 245 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 246 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 247 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 248 // SUCH DAMAGE. 249 // 250 // @(#)wait.h 8.2 (Berkeley) 7/10/94 251 252 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 253 // 254 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 255 // 256 // This file contains Original Code and/or Modifications of Original Code 257 // as defined in and that are subject to the Apple Public Source License 258 // Version 2.0 (the 'License'). You may not use this file except in 259 // compliance with the License. The rights granted to you under the License 260 // may not be used to create, or enable the creation or redistribution of, 261 // unlawful or unlicensed copies of an Apple operating system, or to 262 // circumvent, violate, or enable the circumvention or violation of, any 263 // terms of an Apple operating system software license agreement. 264 // 265 // Please obtain a copy of the License at 266 // http://www.opensource.apple.com/apsl/ and read it before using this file. 267 // 268 // The Original Code and all software distributed under the License are 269 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 270 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 271 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 272 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 273 // Please see the License for the specific language governing rights and 274 // limitations under the License. 275 // 276 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 277 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 278 // Copyright (c) 1991, 1993 279 // The Regents of the University of California. All rights reserved. 280 // 281 // This code is derived from software contributed to Berkeley by 282 // Berkeley Software Design, Inc. 283 // 284 // Redistribution and use in source and binary forms, with or without 285 // modification, are permitted provided that the following conditions 286 // are met: 287 // 1. Redistributions of source code must retain the above copyright 288 // notice, this list of conditions and the following disclaimer. 289 // 2. Redistributions in binary form must reproduce the above copyright 290 // notice, this list of conditions and the following disclaimer in the 291 // documentation and/or other materials provided with the distribution. 292 // 3. All advertising materials mentioning features or use of this software 293 // must display the following acknowledgement: 294 // This product includes software developed by the University of 295 // California, Berkeley and its contributors. 296 // 4. Neither the name of the University nor the names of its contributors 297 // may be used to endorse or promote products derived from this software 298 // without specific prior written permission. 299 // 300 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 301 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 302 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 303 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 304 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 305 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 306 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 307 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 308 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 309 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 310 // SUCH DAMAGE. 311 // 312 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 313 314 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 315 // 316 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 317 // 318 // This file contains Original Code and/or Modifications of Original Code 319 // as defined in and that are subject to the Apple Public Source License 320 // Version 2.0 (the 'License'). You may not use this file except in 321 // compliance with the License. The rights granted to you under the License 322 // may not be used to create, or enable the creation or redistribution of, 323 // unlawful or unlicensed copies of an Apple operating system, or to 324 // circumvent, violate, or enable the circumvention or violation of, any 325 // terms of an Apple operating system software license agreement. 326 // 327 // Please obtain a copy of the License at 328 // http://www.opensource.apple.com/apsl/ and read it before using this file. 329 // 330 // The Original Code and all software distributed under the License are 331 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 332 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 333 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 334 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 335 // Please see the License for the specific language governing rights and 336 // limitations under the License. 337 // 338 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 339 340 // This file holds definitions relevent to the wait4 system call 341 // and the alternate interfaces that use it (wait, wait3, waitpid). 342 343 // [XSI] The type idtype_t shall be defined as an enumeration type whose 344 // possible values shall include at least P_ALL, P_PID, and P_PGID. 345 const ( /* wait.h:79:1: */ 346 P_ALL = 0 347 P_PID = 1 348 P_PGID = 2 349 ) 350 351 type ptrdiff_t = int64 /* <builtin>:3:26 */ 352 353 type size_t = uint64 /* <builtin>:9:23 */ 354 355 type wchar_t = int32 /* <builtin>:15:24 */ 356 357 // 358 // 359 // Copyright 1988, 1998 The Open Group 360 // 361 // Permission to use, copy, modify, distribute, and sell this software and its 362 // documentation for any purpose is hereby granted without fee, provided that 363 // the above copyright notice appear in all copies and that both that 364 // copyright notice and this permission notice appear in supporting 365 // documentation. 366 // 367 // The above copyright notice and this permission notice shall be included in 368 // all copies or substantial portions of the Software. 369 // 370 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 371 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 372 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 373 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 374 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 375 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 376 // 377 // Except as contained in this notice, the name of The Open Group shall not be 378 // used in advertising or otherwise to promote the sale, use or other dealings 379 // in this Software without prior written authorization from The Open Group. 380 // 381 382 // config.h. Generated from config.h.in by configure. 383 // config.h.in. Generated from configure.ac by autoheader. 384 385 // Define to 1 if you have the <dlfcn.h> header file. 386 387 // Define to 1 if you have the <inttypes.h> header file. 388 389 // Define to 1 if you have the <memory.h> header file. 390 391 // Define to 1 if you have the `pathconf' function. 392 393 // Define to 1 if you have the <stdint.h> header file. 394 395 // Define to 1 if you have the <stdlib.h> header file. 396 397 // Define to 1 if you have the <strings.h> header file. 398 399 // Define to 1 if you have the <string.h> header file. 400 401 // Define to 1 if you have the <sys/stat.h> header file. 402 403 // Define to 1 if you have the <sys/types.h> header file. 404 405 // Define to 1 if you have the <unistd.h> header file. 406 407 // Define to the sub-directory where libtool stores uninstalled libraries. 408 409 // Name of package 410 411 // Define to the address where bug reports for this package should be sent. 412 413 // Define to the full name of this package. 414 415 // Define to the full name and version of this package. 416 417 // Define to the one symbol short name of this package. 418 419 // Define to the home page for this package. 420 421 // Define to the version of this package. 422 423 // Major version of this package 424 425 // Minor version of this package 426 427 // Patch version of this package 428 429 // Define to 1 if you have the ANSI C header files. 430 431 // Enable extensions on AIX 3, Interix. 432 // Enable GNU extensions on systems that have them. 433 // Enable threading extensions on Solaris. 434 // Enable extensions on HP NonStop. 435 // Enable general extensions on Solaris. 436 437 // Version number of package 438 439 // Whether libXau is compiled with thread support 440 // #undef XTHREADS 441 442 // Whether libXau needs to use MT safe API's 443 // #undef XUSE_MTSAFE_API 444 445 // Define to 1 if on MINIX. 446 // #undef _MINIX 447 448 // Define to 2 if the system does not provide POSIX.1 features except with 449 // this defined. 450 // #undef _POSIX_1_SOURCE 451 452 // Define to 1 if you need to in order for `stat' and other things to work. 453 // #undef _POSIX_SOURCE 454 // 455 // 456 // Copyright 1988, 1998 The Open Group 457 // 458 // Permission to use, copy, modify, distribute, and sell this software and its 459 // documentation for any purpose is hereby granted without fee, provided that 460 // the above copyright notice appear in all copies and that both that 461 // copyright notice and this permission notice appear in supporting 462 // documentation. 463 // 464 // The above copyright notice and this permission notice shall be included in 465 // all copies or substantial portions of the Software. 466 // 467 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 468 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 469 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 470 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 471 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 472 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 473 // 474 // Except as contained in this notice, the name of The Open Group shall not be 475 // used in advertising or otherwise to promote the sale, use or other dealings 476 // in this Software without prior written authorization from The Open Group. 477 // 478 479 // struct xauth is full of implicit padding to properly align the pointers 480 // after the length fields. We can't clean that up without breaking ABI, 481 // so tell clang not to bother complaining about it. 482 483 type xauth = struct { 484 Ffamily uint16 485 Faddress_length uint16 486 F__ccgo_pad1 [4]byte 487 Faddress uintptr 488 Fnumber_length uint16 489 F__ccgo_pad2 [6]byte 490 Fnumber uintptr 491 Fname_length uint16 492 F__ccgo_pad3 [6]byte 493 Fname uintptr 494 Fdata_length uint16 495 F__ccgo_pad4 [6]byte 496 Fdata uintptr 497 } /* Xauth.h:38:9 */ 498 499 // 500 // 501 // Copyright 1988, 1998 The Open Group 502 // 503 // Permission to use, copy, modify, distribute, and sell this software and its 504 // documentation for any purpose is hereby granted without fee, provided that 505 // the above copyright notice appear in all copies and that both that 506 // copyright notice and this permission notice appear in supporting 507 // documentation. 508 // 509 // The above copyright notice and this permission notice shall be included in 510 // all copies or substantial portions of the Software. 511 // 512 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 513 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 514 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 515 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 516 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 517 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 518 // 519 // Except as contained in this notice, the name of The Open Group shall not be 520 // used in advertising or otherwise to promote the sale, use or other dealings 521 // in this Software without prior written authorization from The Open Group. 522 // 523 524 // config.h. Generated from config.h.in by configure. 525 // config.h.in. Generated from configure.ac by autoheader. 526 527 // Define to 1 if you have the <dlfcn.h> header file. 528 529 // Define to 1 if you have the <inttypes.h> header file. 530 531 // Define to 1 if you have the <memory.h> header file. 532 533 // Define to 1 if you have the `pathconf' function. 534 535 // Define to 1 if you have the <stdint.h> header file. 536 537 // Define to 1 if you have the <stdlib.h> header file. 538 539 // Define to 1 if you have the <strings.h> header file. 540 541 // Define to 1 if you have the <string.h> header file. 542 543 // Define to 1 if you have the <sys/stat.h> header file. 544 545 // Define to 1 if you have the <sys/types.h> header file. 546 547 // Define to 1 if you have the <unistd.h> header file. 548 549 // Define to the sub-directory where libtool stores uninstalled libraries. 550 551 // Name of package 552 553 // Define to the address where bug reports for this package should be sent. 554 555 // Define to the full name of this package. 556 557 // Define to the full name and version of this package. 558 559 // Define to the one symbol short name of this package. 560 561 // Define to the home page for this package. 562 563 // Define to the version of this package. 564 565 // Major version of this package 566 567 // Minor version of this package 568 569 // Patch version of this package 570 571 // Define to 1 if you have the ANSI C header files. 572 573 // Enable extensions on AIX 3, Interix. 574 // Enable GNU extensions on systems that have them. 575 // Enable threading extensions on Solaris. 576 // Enable extensions on HP NonStop. 577 // Enable general extensions on Solaris. 578 579 // Version number of package 580 581 // Whether libXau is compiled with thread support 582 // #undef XTHREADS 583 584 // Whether libXau needs to use MT safe API's 585 // #undef XUSE_MTSAFE_API 586 587 // Define to 1 if on MINIX. 588 // #undef _MINIX 589 590 // Define to 2 if the system does not provide POSIX.1 features except with 591 // this defined. 592 // #undef _POSIX_1_SOURCE 593 594 // Define to 1 if you need to in order for `stat' and other things to work. 595 // #undef _POSIX_SOURCE 596 // 597 // 598 // Copyright 1988, 1998 The Open Group 599 // 600 // Permission to use, copy, modify, distribute, and sell this software and its 601 // documentation for any purpose is hereby granted without fee, provided that 602 // the above copyright notice appear in all copies and that both that 603 // copyright notice and this permission notice appear in supporting 604 // documentation. 605 // 606 // The above copyright notice and this permission notice shall be included in 607 // all copies or substantial portions of the Software. 608 // 609 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 610 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 611 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 612 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 613 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 614 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 615 // 616 // Except as contained in this notice, the name of The Open Group shall not be 617 // used in advertising or otherwise to promote the sale, use or other dealings 618 // in this Software without prior written authorization from The Open Group. 619 // 620 621 // struct xauth is full of implicit padding to properly align the pointers 622 // after the length fields. We can't clean that up without breaking ABI, 623 // so tell clang not to bother complaining about it. 624 625 type Xauth = xauth /* Xauth.h:48:3 */ 626 627 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 628 // 629 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 630 // 631 // This file contains Original Code and/or Modifications of Original Code 632 // as defined in and that are subject to the Apple Public Source License 633 // Version 2.0 (the 'License'). You may not use this file except in 634 // compliance with the License. The rights granted to you under the License 635 // may not be used to create, or enable the creation or redistribution of, 636 // unlawful or unlicensed copies of an Apple operating system, or to 637 // circumvent, violate, or enable the circumvention or violation of, any 638 // terms of an Apple operating system software license agreement. 639 // 640 // Please obtain a copy of the License at 641 // http://www.opensource.apple.com/apsl/ and read it before using this file. 642 // 643 // The Original Code and all software distributed under the License are 644 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 645 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 646 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 647 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 648 // Please see the License for the specific language governing rights and 649 // limitations under the License. 650 // 651 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 652 653 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 654 // 655 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 656 // 657 // This file contains Original Code and/or Modifications of Original Code 658 // as defined in and that are subject to the Apple Public Source License 659 // Version 2.0 (the 'License'). You may not use this file except in 660 // compliance with the License. The rights granted to you under the License 661 // may not be used to create, or enable the creation or redistribution of, 662 // unlawful or unlicensed copies of an Apple operating system, or to 663 // circumvent, violate, or enable the circumvention or violation of, any 664 // terms of an Apple operating system software license agreement. 665 // 666 // Please obtain a copy of the License at 667 // http://www.opensource.apple.com/apsl/ and read it before using this file. 668 // 669 // The Original Code and all software distributed under the License are 670 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 671 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 672 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 673 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 674 // Please see the License for the specific language governing rights and 675 // limitations under the License. 676 // 677 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 678 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 679 // Copyright (c) 1991, 1993 680 // The Regents of the University of California. All rights reserved. 681 // 682 // This code is derived from software contributed to Berkeley by 683 // Berkeley Software Design, Inc. 684 // 685 // Redistribution and use in source and binary forms, with or without 686 // modification, are permitted provided that the following conditions 687 // are met: 688 // 1. Redistributions of source code must retain the above copyright 689 // notice, this list of conditions and the following disclaimer. 690 // 2. Redistributions in binary form must reproduce the above copyright 691 // notice, this list of conditions and the following disclaimer in the 692 // documentation and/or other materials provided with the distribution. 693 // 3. All advertising materials mentioning features or use of this software 694 // must display the following acknowledgement: 695 // This product includes software developed by the University of 696 // California, Berkeley and its contributors. 697 // 4. Neither the name of the University nor the names of its contributors 698 // may be used to endorse or promote products derived from this software 699 // without specific prior written permission. 700 // 701 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 702 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 703 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 704 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 705 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 706 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 707 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 708 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 709 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 710 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 711 // SUCH DAMAGE. 712 // 713 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 714 715 // pthread opaque structures 716 717 type __darwin_pthread_handler_rec = struct { 718 F__routine uintptr 719 F__arg uintptr 720 F__next uintptr 721 } /* _pthread_types.h:57:1 */ 722 723 type _opaque_pthread_attr_t = struct { 724 F__sig int64 725 F__opaque [56]int8 726 } /* _pthread_types.h:63:1 */ 727 728 type _opaque_pthread_cond_t = struct { 729 F__sig int64 730 F__opaque [40]int8 731 } /* _pthread_types.h:68:1 */ 732 733 type _opaque_pthread_condattr_t = struct { 734 F__sig int64 735 F__opaque [8]int8 736 } /* _pthread_types.h:73:1 */ 737 738 type _opaque_pthread_mutex_t = struct { 739 F__sig int64 740 F__opaque [56]int8 741 } /* _pthread_types.h:78:1 */ 742 743 type _opaque_pthread_mutexattr_t = struct { 744 F__sig int64 745 F__opaque [8]int8 746 } /* _pthread_types.h:83:1 */ 747 748 type _opaque_pthread_once_t = struct { 749 F__sig int64 750 F__opaque [8]int8 751 } /* _pthread_types.h:88:1 */ 752 753 type _opaque_pthread_rwlock_t = struct { 754 F__sig int64 755 F__opaque [192]int8 756 } /* _pthread_types.h:93:1 */ 757 758 type _opaque_pthread_rwlockattr_t = struct { 759 F__sig int64 760 F__opaque [16]int8 761 } /* _pthread_types.h:98:1 */ 762 763 type _opaque_pthread_t = struct { 764 F__sig int64 765 F__cleanup_stack uintptr 766 F__opaque [8176]int8 767 } /* _pthread_types.h:103:1 */ 768 769 // C11 Annex K 770 771 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 772 // 773 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 774 // 775 // This file contains Original Code and/or Modifications of Original Code 776 // as defined in and that are subject to the Apple Public Source License 777 // Version 2.0 (the 'License'). You may not use this file except in 778 // compliance with the License. The rights granted to you under the License 779 // may not be used to create, or enable the creation or redistribution of, 780 // unlawful or unlicensed copies of an Apple operating system, or to 781 // circumvent, violate, or enable the circumvention or violation of, any 782 // terms of an Apple operating system software license agreement. 783 // 784 // Please obtain a copy of the License at 785 // http://www.opensource.apple.com/apsl/ and read it before using this file. 786 // 787 // The Original Code and all software distributed under the License are 788 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 789 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 790 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 791 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 792 // Please see the License for the specific language governing rights and 793 // limitations under the License. 794 // 795 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 796 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 797 // 798 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 799 // 800 // This file contains Original Code and/or Modifications of Original Code 801 // as defined in and that are subject to the Apple Public Source License 802 // Version 2.0 (the 'License'). You may not use this file except in 803 // compliance with the License. The rights granted to you under the License 804 // may not be used to create, or enable the creation or redistribution of, 805 // unlawful or unlicensed copies of an Apple operating system, or to 806 // circumvent, violate, or enable the circumvention or violation of, any 807 // terms of an Apple operating system software license agreement. 808 // 809 // Please obtain a copy of the License at 810 // http://www.opensource.apple.com/apsl/ and read it before using this file. 811 // 812 // The Original Code and all software distributed under the License are 813 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 814 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 815 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 816 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 817 // Please see the License for the specific language governing rights and 818 // limitations under the License. 819 // 820 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 821 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 822 823 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 824 // 825 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 826 // 827 // This file contains Original Code and/or Modifications of Original Code 828 // as defined in and that are subject to the Apple Public Source License 829 // Version 2.0 (the 'License'). You may not use this file except in 830 // compliance with the License. The rights granted to you under the License 831 // may not be used to create, or enable the creation or redistribution of, 832 // unlawful or unlicensed copies of an Apple operating system, or to 833 // circumvent, violate, or enable the circumvention or violation of, any 834 // terms of an Apple operating system software license agreement. 835 // 836 // Please obtain a copy of the License at 837 // http://www.opensource.apple.com/apsl/ and read it before using this file. 838 // 839 // The Original Code and all software distributed under the License are 840 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 841 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 842 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 843 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 844 // Please see the License for the specific language governing rights and 845 // limitations under the License. 846 // 847 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 848 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 849 // Copyright (c) 1990, 1993 850 // The Regents of the University of California. All rights reserved. 851 // 852 // Redistribution and use in source and binary forms, with or without 853 // modification, are permitted provided that the following conditions 854 // are met: 855 // 1. Redistributions of source code must retain the above copyright 856 // notice, this list of conditions and the following disclaimer. 857 // 2. Redistributions in binary form must reproduce the above copyright 858 // notice, this list of conditions and the following disclaimer in the 859 // documentation and/or other materials provided with the distribution. 860 // 3. All advertising materials mentioning features or use of this software 861 // must display the following acknowledgement: 862 // This product includes software developed by the University of 863 // California, Berkeley and its contributors. 864 // 4. Neither the name of the University nor the names of its contributors 865 // may be used to endorse or promote products derived from this software 866 // without specific prior written permission. 867 // 868 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 869 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 870 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 871 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 872 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 873 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 874 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 875 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 876 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 877 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 878 // SUCH DAMAGE. 879 // 880 // @(#)types.h 8.3 (Berkeley) 1/5/94 881 882 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 883 // 884 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 885 // 886 // This file contains Original Code and/or Modifications of Original Code 887 // as defined in and that are subject to the Apple Public Source License 888 // Version 2.0 (the 'License'). You may not use this file except in 889 // compliance with the License. The rights granted to you under the License 890 // may not be used to create, or enable the creation or redistribution of, 891 // unlawful or unlicensed copies of an Apple operating system, or to 892 // circumvent, violate, or enable the circumvention or violation of, any 893 // terms of an Apple operating system software license agreement. 894 // 895 // Please obtain a copy of the License at 896 // http://www.opensource.apple.com/apsl/ and read it before using this file. 897 // 898 // The Original Code and all software distributed under the License are 899 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 900 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 901 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 902 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 903 // Please see the License for the specific language governing rights and 904 // limitations under the License. 905 // 906 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 907 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 908 // 909 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 910 // 911 // This file contains Original Code and/or Modifications of Original Code 912 // as defined in and that are subject to the Apple Public Source License 913 // Version 2.0 (the 'License'). You may not use this file except in 914 // compliance with the License. The rights granted to you under the License 915 // may not be used to create, or enable the creation or redistribution of, 916 // unlawful or unlicensed copies of an Apple operating system, or to 917 // circumvent, violate, or enable the circumvention or violation of, any 918 // terms of an Apple operating system software license agreement. 919 // 920 // Please obtain a copy of the License at 921 // http://www.opensource.apple.com/apsl/ and read it before using this file. 922 // 923 // The Original Code and all software distributed under the License are 924 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 925 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 926 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 927 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 928 // Please see the License for the specific language governing rights and 929 // limitations under the License. 930 // 931 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 932 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 933 // Copyright (c) 1991, 1993 934 // The Regents of the University of California. All rights reserved. 935 // 936 // This code is derived from software contributed to Berkeley by 937 // Berkeley Software Design, Inc. 938 // 939 // Redistribution and use in source and binary forms, with or without 940 // modification, are permitted provided that the following conditions 941 // are met: 942 // 1. Redistributions of source code must retain the above copyright 943 // notice, this list of conditions and the following disclaimer. 944 // 2. Redistributions in binary form must reproduce the above copyright 945 // notice, this list of conditions and the following disclaimer in the 946 // documentation and/or other materials provided with the distribution. 947 // 3. All advertising materials mentioning features or use of this software 948 // must display the following acknowledgement: 949 // This product includes software developed by the University of 950 // California, Berkeley and its contributors. 951 // 4. Neither the name of the University nor the names of its contributors 952 // may be used to endorse or promote products derived from this software 953 // without specific prior written permission. 954 // 955 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 956 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 957 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 958 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 959 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 960 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 961 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 962 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 963 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 964 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 965 // SUCH DAMAGE. 966 // 967 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 968 969 // Basic integral types. Omit the typedef if 970 // not possible for a machine/compiler combination. 971 // Copyright (c) 2012 Apple Inc. All rights reserved. 972 // 973 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 974 // 975 // This file contains Original Code and/or Modifications of Original Code 976 // as defined in and that are subject to the Apple Public Source License 977 // Version 2.0 (the 'License'). You may not use this file except in 978 // compliance with the License. The rights granted to you under the License 979 // may not be used to create, or enable the creation or redistribution of, 980 // unlawful or unlicensed copies of an Apple operating system, or to 981 // circumvent, violate, or enable the circumvention or violation of, any 982 // terms of an Apple operating system software license agreement. 983 // 984 // Please obtain a copy of the License at 985 // http://www.opensource.apple.com/apsl/ and read it before using this file. 986 // 987 // The Original Code and all software distributed under the License are 988 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 989 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 990 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 991 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 992 // Please see the License for the specific language governing rights and 993 // limitations under the License. 994 // 995 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 996 type int8_t = int8 /* _int8_t.h:30:33 */ 997 // Copyright (c) 2012 Apple Inc. All rights reserved. 998 // 999 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1000 // 1001 // This file contains Original Code and/or Modifications of Original Code 1002 // as defined in and that are subject to the Apple Public Source License 1003 // Version 2.0 (the 'License'). You may not use this file except in 1004 // compliance with the License. The rights granted to you under the License 1005 // may not be used to create, or enable the creation or redistribution of, 1006 // unlawful or unlicensed copies of an Apple operating system, or to 1007 // circumvent, violate, or enable the circumvention or violation of, any 1008 // terms of an Apple operating system software license agreement. 1009 // 1010 // Please obtain a copy of the License at 1011 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1012 // 1013 // The Original Code and all software distributed under the License are 1014 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1015 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1016 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1017 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1018 // Please see the License for the specific language governing rights and 1019 // limitations under the License. 1020 // 1021 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1022 type int16_t = int16 /* _int16_t.h:30:33 */ 1023 // Copyright (c) 2012 Apple Inc. All rights reserved. 1024 // 1025 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1026 // 1027 // This file contains Original Code and/or Modifications of Original Code 1028 // as defined in and that are subject to the Apple Public Source License 1029 // Version 2.0 (the 'License'). You may not use this file except in 1030 // compliance with the License. The rights granted to you under the License 1031 // may not be used to create, or enable the creation or redistribution of, 1032 // unlawful or unlicensed copies of an Apple operating system, or to 1033 // circumvent, violate, or enable the circumvention or violation of, any 1034 // terms of an Apple operating system software license agreement. 1035 // 1036 // Please obtain a copy of the License at 1037 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1038 // 1039 // The Original Code and all software distributed under the License are 1040 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1041 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1042 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1043 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1044 // Please see the License for the specific language governing rights and 1045 // limitations under the License. 1046 // 1047 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1048 type int32_t = int32 /* _int32_t.h:30:33 */ 1049 // Copyright (c) 2012 Apple Inc. All rights reserved. 1050 // 1051 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1052 // 1053 // This file contains Original Code and/or Modifications of Original Code 1054 // as defined in and that are subject to the Apple Public Source License 1055 // Version 2.0 (the 'License'). You may not use this file except in 1056 // compliance with the License. The rights granted to you under the License 1057 // may not be used to create, or enable the creation or redistribution of, 1058 // unlawful or unlicensed copies of an Apple operating system, or to 1059 // circumvent, violate, or enable the circumvention or violation of, any 1060 // terms of an Apple operating system software license agreement. 1061 // 1062 // Please obtain a copy of the License at 1063 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1064 // 1065 // The Original Code and all software distributed under the License are 1066 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1067 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1068 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1069 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1070 // Please see the License for the specific language governing rights and 1071 // limitations under the License. 1072 // 1073 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1074 type int64_t = int64 /* _int64_t.h:30:33 */ 1075 1076 // Copyright (c) 2016 Apple Inc. All rights reserved. 1077 // 1078 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1079 // 1080 // This file contains Original Code and/or Modifications of Original Code 1081 // as defined in and that are subject to the Apple Public Source License 1082 // Version 2.0 (the 'License'). You may not use this file except in 1083 // compliance with the License. The rights granted to you under the License 1084 // may not be used to create, or enable the creation or redistribution of, 1085 // unlawful or unlicensed copies of an Apple operating system, or to 1086 // circumvent, violate, or enable the circumvention or violation of, any 1087 // terms of an Apple operating system software license agreement. 1088 // 1089 // Please obtain a copy of the License at 1090 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1091 // 1092 // The Original Code and all software distributed under the License are 1093 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1094 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1095 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1096 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1097 // Please see the License for the specific language governing rights and 1098 // limitations under the License. 1099 // 1100 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1101 type u_int8_t = uint8 /* _u_int8_t.h:30:33 */ 1102 // Copyright (c) 2012 Apple Inc. All rights reserved. 1103 // 1104 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1105 // 1106 // This file contains Original Code and/or Modifications of Original Code 1107 // as defined in and that are subject to the Apple Public Source License 1108 // Version 2.0 (the 'License'). You may not use this file except in 1109 // compliance with the License. The rights granted to you under the License 1110 // may not be used to create, or enable the creation or redistribution of, 1111 // unlawful or unlicensed copies of an Apple operating system, or to 1112 // circumvent, violate, or enable the circumvention or violation of, any 1113 // terms of an Apple operating system software license agreement. 1114 // 1115 // Please obtain a copy of the License at 1116 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1117 // 1118 // The Original Code and all software distributed under the License are 1119 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1120 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1121 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1122 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1123 // Please see the License for the specific language governing rights and 1124 // limitations under the License. 1125 // 1126 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1127 type u_int16_t = uint16 /* _u_int16_t.h:30:41 */ 1128 // Copyright (c) 2012 Apple Inc. All rights reserved. 1129 // 1130 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1131 // 1132 // This file contains Original Code and/or Modifications of Original Code 1133 // as defined in and that are subject to the Apple Public Source License 1134 // Version 2.0 (the 'License'). You may not use this file except in 1135 // compliance with the License. The rights granted to you under the License 1136 // may not be used to create, or enable the creation or redistribution of, 1137 // unlawful or unlicensed copies of an Apple operating system, or to 1138 // circumvent, violate, or enable the circumvention or violation of, any 1139 // terms of an Apple operating system software license agreement. 1140 // 1141 // Please obtain a copy of the License at 1142 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1143 // 1144 // The Original Code and all software distributed under the License are 1145 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1146 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1147 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1148 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1149 // Please see the License for the specific language governing rights and 1150 // limitations under the License. 1151 // 1152 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1153 type u_int32_t = uint32 /* _u_int32_t.h:30:33 */ 1154 // Copyright (c) 2012 Apple Inc. All rights reserved. 1155 // 1156 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1157 // 1158 // This file contains Original Code and/or Modifications of Original Code 1159 // as defined in and that are subject to the Apple Public Source License 1160 // Version 2.0 (the 'License'). You may not use this file except in 1161 // compliance with the License. The rights granted to you under the License 1162 // may not be used to create, or enable the creation or redistribution of, 1163 // unlawful or unlicensed copies of an Apple operating system, or to 1164 // circumvent, violate, or enable the circumvention or violation of, any 1165 // terms of an Apple operating system software license agreement. 1166 // 1167 // Please obtain a copy of the License at 1168 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1169 // 1170 // The Original Code and all software distributed under the License are 1171 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1172 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1173 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1174 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1175 // Please see the License for the specific language governing rights and 1176 // limitations under the License. 1177 // 1178 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1179 type u_int64_t = uint64 /* _u_int64_t.h:30:33 */ 1180 1181 type register_t = int64_t /* types.h:87:33 */ 1182 1183 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1184 // 1185 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1186 // 1187 // This file contains Original Code and/or Modifications of Original Code 1188 // as defined in and that are subject to the Apple Public Source License 1189 // Version 2.0 (the 'License'). You may not use this file except in 1190 // compliance with the License. The rights granted to you under the License 1191 // may not be used to create, or enable the creation or redistribution of, 1192 // unlawful or unlicensed copies of an Apple operating system, or to 1193 // circumvent, violate, or enable the circumvention or violation of, any 1194 // terms of an Apple operating system software license agreement. 1195 // 1196 // Please obtain a copy of the License at 1197 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1198 // 1199 // The Original Code and all software distributed under the License are 1200 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1201 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1202 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1203 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1204 // Please see the License for the specific language governing rights and 1205 // limitations under the License. 1206 // 1207 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1208 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1209 // 1210 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1211 // 1212 // This file contains Original Code and/or Modifications of Original Code 1213 // as defined in and that are subject to the Apple Public Source License 1214 // Version 2.0 (the 'License'). You may not use this file except in 1215 // compliance with the License. The rights granted to you under the License 1216 // may not be used to create, or enable the creation or redistribution of, 1217 // unlawful or unlicensed copies of an Apple operating system, or to 1218 // circumvent, violate, or enable the circumvention or violation of, any 1219 // terms of an Apple operating system software license agreement. 1220 // 1221 // Please obtain a copy of the License at 1222 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1223 // 1224 // The Original Code and all software distributed under the License are 1225 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1226 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1227 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1228 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1229 // Please see the License for the specific language governing rights and 1230 // limitations under the License. 1231 // 1232 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1233 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1234 1235 type intptr_t = int64 /* _intptr_t.h:32:33 */ 1236 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1237 // 1238 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1239 // 1240 // This file contains Original Code and/or Modifications of Original Code 1241 // as defined in and that are subject to the Apple Public Source License 1242 // Version 2.0 (the 'License'). You may not use this file except in 1243 // compliance with the License. The rights granted to you under the License 1244 // may not be used to create, or enable the creation or redistribution of, 1245 // unlawful or unlicensed copies of an Apple operating system, or to 1246 // circumvent, violate, or enable the circumvention or violation of, any 1247 // terms of an Apple operating system software license agreement. 1248 // 1249 // Please obtain a copy of the License at 1250 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1251 // 1252 // The Original Code and all software distributed under the License are 1253 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1254 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1255 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1256 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1257 // Please see the License for the specific language governing rights and 1258 // limitations under the License. 1259 // 1260 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1261 type uintptr_t = uint64 /* _uintptr_t.h:30:33 */ 1262 1263 // These types are used for reserving the largest possible size. 1264 type user_addr_t = u_int64_t /* types.h:97:33 */ 1265 type user_size_t = u_int64_t /* types.h:98:33 */ 1266 type user_ssize_t = int64_t /* types.h:99:33 */ 1267 type user_long_t = int64_t /* types.h:100:33 */ 1268 type user_ulong_t = u_int64_t /* types.h:101:33 */ 1269 type user_time_t = int64_t /* types.h:102:33 */ 1270 type user_off_t = int64_t /* types.h:103:33 */ 1271 1272 // This defines the size of syscall arguments after copying into the kernel: 1273 type syscall_arg_t = u_int64_t /* types.h:111:33 */ 1274 1275 type rsize_t = uint64 /* _rsize_t.h:31:32 */ 1276 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1277 // 1278 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1279 // 1280 // This file contains Original Code and/or Modifications of Original Code 1281 // as defined in and that are subject to the Apple Public Source License 1282 // Version 2.0 (the 'License'). You may not use this file except in 1283 // compliance with the License. The rights granted to you under the License 1284 // may not be used to create, or enable the creation or redistribution of, 1285 // unlawful or unlicensed copies of an Apple operating system, or to 1286 // circumvent, violate, or enable the circumvention or violation of, any 1287 // terms of an Apple operating system software license agreement. 1288 // 1289 // Please obtain a copy of the License at 1290 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1291 // 1292 // The Original Code and all software distributed under the License are 1293 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1294 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1295 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1296 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1297 // Please see the License for the specific language governing rights and 1298 // limitations under the License. 1299 // 1300 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1301 type errno_t = int32 /* _errno_t.h:30:32 */ 1302 1303 // Darwin extensions 1304 1305 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1306 // 1307 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1308 // 1309 // This file contains Original Code and/or Modifications of Original Code 1310 // as defined in and that are subject to the Apple Public Source License 1311 // Version 2.0 (the 'License'). You may not use this file except in 1312 // compliance with the License. The rights granted to you under the License 1313 // may not be used to create, or enable the creation or redistribution of, 1314 // unlawful or unlicensed copies of an Apple operating system, or to 1315 // circumvent, violate, or enable the circumvention or violation of, any 1316 // terms of an Apple operating system software license agreement. 1317 // 1318 // Please obtain a copy of the License at 1319 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1320 // 1321 // The Original Code and all software distributed under the License are 1322 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1323 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1324 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1325 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1326 // Please see the License for the specific language governing rights and 1327 // limitations under the License. 1328 // 1329 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1330 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1331 // 1332 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1333 // 1334 // This file contains Original Code and/or Modifications of Original Code 1335 // as defined in and that are subject to the Apple Public Source License 1336 // Version 2.0 (the 'License'). You may not use this file except in 1337 // compliance with the License. The rights granted to you under the License 1338 // may not be used to create, or enable the creation or redistribution of, 1339 // unlawful or unlicensed copies of an Apple operating system, or to 1340 // circumvent, violate, or enable the circumvention or violation of, any 1341 // terms of an Apple operating system software license agreement. 1342 // 1343 // Please obtain a copy of the License at 1344 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1345 // 1346 // The Original Code and all software distributed under the License are 1347 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1348 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1349 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1350 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1351 // Please see the License for the specific language governing rights and 1352 // limitations under the License. 1353 // 1354 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1355 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1356 type ssize_t = int64 /* _ssize_t.h:31:33 */ 1357 1358 // Define the standard macros for the user, 1359 // if this invocation was from the user program. 1360 1361 // Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved. 1362 // 1363 // @APPLE_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. Please obtain a copy of the License at 1369 // http://www.opensource.apple.com/apsl/ and read it before using this 1370 // file. 1371 // 1372 // The Original Code and all software distributed under the License are 1373 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1374 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1375 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1376 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1377 // Please see the License for the specific language governing rights and 1378 // limitations under the License. 1379 // 1380 // @APPLE_LICENSE_HEADER_END@ 1381 // - 1382 // Copyright (c) 1990, 1993 1383 // The Regents of the University of California. All rights reserved. 1384 // 1385 // This code is derived from software contributed to Berkeley by 1386 // Chris Torek. 1387 // 1388 // Redistribution and use in source and binary forms, with or without 1389 // modification, are permitted provided that the following conditions 1390 // are met: 1391 // 1. Redistributions of source code must retain the above copyright 1392 // notice, this list of conditions and the following disclaimer. 1393 // 2. Redistributions in binary form must reproduce the above copyright 1394 // notice, this list of conditions and the following disclaimer in the 1395 // documentation and/or other materials provided with the distribution. 1396 // 3. All advertising materials mentioning features or use of this software 1397 // must display the following acknowledgement: 1398 // This product includes software developed by the University of 1399 // California, Berkeley and its contributors. 1400 // 4. Neither the name of the University nor the names of its contributors 1401 // may be used to endorse or promote products derived from this software 1402 // without specific prior written permission. 1403 // 1404 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1405 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1406 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1407 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1408 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1409 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1410 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1411 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1412 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1413 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1414 // SUCH DAMAGE. 1415 // 1416 // @(#)stdio.h 8.5 (Berkeley) 4/29/95 1417 1418 // Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved. 1419 // 1420 // @APPLE_LICENSE_HEADER_START@ 1421 // 1422 // This file contains Original Code and/or Modifications of Original Code 1423 // as defined in and that are subject to the Apple Public Source License 1424 // Version 2.0 (the 'License'). You may not use this file except in 1425 // compliance with the License. Please obtain a copy of the License at 1426 // http://www.opensource.apple.com/apsl/ and read it before using this 1427 // file. 1428 // 1429 // The Original Code and all software distributed under the License are 1430 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1431 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1432 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1433 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1434 // Please see the License for the specific language governing rights and 1435 // limitations under the License. 1436 // 1437 // @APPLE_LICENSE_HEADER_END@ 1438 // - 1439 // Copyright (c) 1990, 1993 1440 // The Regents of the University of California. All rights reserved. 1441 // 1442 // This code is derived from software contributed to Berkeley by 1443 // Chris Torek. 1444 // 1445 // Redistribution and use in source and binary forms, with or without 1446 // modification, are permitted provided that the following conditions 1447 // are met: 1448 // 1. Redistributions of source code must retain the above copyright 1449 // notice, this list of conditions and the following disclaimer. 1450 // 2. Redistributions in binary form must reproduce the above copyright 1451 // notice, this list of conditions and the following disclaimer in the 1452 // documentation and/or other materials provided with the distribution. 1453 // 3. All advertising materials mentioning features or use of this software 1454 // must display the following acknowledgement: 1455 // This product includes software developed by the University of 1456 // California, Berkeley and its contributors. 1457 // 4. Neither the name of the University nor the names of its contributors 1458 // may be used to endorse or promote products derived from this software 1459 // without specific prior written permission. 1460 // 1461 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1462 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1463 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1464 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1465 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1466 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1467 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1468 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1469 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1470 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1471 // SUCH DAMAGE. 1472 // 1473 // @(#)stdio.h 8.5 (Berkeley) 4/29/95 1474 1475 // Common header for stdio.h and xlocale/_stdio.h 1476 1477 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1478 // 1479 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1480 // 1481 // This file contains Original Code and/or Modifications of Original Code 1482 // as defined in and that are subject to the Apple Public Source License 1483 // Version 2.0 (the 'License'). You may not use this file except in 1484 // compliance with the License. The rights granted to you under the License 1485 // may not be used to create, or enable the creation or redistribution of, 1486 // unlawful or unlicensed copies of an Apple operating system, or to 1487 // circumvent, violate, or enable the circumvention or violation of, any 1488 // terms of an Apple operating system software license agreement. 1489 // 1490 // Please obtain a copy of the License at 1491 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1492 // 1493 // The Original Code and all software distributed under the License are 1494 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1495 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1496 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1497 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1498 // Please see the License for the specific language governing rights and 1499 // limitations under the License. 1500 // 1501 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1502 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1503 // Copyright (c) 1991, 1993 1504 // The Regents of the University of California. All rights reserved. 1505 // 1506 // This code is derived from software contributed to Berkeley by 1507 // Berkeley Software Design, Inc. 1508 // 1509 // Redistribution and use in source and binary forms, with or without 1510 // modification, are permitted provided that the following conditions 1511 // are met: 1512 // 1. Redistributions of source code must retain the above copyright 1513 // notice, this list of conditions and the following disclaimer. 1514 // 2. Redistributions in binary form must reproduce the above copyright 1515 // notice, this list of conditions and the following disclaimer in the 1516 // documentation and/or other materials provided with the distribution. 1517 // 3. All advertising materials mentioning features or use of this software 1518 // must display the following acknowledgement: 1519 // This product includes software developed by the University of 1520 // California, Berkeley and its contributors. 1521 // 4. Neither the name of the University nor the names of its contributors 1522 // may be used to endorse or promote products derived from this software 1523 // without specific prior written permission. 1524 // 1525 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1526 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1527 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1528 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1529 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1530 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1531 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1532 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1533 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1534 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1535 // SUCH DAMAGE. 1536 // 1537 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1538 1539 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 1540 // 1541 // @APPLE_LICENSE_HEADER_START@ 1542 // 1543 // This file contains Original Code and/or Modifications of Original Code 1544 // as defined in and that are subject to the Apple Public Source License 1545 // Version 2.0 (the 'License'). You may not use this file except in 1546 // compliance with the License. Please obtain a copy of the License at 1547 // http://www.opensource.apple.com/apsl/ and read it before using this 1548 // file. 1549 // 1550 // The Original Code and all software distributed under the License are 1551 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1552 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1553 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1554 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1555 // Please see the License for the specific language governing rights and 1556 // limitations under the License. 1557 // 1558 // @APPLE_LICENSE_HEADER_END@ 1559 1560 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 1561 // 1562 // @APPLE_LICENSE_HEADER_START@ 1563 // 1564 // This file contains Original Code and/or Modifications of Original Code 1565 // as defined in and that are subject to the Apple Public Source License 1566 // Version 2.0 (the 'License'). You may not use this file except in 1567 // compliance with the License. Please obtain a copy of the License at 1568 // http://www.opensource.apple.com/apsl/ and read it before using this 1569 // file. 1570 // 1571 // The Original Code and all software distributed under the License are 1572 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1573 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1574 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1575 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1576 // Please see the License for the specific language governing rights and 1577 // limitations under the License. 1578 // 1579 // @APPLE_LICENSE_HEADER_END@ 1580 1581 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 1582 // __gnuc_va_list and include <stdarg.h> 1583 // Copyright (c) 2012 Apple Inc. All rights reserved. 1584 // 1585 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1586 // 1587 // This file contains Original Code and/or Modifications of Original Code 1588 // as defined in and that are subject to the Apple Public Source License 1589 // Version 2.0 (the 'License'). You may not use this file except in 1590 // compliance with the License. The rights granted to you under the License 1591 // may not be used to create, or enable the creation or redistribution of, 1592 // unlawful or unlicensed copies of an Apple operating system, or to 1593 // circumvent, violate, or enable the circumvention or violation of, any 1594 // terms of an Apple operating system software license agreement. 1595 // 1596 // Please obtain a copy of the License at 1597 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1598 // 1599 // The Original Code and all software distributed under the License are 1600 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1601 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1602 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1603 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1604 // Please see the License for the specific language governing rights and 1605 // limitations under the License. 1606 // 1607 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1608 1609 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1610 // 1611 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1612 // 1613 // This file contains Original Code and/or Modifications of Original Code 1614 // as defined in and that are subject to the Apple Public Source License 1615 // Version 2.0 (the 'License'). You may not use this file except in 1616 // compliance with the License. The rights granted to you under the License 1617 // may not be used to create, or enable the creation or redistribution of, 1618 // unlawful or unlicensed copies of an Apple operating system, or to 1619 // circumvent, violate, or enable the circumvention or violation of, any 1620 // terms of an Apple operating system software license agreement. 1621 // 1622 // Please obtain a copy of the License at 1623 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1624 // 1625 // The Original Code and all software distributed under the License are 1626 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1627 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1628 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1629 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1630 // Please see the License for the specific language governing rights and 1631 // limitations under the License. 1632 // 1633 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1634 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1635 type va_list = uintptr /* _va_list.h:32:26 */ 1636 1637 type fpos_t = int64 /* _stdio.h:81:25 */ 1638 1639 // NB: to fit things in six character monocase externals, the stdio 1640 // code uses the prefix `__s' for stdio objects, typically followed 1641 // by a three-character attempt at a mnemonic. 1642 1643 // stdio buffers 1644 type __sbuf = struct { 1645 F_base uintptr 1646 F_size int32 1647 F__ccgo_pad1 [4]byte 1648 } /* _stdio.h:92:1 */ 1649 1650 // stdio state variables. 1651 // 1652 // The following always hold: 1653 // 1654 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 1655 // _lbfsize is -_bf._size, else _lbfsize is 0 1656 // if _flags&__SRD, _w is 0 1657 // if _flags&__SWR, _r is 0 1658 // 1659 // This ensures that the getc and putc macros (or inline functions) never 1660 // try to write or read from a file that is in `read' or `write' mode. 1661 // (Moreover, they can, and do, automatically switch from read mode to 1662 // write mode, and back, on "r+" and "w+" files.) 1663 // 1664 // _lbfsize is used only to make the inline line-buffered output stream 1665 // code as compact as possible. 1666 // 1667 // _ub, _up, and _ur are used when ungetc() pushes back more characters 1668 // than fit in the current _bf, or when ungetc() pushes back a character 1669 // that does not match the previous one in _bf. When this happens, 1670 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 1671 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 1672 // 1673 // NB: see WARNING above before changing the layout of this structure! 1674 type __sFILE = struct { 1675 F_p uintptr 1676 F_r int32 1677 F_w int32 1678 F_flags int16 1679 F_file int16 1680 F__ccgo_pad1 [4]byte 1681 F_bf struct { 1682 F_base uintptr 1683 F_size int32 1684 F__ccgo_pad1 [4]byte 1685 } 1686 F_lbfsize int32 1687 F__ccgo_pad2 [4]byte 1688 F_cookie uintptr 1689 F_close uintptr 1690 F_read uintptr 1691 F_seek uintptr 1692 F_write uintptr 1693 F_ub struct { 1694 F_base uintptr 1695 F_size int32 1696 F__ccgo_pad1 [4]byte 1697 } 1698 F_extra uintptr 1699 F_ur int32 1700 F_ubuf [3]uint8 1701 F_nbuf [1]uint8 1702 F_lb struct { 1703 F_base uintptr 1704 F_size int32 1705 F__ccgo_pad1 [4]byte 1706 } 1707 F_blksize int32 1708 F__ccgo_pad3 [4]byte 1709 F_offset fpos_t 1710 } /* _stdio.h:126:9 */ 1711 1712 // stdio state variables. 1713 // 1714 // The following always hold: 1715 // 1716 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 1717 // _lbfsize is -_bf._size, else _lbfsize is 0 1718 // if _flags&__SRD, _w is 0 1719 // if _flags&__SWR, _r is 0 1720 // 1721 // This ensures that the getc and putc macros (or inline functions) never 1722 // try to write or read from a file that is in `read' or `write' mode. 1723 // (Moreover, they can, and do, automatically switch from read mode to 1724 // write mode, and back, on "r+" and "w+" files.) 1725 // 1726 // _lbfsize is used only to make the inline line-buffered output stream 1727 // code as compact as possible. 1728 // 1729 // _ub, _up, and _ur are used when ungetc() pushes back more characters 1730 // than fit in the current _bf, or when ungetc() pushes back a character 1731 // that does not match the previous one in _bf. When this happens, 1732 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 1733 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 1734 // 1735 // NB: see WARNING above before changing the layout of this structure! 1736 type FILE = __sFILE /* _stdio.h:157:3 */ 1737 1738 // Additional functionality provided by: 1739 // POSIX.1-2001 1740 // ISO C99 1741 1742 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1743 // 1744 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1745 // 1746 // This file contains Original Code and/or Modifications of Original Code 1747 // as defined in and that are subject to the Apple Public Source License 1748 // Version 2.0 (the 'License'). You may not use this file except in 1749 // compliance with the License. The rights granted to you under the License 1750 // may not be used to create, or enable the creation or redistribution of, 1751 // unlawful or unlicensed copies of an Apple operating system, or to 1752 // circumvent, violate, or enable the circumvention or violation of, any 1753 // terms of an Apple operating system software license agreement. 1754 // 1755 // Please obtain a copy of the License at 1756 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1757 // 1758 // The Original Code and all software distributed under the License are 1759 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1760 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1761 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1762 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1763 // Please see the License for the specific language governing rights and 1764 // limitations under the License. 1765 // 1766 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1767 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1768 // 1769 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1770 // 1771 // This file contains Original Code and/or Modifications of Original Code 1772 // as defined in and that are subject to the Apple Public Source License 1773 // Version 2.0 (the 'License'). You may not use this file except in 1774 // compliance with the License. The rights granted to you under the License 1775 // may not be used to create, or enable the creation or redistribution of, 1776 // unlawful or unlicensed copies of an Apple operating system, or to 1777 // circumvent, violate, or enable the circumvention or violation of, any 1778 // terms of an Apple operating system software license agreement. 1779 // 1780 // Please obtain a copy of the License at 1781 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1782 // 1783 // The Original Code and all software distributed under the License are 1784 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1785 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1786 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1787 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1788 // Please see the License for the specific language governing rights and 1789 // limitations under the License. 1790 // 1791 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1792 1793 type off_t = int64 /* _off_t.h:31:33 */ 1794 1795 // Return values from XauLockAuth 1796 1797 // DO NOT EDIT THIS FILE. 1798 // 1799 // It has been auto-edited by fixincludes from: 1800 // 1801 // "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h" 1802 // 1803 // This had to be done to correct non-standard usages in the 1804 // original, manufacturer supplied header file. 1805 1806 // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved. 1807 // 1808 // @APPLE_LICENSE_HEADER_START@ 1809 // 1810 // This file contains Original Code and/or Modifications of Original Code 1811 // as defined in and that are subject to the Apple Public Source License 1812 // Version 2.0 (the 'License'). You may not use this file except in 1813 // compliance with the License. Please obtain a copy of the License at 1814 // http://www.opensource.apple.com/apsl/ and read it before using this 1815 // file. 1816 // 1817 // The Original Code and all software distributed under the License are 1818 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1819 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1820 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1821 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1822 // Please see the License for the specific language governing rights and 1823 // limitations under the License. 1824 // 1825 // @APPLE_LICENSE_HEADER_END@ 1826 // - 1827 // Copyright (c) 1990, 1993 1828 // The Regents of the University of California. All rights reserved. 1829 // 1830 // Redistribution and use in source and binary forms, with or without 1831 // modification, are permitted provided that the following conditions 1832 // are met: 1833 // 1. Redistributions of source code must retain the above copyright 1834 // notice, this list of conditions and the following disclaimer. 1835 // 2. Redistributions in binary form must reproduce the above copyright 1836 // notice, this list of conditions and the following disclaimer in the 1837 // documentation and/or other materials provided with the distribution. 1838 // 3. All advertising materials mentioning features or use of this software 1839 // must display the following acknowledgement: 1840 // This product includes software developed by the University of 1841 // California, Berkeley and its contributors. 1842 // 4. Neither the name of the University nor the names of its contributors 1843 // may be used to endorse or promote products derived from this software 1844 // without specific prior written permission. 1845 // 1846 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1847 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1848 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1849 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1850 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1851 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1852 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1853 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1854 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1855 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1856 // SUCH DAMAGE. 1857 // 1858 // @(#)stdlib.h 8.5 (Berkeley) 5/19/95 1859 1860 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 1861 // 1862 // @APPLE_LICENSE_HEADER_START@ 1863 // 1864 // This file contains Original Code and/or Modifications of Original Code 1865 // as defined in and that are subject to the Apple Public Source License 1866 // Version 2.0 (the 'License'). You may not use this file except in 1867 // compliance with the License. Please obtain a copy of the License at 1868 // http://www.opensource.apple.com/apsl/ and read it before using this 1869 // file. 1870 // 1871 // The Original Code and all software distributed under the License are 1872 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1873 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1874 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1875 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1876 // Please see the License for the specific language governing rights and 1877 // limitations under the License. 1878 // 1879 // @APPLE_LICENSE_HEADER_END@ 1880 1881 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1882 // 1883 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1884 // 1885 // This file contains Original Code and/or Modifications of Original Code 1886 // as defined in and that are subject to the Apple Public Source License 1887 // Version 2.0 (the 'License'). You may not use this file except in 1888 // compliance with the License. The rights granted to you under the License 1889 // may not be used to create, or enable the creation or redistribution of, 1890 // unlawful or unlicensed copies of an Apple operating system, or to 1891 // circumvent, violate, or enable the circumvention or violation of, any 1892 // terms of an Apple operating system software license agreement. 1893 // 1894 // Please obtain a copy of the License at 1895 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1896 // 1897 // The Original Code and all software distributed under the License are 1898 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1899 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1900 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1901 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1902 // Please see the License for the specific language governing rights and 1903 // limitations under the License. 1904 // 1905 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1906 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1907 // Copyright (c) 1991, 1993 1908 // The Regents of the University of California. All rights reserved. 1909 // 1910 // This code is derived from software contributed to Berkeley by 1911 // Berkeley Software Design, Inc. 1912 // 1913 // Redistribution and use in source and binary forms, with or without 1914 // modification, are permitted provided that the following conditions 1915 // are met: 1916 // 1. Redistributions of source code must retain the above copyright 1917 // notice, this list of conditions and the following disclaimer. 1918 // 2. Redistributions in binary form must reproduce the above copyright 1919 // notice, this list of conditions and the following disclaimer in the 1920 // documentation and/or other materials provided with the distribution. 1921 // 3. All advertising materials mentioning features or use of this software 1922 // must display the following acknowledgement: 1923 // This product includes software developed by the University of 1924 // California, Berkeley and its contributors. 1925 // 4. Neither the name of the University nor the names of its contributors 1926 // may be used to endorse or promote products derived from this software 1927 // without specific prior written permission. 1928 // 1929 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1930 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1931 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1932 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1933 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1934 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1935 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1936 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1937 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1938 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1939 // SUCH DAMAGE. 1940 // 1941 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1942 1943 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 1944 // 1945 // @APPLE_LICENSE_HEADER_START@ 1946 // 1947 // This file contains Original Code and/or Modifications of Original Code 1948 // as defined in and that are subject to the Apple Public Source License 1949 // Version 2.0 (the 'License'). You may not use this file except in 1950 // compliance with the License. Please obtain a copy of the License at 1951 // http://www.opensource.apple.com/apsl/ and read it before using this 1952 // file. 1953 // 1954 // The Original Code and all software distributed under the License are 1955 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1956 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1957 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1958 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1959 // Please see the License for the specific language governing rights and 1960 // limitations under the License. 1961 // 1962 // @APPLE_LICENSE_HEADER_END@ 1963 1964 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 1965 // 1966 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1967 // 1968 // This file contains Original Code and/or Modifications of Original Code 1969 // as defined in and that are subject to the Apple Public Source License 1970 // Version 2.0 (the 'License'). You may not use this file except in 1971 // compliance with the License. The rights granted to you under the License 1972 // may not be used to create, or enable the creation or redistribution of, 1973 // unlawful or unlicensed copies of an Apple operating system, or to 1974 // circumvent, violate, or enable the circumvention or violation of, any 1975 // terms of an Apple operating system software license agreement. 1976 // 1977 // Please obtain a copy of the License at 1978 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1979 // 1980 // The Original Code and all software distributed under the License are 1981 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1982 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1983 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1984 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1985 // Please see the License for the specific language governing rights and 1986 // limitations under the License. 1987 // 1988 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1989 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 1990 // Copyright (c) 1982, 1986, 1989, 1993, 1994 1991 // The Regents of the University of California. All rights reserved. 1992 // 1993 // Redistribution and use in source and binary forms, with or without 1994 // modification, are permitted provided that the following conditions 1995 // are met: 1996 // 1. Redistributions of source code must retain the above copyright 1997 // notice, this list of conditions and the following disclaimer. 1998 // 2. Redistributions in binary form must reproduce the above copyright 1999 // notice, this list of conditions and the following disclaimer in the 2000 // documentation and/or other materials provided with the distribution. 2001 // 3. All advertising materials mentioning features or use of this software 2002 // must display the following acknowledgement: 2003 // This product includes software developed by the University of 2004 // California, Berkeley and its contributors. 2005 // 4. Neither the name of the University nor the names of its contributors 2006 // may be used to endorse or promote products derived from this software 2007 // without specific prior written permission. 2008 // 2009 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2010 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2011 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2012 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2013 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2014 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2015 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2016 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2017 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2018 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2019 // SUCH DAMAGE. 2020 // 2021 // @(#)wait.h 8.2 (Berkeley) 7/10/94 2022 2023 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2024 // 2025 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2026 // 2027 // This file contains Original Code and/or Modifications of Original Code 2028 // as defined in and that are subject to the Apple Public Source License 2029 // Version 2.0 (the 'License'). You may not use this file except in 2030 // compliance with the License. The rights granted to you under the License 2031 // may not be used to create, or enable the creation or redistribution of, 2032 // unlawful or unlicensed copies of an Apple operating system, or to 2033 // circumvent, violate, or enable the circumvention or violation of, any 2034 // terms of an Apple operating system software license agreement. 2035 // 2036 // Please obtain a copy of the License at 2037 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2038 // 2039 // The Original Code and all software distributed under the License are 2040 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2041 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2042 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2043 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2044 // Please see the License for the specific language governing rights and 2045 // limitations under the License. 2046 // 2047 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2048 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2049 // Copyright (c) 1991, 1993 2050 // The Regents of the University of California. All rights reserved. 2051 // 2052 // This code is derived from software contributed to Berkeley by 2053 // Berkeley Software Design, Inc. 2054 // 2055 // Redistribution and use in source and binary forms, with or without 2056 // modification, are permitted provided that the following conditions 2057 // are met: 2058 // 1. Redistributions of source code must retain the above copyright 2059 // notice, this list of conditions and the following disclaimer. 2060 // 2. Redistributions in binary form must reproduce the above copyright 2061 // notice, this list of conditions and the following disclaimer in the 2062 // documentation and/or other materials provided with the distribution. 2063 // 3. All advertising materials mentioning features or use of this software 2064 // must display the following acknowledgement: 2065 // This product includes software developed by the University of 2066 // California, Berkeley and its contributors. 2067 // 4. Neither the name of the University nor the names of its contributors 2068 // may be used to endorse or promote products derived from this software 2069 // without specific prior written permission. 2070 // 2071 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2072 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2073 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2074 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2075 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2076 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2077 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2078 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2079 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2080 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2081 // SUCH DAMAGE. 2082 // 2083 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2084 2085 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2086 // 2087 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2088 // 2089 // This file contains Original Code and/or Modifications of Original Code 2090 // as defined in and that are subject to the Apple Public Source License 2091 // Version 2.0 (the 'License'). You may not use this file except in 2092 // compliance with the License. The rights granted to you under the License 2093 // may not be used to create, or enable the creation or redistribution of, 2094 // unlawful or unlicensed copies of an Apple operating system, or to 2095 // circumvent, violate, or enable the circumvention or violation of, any 2096 // terms of an Apple operating system software license agreement. 2097 // 2098 // Please obtain a copy of the License at 2099 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2100 // 2101 // The Original Code and all software distributed under the License are 2102 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2103 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2104 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2105 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2106 // Please see the License for the specific language governing rights and 2107 // limitations under the License. 2108 // 2109 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2110 2111 // This file holds definitions relevent to the wait4 system call 2112 // and the alternate interfaces that use it (wait, wait3, waitpid). 2113 2114 // [XSI] The type idtype_t shall be defined as an enumeration type whose 2115 // possible values shall include at least P_ALL, P_PID, and P_PGID. 2116 type idtype_t = uint32 /* wait.h:83:3 */ 2117 2118 // [XSI] The id_t and pid_t types shall be defined as described 2119 // in <sys/types.h> 2120 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2121 // 2122 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2123 // 2124 // This file contains Original Code and/or Modifications of Original Code 2125 // as defined in and that are subject to the Apple Public Source License 2126 // Version 2.0 (the 'License'). You may not use this file except in 2127 // compliance with the License. The rights granted to you under the License 2128 // may not be used to create, or enable the creation or redistribution of, 2129 // unlawful or unlicensed copies of an Apple operating system, or to 2130 // circumvent, violate, or enable the circumvention or violation of, any 2131 // terms of an Apple operating system software license agreement. 2132 // 2133 // Please obtain a copy of the License at 2134 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2135 // 2136 // The Original Code and all software distributed under the License are 2137 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2138 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2139 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2140 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2141 // Please see the License for the specific language governing rights and 2142 // limitations under the License. 2143 // 2144 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2145 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2146 // 2147 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2148 // 2149 // This file contains Original Code and/or Modifications of Original Code 2150 // as defined in and that are subject to the Apple Public Source License 2151 // Version 2.0 (the 'License'). You may not use this file except in 2152 // compliance with the License. The rights granted to you under the License 2153 // may not be used to create, or enable the creation or redistribution of, 2154 // unlawful or unlicensed copies of an Apple operating system, or to 2155 // circumvent, violate, or enable the circumvention or violation of, any 2156 // terms of an Apple operating system software license agreement. 2157 // 2158 // Please obtain a copy of the License at 2159 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2160 // 2161 // The Original Code and all software distributed under the License are 2162 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2163 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2164 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2165 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2166 // Please see the License for the specific language governing rights and 2167 // limitations under the License. 2168 // 2169 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2170 2171 type pid_t = int32 /* _pid_t.h:31:31 */ 2172 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2173 // 2174 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2175 // 2176 // This file contains Original Code and/or Modifications of Original Code 2177 // as defined in and that are subject to the Apple Public Source License 2178 // Version 2.0 (the 'License'). You may not use this file except in 2179 // compliance with the License. The rights granted to you under the License 2180 // may not be used to create, or enable the creation or redistribution of, 2181 // unlawful or unlicensed copies of an Apple operating system, or to 2182 // circumvent, violate, or enable the circumvention or violation of, any 2183 // terms of an Apple operating system software license agreement. 2184 // 2185 // Please obtain a copy of the License at 2186 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2187 // 2188 // The Original Code and all software distributed under the License are 2189 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2190 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2191 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2192 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2193 // Please see the License for the specific language governing rights and 2194 // limitations under the License. 2195 // 2196 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2197 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2198 // 2199 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2200 // 2201 // This file contains Original Code and/or Modifications of Original Code 2202 // as defined in and that are subject to the Apple Public Source License 2203 // Version 2.0 (the 'License'). You may not use this file except in 2204 // compliance with the License. The rights granted to you under the License 2205 // may not be used to create, or enable the creation or redistribution of, 2206 // unlawful or unlicensed copies of an Apple operating system, or to 2207 // circumvent, violate, or enable the circumvention or violation of, any 2208 // terms of an Apple operating system software license agreement. 2209 // 2210 // Please obtain a copy of the License at 2211 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2212 // 2213 // The Original Code and all software distributed under the License are 2214 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2215 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2216 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2217 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2218 // Please see the License for the specific language governing rights and 2219 // limitations under the License. 2220 // 2221 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2222 2223 type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t 2224 2225 // [XSI] The siginfo_t type shall be defined as described in <signal.h> 2226 // [XSI] The rusage structure shall be defined as described in <sys/resource.h> 2227 // [XSI] Inclusion of the <sys/wait.h> header may also make visible all 2228 // symbols from <signal.h> and <sys/resource.h> 2229 // 2230 // NOTE: This requirement is currently being satisfied by the direct 2231 // inclusion of <sys/signal.h> and <sys/resource.h>, below. 2232 // 2233 // Software should not depend on the exposure of anything other 2234 // than the types siginfo_t and struct rusage as a result of 2235 // this inclusion. If you depend on any types or manifest 2236 // values othe than siginfo_t and struct rusage from either of 2237 // those files, you should explicitly include them yourself, as 2238 // well, or in future releases your stware may not compile 2239 // without modification. 2240 // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. 2241 // 2242 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2243 // 2244 // This file contains Original Code and/or Modifications of Original Code 2245 // as defined in and that are subject to the Apple Public Source License 2246 // Version 2.0 (the 'License'). You may not use this file except in 2247 // compliance with the License. The rights granted to you under the License 2248 // may not be used to create, or enable the creation or redistribution of, 2249 // unlawful or unlicensed copies of an Apple operating system, or to 2250 // circumvent, violate, or enable the circumvention or violation of, any 2251 // terms of an Apple operating system software license agreement. 2252 // 2253 // Please obtain a copy of the License at 2254 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2255 // 2256 // The Original Code and all software distributed under the License are 2257 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2258 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2259 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2260 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2261 // Please see the License for the specific language governing rights and 2262 // limitations under the License. 2263 // 2264 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2265 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 2266 // Copyright (c) 1982, 1986, 1989, 1991, 1993 2267 // The Regents of the University of California. All rights reserved. 2268 // (c) UNIX System Laboratories, Inc. 2269 // All or some portions of this file are derived from material licensed 2270 // to the University of California by American Telephone and Telegraph 2271 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 2272 // the permission of UNIX System Laboratories, Inc. 2273 // 2274 // Redistribution and use in source and binary forms, with or without 2275 // modification, are permitted provided that the following conditions 2276 // are met: 2277 // 1. Redistributions of source code must retain the above copyright 2278 // notice, this list of conditions and the following disclaimer. 2279 // 2. Redistributions in binary form must reproduce the above copyright 2280 // notice, this list of conditions and the following disclaimer in the 2281 // documentation and/or other materials provided with the distribution. 2282 // 3. All advertising materials mentioning features or use of this software 2283 // must display the following acknowledgement: 2284 // This product includes software developed by the University of 2285 // California, Berkeley and its contributors. 2286 // 4. Neither the name of the University nor the names of its contributors 2287 // may be used to endorse or promote products derived from this software 2288 // without specific prior written permission. 2289 // 2290 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2291 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2292 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2293 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2294 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2295 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2296 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2297 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2298 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2299 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2300 // SUCH DAMAGE. 2301 // 2302 // @(#)signal.h 8.2 (Berkeley) 1/21/94 2303 2304 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2305 // 2306 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2307 // 2308 // This file contains Original Code and/or Modifications of Original Code 2309 // as defined in and that are subject to the Apple Public Source License 2310 // Version 2.0 (the 'License'). You may not use this file except in 2311 // compliance with the License. The rights granted to you under the License 2312 // may not be used to create, or enable the creation or redistribution of, 2313 // unlawful or unlicensed copies of an Apple operating system, or to 2314 // circumvent, violate, or enable the circumvention or violation of, any 2315 // terms of an Apple operating system software license agreement. 2316 // 2317 // Please obtain a copy of the License at 2318 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2319 // 2320 // The Original Code and all software distributed under the License are 2321 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2322 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2323 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2324 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2325 // Please see the License for the specific language governing rights and 2326 // limitations under the License. 2327 // 2328 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2329 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2330 // Copyright (c) 1991, 1993 2331 // The Regents of the University of California. All rights reserved. 2332 // 2333 // This code is derived from software contributed to Berkeley by 2334 // Berkeley Software Design, Inc. 2335 // 2336 // Redistribution and use in source and binary forms, with or without 2337 // modification, are permitted provided that the following conditions 2338 // are met: 2339 // 1. Redistributions of source code must retain the above copyright 2340 // notice, this list of conditions and the following disclaimer. 2341 // 2. Redistributions in binary form must reproduce the above copyright 2342 // notice, this list of conditions and the following disclaimer in the 2343 // documentation and/or other materials provided with the distribution. 2344 // 3. All advertising materials mentioning features or use of this software 2345 // must display the following acknowledgement: 2346 // This product includes software developed by the University of 2347 // California, Berkeley and its contributors. 2348 // 4. Neither the name of the University nor the names of its contributors 2349 // may be used to endorse or promote products derived from this software 2350 // without specific prior written permission. 2351 // 2352 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2353 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2354 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2355 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2356 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2357 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2358 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2359 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2360 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2361 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2362 // SUCH DAMAGE. 2363 // 2364 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2365 2366 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2367 // 2368 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2369 // 2370 // This file contains Original Code and/or Modifications of Original Code 2371 // as defined in and that are subject to the Apple Public Source License 2372 // Version 2.0 (the 'License'). You may not use this file except in 2373 // compliance with the License. The rights granted to you under the License 2374 // may not be used to create, or enable the creation or redistribution of, 2375 // unlawful or unlicensed copies of an Apple operating system, or to 2376 // circumvent, violate, or enable the circumvention or violation of, any 2377 // terms of an Apple operating system software license agreement. 2378 // 2379 // Please obtain a copy of the License at 2380 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2381 // 2382 // The Original Code and all software distributed under the License are 2383 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2384 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2385 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2386 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2387 // Please see the License for the specific language governing rights and 2388 // limitations under the License. 2389 // 2390 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2391 2392 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 2393 // 2394 // @APPLE_LICENSE_HEADER_START@ 2395 // 2396 // This file contains Original Code and/or Modifications of Original Code 2397 // as defined in and that are subject to the Apple Public Source License 2398 // Version 2.0 (the 'License'). You may not use this file except in 2399 // compliance with the License. Please obtain a copy of the License at 2400 // http://www.opensource.apple.com/apsl/ and read it before using this 2401 // file. 2402 // 2403 // The Original Code and all software distributed under the License are 2404 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2405 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2406 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2407 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2408 // Please see the License for the specific language governing rights and 2409 // limitations under the License. 2410 // 2411 // @APPLE_LICENSE_HEADER_END@ 2412 2413 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2414 // 2415 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2416 // 2417 // This file contains Original Code and/or Modifications of Original Code 2418 // as defined in and that are subject to the Apple Public Source License 2419 // Version 2.0 (the 'License'). You may not use this file except in 2420 // compliance with the License. The rights granted to you under the License 2421 // may not be used to create, or enable the creation or redistribution of, 2422 // unlawful or unlicensed copies of an Apple operating system, or to 2423 // circumvent, violate, or enable the circumvention or violation of, any 2424 // terms of an Apple operating system software license agreement. 2425 // 2426 // Please obtain a copy of the License at 2427 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2428 // 2429 // The Original Code and all software distributed under the License are 2430 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2431 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2432 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2433 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2434 // Please see the License for the specific language governing rights and 2435 // limitations under the License. 2436 // 2437 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2438 2439 // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. 2440 // 2441 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2442 // 2443 // This file contains Original Code and/or Modifications of Original Code 2444 // as defined in and that are subject to the Apple Public Source License 2445 // Version 2.0 (the 'License'). You may not use this file except in 2446 // compliance with the License. The rights granted to you under the License 2447 // may not be used to create, or enable the creation or redistribution of, 2448 // unlawful or unlicensed copies of an Apple operating system, or to 2449 // circumvent, violate, or enable the circumvention or violation of, any 2450 // terms of an Apple operating system software license agreement. 2451 // 2452 // Please obtain a copy of the License at 2453 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2454 // 2455 // The Original Code and all software distributed under the License are 2456 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2457 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2458 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2459 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2460 // Please see the License for the specific language governing rights and 2461 // limitations under the License. 2462 // 2463 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2464 // Copyright (c) 1992 NeXT Computer, Inc. 2465 // 2466 2467 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2468 // 2469 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2470 // 2471 // This file contains Original Code and/or Modifications of Original Code 2472 // as defined in and that are subject to the Apple Public Source License 2473 // Version 2.0 (the 'License'). You may not use this file except in 2474 // compliance with the License. The rights granted to you under the License 2475 // may not be used to create, or enable the creation or redistribution of, 2476 // unlawful or unlicensed copies of an Apple operating system, or to 2477 // circumvent, violate, or enable the circumvention or violation of, any 2478 // terms of an Apple operating system software license agreement. 2479 // 2480 // Please obtain a copy of the License at 2481 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2482 // 2483 // The Original Code and all software distributed under the License are 2484 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2485 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2486 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2487 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2488 // Please see the License for the specific language governing rights and 2489 // limitations under the License. 2490 // 2491 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2492 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2493 // Copyright (c) 1991, 1993 2494 // The Regents of the University of California. All rights reserved. 2495 // 2496 // This code is derived from software contributed to Berkeley by 2497 // Berkeley Software Design, Inc. 2498 // 2499 // Redistribution and use in source and binary forms, with or without 2500 // modification, are permitted provided that the following conditions 2501 // are met: 2502 // 1. Redistributions of source code must retain the above copyright 2503 // notice, this list of conditions and the following disclaimer. 2504 // 2. Redistributions in binary form must reproduce the above copyright 2505 // notice, this list of conditions and the following disclaimer in the 2506 // documentation and/or other materials provided with the distribution. 2507 // 3. All advertising materials mentioning features or use of this software 2508 // must display the following acknowledgement: 2509 // This product includes software developed by the University of 2510 // California, Berkeley and its contributors. 2511 // 4. Neither the name of the University nor the names of its contributors 2512 // may be used to endorse or promote products derived from this software 2513 // without specific prior written permission. 2514 // 2515 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2516 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2517 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2518 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2519 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2520 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2521 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2522 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2523 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2524 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2525 // SUCH DAMAGE. 2526 // 2527 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2528 2529 type sig_atomic_t = int32 /* signal.h:39:13 */ 2530 2531 // Language spec sez we must list exactly one parameter, even though we 2532 // actually supply three. Ugh! 2533 // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h> 2534 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 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2562 // 2563 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2564 // 2565 // This file contains Original Code and/or Modifications of Original Code 2566 // as defined in and that are subject to the Apple Public Source License 2567 // Version 2.0 (the 'License'). You may not use this file except in 2568 // compliance with the License. The rights granted to you under the License 2569 // may not be used to create, or enable the creation or redistribution of, 2570 // unlawful or unlicensed copies of an Apple operating system, or to 2571 // circumvent, violate, or enable the circumvention or violation of, any 2572 // terms of an Apple operating system software license agreement. 2573 // 2574 // Please obtain a copy of the License at 2575 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2576 // 2577 // The Original Code and all software distributed under the License are 2578 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2579 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2580 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2581 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2582 // Please see the License for the specific language governing rights and 2583 // limitations under the License. 2584 // 2585 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2586 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2587 // 2588 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2589 // 2590 // This file contains Original Code and/or Modifications of Original Code 2591 // as defined in and that are subject to the Apple Public Source License 2592 // Version 2.0 (the 'License'). You may not use this file except in 2593 // compliance with the License. The rights granted to you under the License 2594 // may not be used to create, or enable the creation or redistribution of, 2595 // unlawful or unlicensed copies of an Apple operating system, or to 2596 // circumvent, violate, or enable the circumvention or violation of, any 2597 // terms of an Apple operating system software license agreement. 2598 // 2599 // Please obtain a copy of the License at 2600 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2601 // 2602 // The Original Code and all software distributed under the License are 2603 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2604 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2605 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2606 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2607 // Please see the License for the specific language governing rights and 2608 // limitations under the License. 2609 // 2610 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2611 2612 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2613 // 2614 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2615 // 2616 // This file contains Original Code and/or Modifications of Original Code 2617 // as defined in and that are subject to the Apple Public Source License 2618 // Version 2.0 (the 'License'). You may not use this file except in 2619 // compliance with the License. The rights granted to you under the License 2620 // may not be used to create, or enable the creation or redistribution of, 2621 // unlawful or unlicensed copies of an Apple operating system, or to 2622 // circumvent, violate, or enable the circumvention or violation of, any 2623 // terms of an Apple operating system software license agreement. 2624 // 2625 // Please obtain a copy of the License at 2626 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2627 // 2628 // The Original Code and all software distributed under the License are 2629 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2630 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2631 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2632 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2633 // Please see the License for the specific language governing rights and 2634 // limitations under the License. 2635 // 2636 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2637 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2638 // Copyright (c) 1991, 1993 2639 // The Regents of the University of California. All rights reserved. 2640 // 2641 // This code is derived from software contributed to Berkeley by 2642 // Berkeley Software Design, Inc. 2643 // 2644 // Redistribution and use in source and binary forms, with or without 2645 // modification, are permitted provided that the following conditions 2646 // are met: 2647 // 1. Redistributions of source code must retain the above copyright 2648 // notice, this list of conditions and the following disclaimer. 2649 // 2. Redistributions in binary form must reproduce the above copyright 2650 // notice, this list of conditions and the following disclaimer in the 2651 // documentation and/or other materials provided with the distribution. 2652 // 3. All advertising materials mentioning features or use of this software 2653 // must display the following acknowledgement: 2654 // This product includes software developed by the University of 2655 // California, Berkeley and its contributors. 2656 // 4. Neither the name of the University nor the names of its contributors 2657 // may be used to endorse or promote products derived from this software 2658 // without specific prior written permission. 2659 // 2660 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2661 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2662 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2663 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2664 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2665 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2666 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2667 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2668 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2669 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2670 // SUCH DAMAGE. 2671 // 2672 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2673 2674 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2675 // 2676 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2677 // 2678 // This file contains Original Code and/or Modifications of Original Code 2679 // as defined in and that are subject to the Apple Public Source License 2680 // Version 2.0 (the 'License'). You may not use this file except in 2681 // compliance with the License. The rights granted to you under the License 2682 // may not be used to create, or enable the creation or redistribution of, 2683 // unlawful or unlicensed copies of an Apple operating system, or to 2684 // circumvent, violate, or enable the circumvention or violation of, any 2685 // terms of an Apple operating system software license agreement. 2686 // 2687 // Please obtain a copy of the License at 2688 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2689 // 2690 // The Original Code and all software distributed under the License are 2691 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2692 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2693 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2694 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2695 // Please see the License for the specific language governing rights and 2696 // limitations under the License. 2697 // 2698 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2699 2700 // Copyright (c) 2017 Apple Inc. All rights reserved. 2701 // 2702 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2703 // 2704 // This file contains Original Code and/or Modifications of Original Code 2705 // as defined in and that are subject to the Apple Public Source License 2706 // Version 2.0 (the 'License'). You may not use this file except in 2707 // compliance with the License. The rights granted to you under the License 2708 // may not be used to create, or enable the creation or redistribution of, 2709 // unlawful or unlicensed copies of an Apple operating system, or to 2710 // circumvent, violate, or enable the circumvention or violation of, any 2711 // terms of an Apple operating system software license agreement. 2712 // 2713 // Please obtain a copy of the License at 2714 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2715 // 2716 // The Original Code and all software distributed under the License are 2717 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2718 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2719 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2720 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2721 // Please see the License for the specific language governing rights and 2722 // limitations under the License. 2723 // 2724 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2725 2726 // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved. 2727 // 2728 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2729 // 2730 // This file contains Original Code and/or Modifications of Original Code 2731 // as defined in and that are subject to the Apple Public Source License 2732 // Version 2.0 (the 'License'). You may not use this file except in 2733 // compliance with the License. The rights granted to you under the License 2734 // may not be used to create, or enable the creation or redistribution of, 2735 // unlawful or unlicensed copies of an Apple operating system, or to 2736 // circumvent, violate, or enable the circumvention or violation of, any 2737 // terms of an Apple operating system software license agreement. 2738 // 2739 // Please obtain a copy of the License at 2740 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2741 // 2742 // The Original Code and all software distributed under the License are 2743 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2744 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2745 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2746 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2747 // Please see the License for the specific language governing rights and 2748 // limitations under the License. 2749 // 2750 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2751 // @OSF_COPYRIGHT@ 2752 2753 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2754 // 2755 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2756 // 2757 // This file contains Original Code and/or Modifications of Original Code 2758 // as defined in and that are subject to the Apple Public Source License 2759 // Version 2.0 (the 'License'). You may not use this file except in 2760 // compliance with the License. The rights granted to you under the License 2761 // may not be used to create, or enable the creation or redistribution of, 2762 // unlawful or unlicensed copies of an Apple operating system, or to 2763 // circumvent, violate, or enable the circumvention or violation of, any 2764 // terms of an Apple operating system software license agreement. 2765 // 2766 // Please obtain a copy of the License at 2767 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2768 // 2769 // The Original Code and all software distributed under the License are 2770 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2771 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2772 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2773 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2774 // Please see the License for the specific language governing rights and 2775 // limitations under the License. 2776 // 2777 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2778 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2779 // Copyright (c) 1991, 1993 2780 // The Regents of the University of California. All rights reserved. 2781 // 2782 // This code is derived from software contributed to Berkeley by 2783 // Berkeley Software Design, Inc. 2784 // 2785 // Redistribution and use in source and binary forms, with or without 2786 // modification, are permitted provided that the following conditions 2787 // are met: 2788 // 1. Redistributions of source code must retain the above copyright 2789 // notice, this list of conditions and the following disclaimer. 2790 // 2. Redistributions in binary form must reproduce the above copyright 2791 // notice, this list of conditions and the following disclaimer in the 2792 // documentation and/or other materials provided with the distribution. 2793 // 3. All advertising materials mentioning features or use of this software 2794 // must display the following acknowledgement: 2795 // This product includes software developed by the University of 2796 // California, Berkeley and its contributors. 2797 // 4. Neither the name of the University nor the names of its contributors 2798 // may be used to endorse or promote products derived from this software 2799 // without specific prior written permission. 2800 // 2801 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2802 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2803 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2804 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2805 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2806 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2807 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2808 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2809 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2810 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2811 // SUCH DAMAGE. 2812 // 2813 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2814 2815 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2816 // 2817 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2818 // 2819 // This file contains Original Code and/or Modifications of Original Code 2820 // as defined in and that are subject to the Apple Public Source License 2821 // Version 2.0 (the 'License'). You may not use this file except in 2822 // compliance with the License. The rights granted to you under the License 2823 // may not be used to create, or enable the creation or redistribution of, 2824 // unlawful or unlicensed copies of an Apple operating system, or to 2825 // circumvent, violate, or enable the circumvention or violation of, any 2826 // terms of an Apple operating system software license agreement. 2827 // 2828 // Please obtain a copy of the License at 2829 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2830 // 2831 // The Original Code and all software distributed under the License are 2832 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2833 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2834 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2835 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2836 // Please see the License for the specific language governing rights and 2837 // limitations under the License. 2838 // 2839 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2840 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2841 2842 // i386 is the structure that is exported to user threads for 2843 // use in status/mutate calls. This structure should never change. 2844 // 2845 2846 type __darwin_i386_thread_state = struct { 2847 F__eax uint32 2848 F__ebx uint32 2849 F__ecx uint32 2850 F__edx uint32 2851 F__edi uint32 2852 F__esi uint32 2853 F__ebp uint32 2854 F__esp uint32 2855 F__ss uint32 2856 F__eflags uint32 2857 F__eip uint32 2858 F__cs uint32 2859 F__ds uint32 2860 F__es uint32 2861 F__fs uint32 2862 F__gs uint32 2863 } /* _structs.h:46:1 */ 2864 2865 // This structure should be double-word aligned for performance 2866 2867 type __darwin_fp_control = struct { 2868 F__ccgo_pad1 [0]uint16 2869 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2870 } /* _structs.h:92:1 */ 2871 2872 // Status word. 2873 2874 type __darwin_fp_status = struct { 2875 F__ccgo_pad1 [0]uint16 2876 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2877 } /* _structs.h:150:1 */ 2878 2879 // defn of 80bit x87 FPU or MMX register 2880 2881 type __darwin_mmst_reg = struct { 2882 F__mmst_reg [10]int8 2883 F__mmst_rsrv [6]int8 2884 } /* _structs.h:194:1 */ 2885 2886 // defn of 128 bit XMM regs 2887 2888 type __darwin_xmm_reg = struct{ F__xmm_reg [16]int8 } /* _structs.h:213:1 */ 2889 2890 // defn of 256 bit YMM regs 2891 2892 type __darwin_ymm_reg = struct{ F__ymm_reg [32]int8 } /* _structs.h:229:1 */ 2893 2894 // defn of 512 bit ZMM regs 2895 2896 type __darwin_zmm_reg = struct{ F__zmm_reg [64]int8 } /* _structs.h:245:1 */ 2897 2898 type __darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1 */ 2899 2900 // Floating point state. 2901 2902 type __darwin_i386_float_state = struct { 2903 F__fpu_reserved [2]int32 2904 F__fpu_fcw struct { 2905 F__ccgo_pad1 [0]uint16 2906 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2907 } 2908 F__fpu_fsw struct { 2909 F__ccgo_pad1 [0]uint16 2910 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2911 } 2912 F__fpu_ftw uint8 2913 F__fpu_rsrv1 uint8 2914 F__fpu_fop uint16 2915 F__fpu_ip uint32 2916 F__fpu_cs uint16 2917 F__fpu_rsrv2 uint16 2918 F__fpu_dp uint32 2919 F__fpu_ds uint16 2920 F__fpu_rsrv3 uint16 2921 F__fpu_mxcsr uint32 2922 F__fpu_mxcsrmask uint32 2923 F__fpu_stmm0 struct { 2924 F__mmst_reg [10]int8 2925 F__mmst_rsrv [6]int8 2926 } 2927 F__fpu_stmm1 struct { 2928 F__mmst_reg [10]int8 2929 F__mmst_rsrv [6]int8 2930 } 2931 F__fpu_stmm2 struct { 2932 F__mmst_reg [10]int8 2933 F__mmst_rsrv [6]int8 2934 } 2935 F__fpu_stmm3 struct { 2936 F__mmst_reg [10]int8 2937 F__mmst_rsrv [6]int8 2938 } 2939 F__fpu_stmm4 struct { 2940 F__mmst_reg [10]int8 2941 F__mmst_rsrv [6]int8 2942 } 2943 F__fpu_stmm5 struct { 2944 F__mmst_reg [10]int8 2945 F__mmst_rsrv [6]int8 2946 } 2947 F__fpu_stmm6 struct { 2948 F__mmst_reg [10]int8 2949 F__mmst_rsrv [6]int8 2950 } 2951 F__fpu_stmm7 struct { 2952 F__mmst_reg [10]int8 2953 F__mmst_rsrv [6]int8 2954 } 2955 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2956 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2957 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2958 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2959 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2960 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2961 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2962 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2963 F__fpu_rsrv4 [224]int8 2964 F__fpu_reserved1 int32 2965 } /* _structs.h:281:1 */ 2966 2967 type __darwin_i386_avx_state = struct { 2968 F__fpu_reserved [2]int32 2969 F__fpu_fcw struct { 2970 F__ccgo_pad1 [0]uint16 2971 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2972 } 2973 F__fpu_fsw struct { 2974 F__ccgo_pad1 [0]uint16 2975 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2976 } 2977 F__fpu_ftw uint8 2978 F__fpu_rsrv1 uint8 2979 F__fpu_fop uint16 2980 F__fpu_ip uint32 2981 F__fpu_cs uint16 2982 F__fpu_rsrv2 uint16 2983 F__fpu_dp uint32 2984 F__fpu_ds uint16 2985 F__fpu_rsrv3 uint16 2986 F__fpu_mxcsr uint32 2987 F__fpu_mxcsrmask uint32 2988 F__fpu_stmm0 struct { 2989 F__mmst_reg [10]int8 2990 F__mmst_rsrv [6]int8 2991 } 2992 F__fpu_stmm1 struct { 2993 F__mmst_reg [10]int8 2994 F__mmst_rsrv [6]int8 2995 } 2996 F__fpu_stmm2 struct { 2997 F__mmst_reg [10]int8 2998 F__mmst_rsrv [6]int8 2999 } 3000 F__fpu_stmm3 struct { 3001 F__mmst_reg [10]int8 3002 F__mmst_rsrv [6]int8 3003 } 3004 F__fpu_stmm4 struct { 3005 F__mmst_reg [10]int8 3006 F__mmst_rsrv [6]int8 3007 } 3008 F__fpu_stmm5 struct { 3009 F__mmst_reg [10]int8 3010 F__mmst_rsrv [6]int8 3011 } 3012 F__fpu_stmm6 struct { 3013 F__mmst_reg [10]int8 3014 F__mmst_rsrv [6]int8 3015 } 3016 F__fpu_stmm7 struct { 3017 F__mmst_reg [10]int8 3018 F__mmst_rsrv [6]int8 3019 } 3020 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3021 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3022 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3023 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3024 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3025 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3026 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3027 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3028 F__fpu_rsrv4 [224]int8 3029 F__fpu_reserved1 int32 3030 F__avx_reserved1 [64]int8 3031 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3032 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3033 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3034 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3035 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3036 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3037 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3038 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3039 } /* _structs.h:318:1 */ 3040 3041 type __darwin_i386_avx512_state = struct { 3042 F__fpu_reserved [2]int32 3043 F__fpu_fcw struct { 3044 F__ccgo_pad1 [0]uint16 3045 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3046 } 3047 F__fpu_fsw struct { 3048 F__ccgo_pad1 [0]uint16 3049 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3050 } 3051 F__fpu_ftw uint8 3052 F__fpu_rsrv1 uint8 3053 F__fpu_fop uint16 3054 F__fpu_ip uint32 3055 F__fpu_cs uint16 3056 F__fpu_rsrv2 uint16 3057 F__fpu_dp uint32 3058 F__fpu_ds uint16 3059 F__fpu_rsrv3 uint16 3060 F__fpu_mxcsr uint32 3061 F__fpu_mxcsrmask uint32 3062 F__fpu_stmm0 struct { 3063 F__mmst_reg [10]int8 3064 F__mmst_rsrv [6]int8 3065 } 3066 F__fpu_stmm1 struct { 3067 F__mmst_reg [10]int8 3068 F__mmst_rsrv [6]int8 3069 } 3070 F__fpu_stmm2 struct { 3071 F__mmst_reg [10]int8 3072 F__mmst_rsrv [6]int8 3073 } 3074 F__fpu_stmm3 struct { 3075 F__mmst_reg [10]int8 3076 F__mmst_rsrv [6]int8 3077 } 3078 F__fpu_stmm4 struct { 3079 F__mmst_reg [10]int8 3080 F__mmst_rsrv [6]int8 3081 } 3082 F__fpu_stmm5 struct { 3083 F__mmst_reg [10]int8 3084 F__mmst_rsrv [6]int8 3085 } 3086 F__fpu_stmm6 struct { 3087 F__mmst_reg [10]int8 3088 F__mmst_rsrv [6]int8 3089 } 3090 F__fpu_stmm7 struct { 3091 F__mmst_reg [10]int8 3092 F__mmst_rsrv [6]int8 3093 } 3094 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3095 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3096 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3097 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3098 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3099 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3100 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3101 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3102 F__fpu_rsrv4 [224]int8 3103 F__fpu_reserved1 int32 3104 F__avx_reserved1 [64]int8 3105 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3106 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3107 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3108 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3109 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3110 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3111 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3112 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3113 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 3114 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 3115 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 3116 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 3117 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 3118 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 3119 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 3120 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 3121 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 3122 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 3123 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 3124 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 3125 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 3126 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 3127 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 3128 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 3129 } /* _structs.h:364:1 */ 3130 3131 type __darwin_i386_exception_state = struct { 3132 F__trapno uint16 3133 F__cpu uint16 3134 F__err uint32 3135 F__faultvaddr uint32 3136 } /* _structs.h:575:1 */ 3137 3138 type __darwin_x86_debug_state32 = struct { 3139 F__dr0 uint32 3140 F__dr1 uint32 3141 F__dr2 uint32 3142 F__dr3 uint32 3143 F__dr4 uint32 3144 F__dr5 uint32 3145 F__dr6 uint32 3146 F__dr7 uint32 3147 } /* _structs.h:595:1 */ 3148 3149 type __x86_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:622:1 */ 3150 3151 // 64 bit versions of the above 3152 3153 type __darwin_x86_thread_state64 = struct { 3154 F__rax uint64 3155 F__rbx uint64 3156 F__rcx uint64 3157 F__rdx uint64 3158 F__rdi uint64 3159 F__rsi uint64 3160 F__rbp uint64 3161 F__rsp uint64 3162 F__r8 uint64 3163 F__r9 uint64 3164 F__r10 uint64 3165 F__r11 uint64 3166 F__r12 uint64 3167 F__r13 uint64 3168 F__r14 uint64 3169 F__r15 uint64 3170 F__rip uint64 3171 F__rflags uint64 3172 F__cs uint64 3173 F__fs uint64 3174 F__gs uint64 3175 } /* _structs.h:633:1 */ 3176 3177 // 64 bit versions of the above (complete) 3178 3179 type __darwin_x86_thread_full_state64 = struct { 3180 F__ss64 struct { 3181 F__rax uint64 3182 F__rbx uint64 3183 F__rcx uint64 3184 F__rdx uint64 3185 F__rdi uint64 3186 F__rsi uint64 3187 F__rbp uint64 3188 F__rsp uint64 3189 F__r8 uint64 3190 F__r9 uint64 3191 F__r10 uint64 3192 F__r11 uint64 3193 F__r12 uint64 3194 F__r13 uint64 3195 F__r14 uint64 3196 F__r15 uint64 3197 F__rip uint64 3198 F__rflags uint64 3199 F__cs uint64 3200 F__fs uint64 3201 F__gs uint64 3202 } 3203 F__ds uint64 3204 F__es uint64 3205 F__ss uint64 3206 F__gsbase uint64 3207 } /* _structs.h:691:1 */ 3208 3209 type __darwin_x86_float_state64 = struct { 3210 F__fpu_reserved [2]int32 3211 F__fpu_fcw struct { 3212 F__ccgo_pad1 [0]uint16 3213 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3214 } 3215 F__fpu_fsw struct { 3216 F__ccgo_pad1 [0]uint16 3217 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3218 } 3219 F__fpu_ftw uint8 3220 F__fpu_rsrv1 uint8 3221 F__fpu_fop uint16 3222 F__fpu_ip uint32 3223 F__fpu_cs uint16 3224 F__fpu_rsrv2 uint16 3225 F__fpu_dp uint32 3226 F__fpu_ds uint16 3227 F__fpu_rsrv3 uint16 3228 F__fpu_mxcsr uint32 3229 F__fpu_mxcsrmask uint32 3230 F__fpu_stmm0 struct { 3231 F__mmst_reg [10]int8 3232 F__mmst_rsrv [6]int8 3233 } 3234 F__fpu_stmm1 struct { 3235 F__mmst_reg [10]int8 3236 F__mmst_rsrv [6]int8 3237 } 3238 F__fpu_stmm2 struct { 3239 F__mmst_reg [10]int8 3240 F__mmst_rsrv [6]int8 3241 } 3242 F__fpu_stmm3 struct { 3243 F__mmst_reg [10]int8 3244 F__mmst_rsrv [6]int8 3245 } 3246 F__fpu_stmm4 struct { 3247 F__mmst_reg [10]int8 3248 F__mmst_rsrv [6]int8 3249 } 3250 F__fpu_stmm5 struct { 3251 F__mmst_reg [10]int8 3252 F__mmst_rsrv [6]int8 3253 } 3254 F__fpu_stmm6 struct { 3255 F__mmst_reg [10]int8 3256 F__mmst_rsrv [6]int8 3257 } 3258 F__fpu_stmm7 struct { 3259 F__mmst_reg [10]int8 3260 F__mmst_rsrv [6]int8 3261 } 3262 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3263 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3264 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3265 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3266 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3267 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3268 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3269 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3270 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3271 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3272 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3273 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3274 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3275 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3276 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3277 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3278 F__fpu_rsrv4 [96]int8 3279 F__fpu_reserved1 int32 3280 } /* _structs.h:714:1 */ 3281 3282 type __darwin_x86_avx_state64 = struct { 3283 F__fpu_reserved [2]int32 3284 F__fpu_fcw struct { 3285 F__ccgo_pad1 [0]uint16 3286 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3287 } 3288 F__fpu_fsw struct { 3289 F__ccgo_pad1 [0]uint16 3290 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3291 } 3292 F__fpu_ftw uint8 3293 F__fpu_rsrv1 uint8 3294 F__fpu_fop uint16 3295 F__fpu_ip uint32 3296 F__fpu_cs uint16 3297 F__fpu_rsrv2 uint16 3298 F__fpu_dp uint32 3299 F__fpu_ds uint16 3300 F__fpu_rsrv3 uint16 3301 F__fpu_mxcsr uint32 3302 F__fpu_mxcsrmask uint32 3303 F__fpu_stmm0 struct { 3304 F__mmst_reg [10]int8 3305 F__mmst_rsrv [6]int8 3306 } 3307 F__fpu_stmm1 struct { 3308 F__mmst_reg [10]int8 3309 F__mmst_rsrv [6]int8 3310 } 3311 F__fpu_stmm2 struct { 3312 F__mmst_reg [10]int8 3313 F__mmst_rsrv [6]int8 3314 } 3315 F__fpu_stmm3 struct { 3316 F__mmst_reg [10]int8 3317 F__mmst_rsrv [6]int8 3318 } 3319 F__fpu_stmm4 struct { 3320 F__mmst_reg [10]int8 3321 F__mmst_rsrv [6]int8 3322 } 3323 F__fpu_stmm5 struct { 3324 F__mmst_reg [10]int8 3325 F__mmst_rsrv [6]int8 3326 } 3327 F__fpu_stmm6 struct { 3328 F__mmst_reg [10]int8 3329 F__mmst_rsrv [6]int8 3330 } 3331 F__fpu_stmm7 struct { 3332 F__mmst_reg [10]int8 3333 F__mmst_rsrv [6]int8 3334 } 3335 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3336 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3337 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3338 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3339 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3340 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3341 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3342 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3343 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3344 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3345 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3346 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3347 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3348 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3349 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3350 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3351 F__fpu_rsrv4 [96]int8 3352 F__fpu_reserved1 int32 3353 F__avx_reserved1 [64]int8 3354 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3355 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3356 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3357 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3358 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3359 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3360 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3361 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3362 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 3363 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 3364 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 3365 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 3366 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 3367 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 3368 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 3369 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 3370 } /* _structs.h:765:1 */ 3371 3372 type __darwin_x86_avx512_state64 = struct { 3373 F__fpu_reserved [2]int32 3374 F__fpu_fcw struct { 3375 F__ccgo_pad1 [0]uint16 3376 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3377 } 3378 F__fpu_fsw struct { 3379 F__ccgo_pad1 [0]uint16 3380 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3381 } 3382 F__fpu_ftw uint8 3383 F__fpu_rsrv1 uint8 3384 F__fpu_fop uint16 3385 F__fpu_ip uint32 3386 F__fpu_cs uint16 3387 F__fpu_rsrv2 uint16 3388 F__fpu_dp uint32 3389 F__fpu_ds uint16 3390 F__fpu_rsrv3 uint16 3391 F__fpu_mxcsr uint32 3392 F__fpu_mxcsrmask uint32 3393 F__fpu_stmm0 struct { 3394 F__mmst_reg [10]int8 3395 F__mmst_rsrv [6]int8 3396 } 3397 F__fpu_stmm1 struct { 3398 F__mmst_reg [10]int8 3399 F__mmst_rsrv [6]int8 3400 } 3401 F__fpu_stmm2 struct { 3402 F__mmst_reg [10]int8 3403 F__mmst_rsrv [6]int8 3404 } 3405 F__fpu_stmm3 struct { 3406 F__mmst_reg [10]int8 3407 F__mmst_rsrv [6]int8 3408 } 3409 F__fpu_stmm4 struct { 3410 F__mmst_reg [10]int8 3411 F__mmst_rsrv [6]int8 3412 } 3413 F__fpu_stmm5 struct { 3414 F__mmst_reg [10]int8 3415 F__mmst_rsrv [6]int8 3416 } 3417 F__fpu_stmm6 struct { 3418 F__mmst_reg [10]int8 3419 F__mmst_rsrv [6]int8 3420 } 3421 F__fpu_stmm7 struct { 3422 F__mmst_reg [10]int8 3423 F__mmst_rsrv [6]int8 3424 } 3425 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3426 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3427 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3428 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3429 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3430 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3431 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3432 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3433 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3434 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3435 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3436 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3437 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3438 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3439 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3440 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3441 F__fpu_rsrv4 [96]int8 3442 F__fpu_reserved1 int32 3443 F__avx_reserved1 [64]int8 3444 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3445 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3446 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3447 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3448 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3449 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3450 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3451 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3452 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 3453 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 3454 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 3455 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 3456 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 3457 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 3458 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 3459 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 3460 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 3461 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 3462 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 3463 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 3464 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 3465 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 3466 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 3467 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 3468 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 3469 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 3470 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 3471 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 3472 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 3473 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 3474 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 3475 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 3476 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 3477 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 3478 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 3479 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 3480 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 3481 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 3482 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 3483 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 3484 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 3485 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 3486 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 3487 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 3488 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 3489 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 3490 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 3491 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 3492 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 3493 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 3494 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 3495 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 3496 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 3497 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 3498 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 3499 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 3500 } /* _structs.h:833:1 */ 3501 3502 type __darwin_x86_exception_state64 = struct { 3503 F__trapno uint16 3504 F__cpu uint16 3505 F__err uint32 3506 F__faultvaddr uint64 3507 } /* _structs.h:1172:1 */ 3508 3509 type __darwin_x86_debug_state64 = struct { 3510 F__dr0 uint64 3511 F__dr1 uint64 3512 F__dr2 uint64 3513 F__dr3 uint64 3514 F__dr4 uint64 3515 F__dr5 uint64 3516 F__dr6 uint64 3517 F__dr7 uint64 3518 } /* _structs.h:1192:1 */ 3519 3520 type __darwin_x86_cpmu_state64 = struct{ F__ctrs [16]uint64 } /* _structs.h:1220:1 */ 3521 3522 type __darwin_mcontext32 = struct { 3523 F__es struct { 3524 F__trapno uint16 3525 F__cpu uint16 3526 F__err uint32 3527 F__faultvaddr uint32 3528 } 3529 F__ss struct { 3530 F__eax uint32 3531 F__ebx uint32 3532 F__ecx uint32 3533 F__edx uint32 3534 F__edi uint32 3535 F__esi uint32 3536 F__ebp uint32 3537 F__esp uint32 3538 F__ss uint32 3539 F__eflags uint32 3540 F__eip uint32 3541 F__cs uint32 3542 F__ds uint32 3543 F__es uint32 3544 F__fs uint32 3545 F__gs uint32 3546 } 3547 F__fs struct { 3548 F__fpu_reserved [2]int32 3549 F__fpu_fcw struct { 3550 F__ccgo_pad1 [0]uint16 3551 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3552 } 3553 F__fpu_fsw struct { 3554 F__ccgo_pad1 [0]uint16 3555 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3556 } 3557 F__fpu_ftw uint8 3558 F__fpu_rsrv1 uint8 3559 F__fpu_fop uint16 3560 F__fpu_ip uint32 3561 F__fpu_cs uint16 3562 F__fpu_rsrv2 uint16 3563 F__fpu_dp uint32 3564 F__fpu_ds uint16 3565 F__fpu_rsrv3 uint16 3566 F__fpu_mxcsr uint32 3567 F__fpu_mxcsrmask uint32 3568 F__fpu_stmm0 struct { 3569 F__mmst_reg [10]int8 3570 F__mmst_rsrv [6]int8 3571 } 3572 F__fpu_stmm1 struct { 3573 F__mmst_reg [10]int8 3574 F__mmst_rsrv [6]int8 3575 } 3576 F__fpu_stmm2 struct { 3577 F__mmst_reg [10]int8 3578 F__mmst_rsrv [6]int8 3579 } 3580 F__fpu_stmm3 struct { 3581 F__mmst_reg [10]int8 3582 F__mmst_rsrv [6]int8 3583 } 3584 F__fpu_stmm4 struct { 3585 F__mmst_reg [10]int8 3586 F__mmst_rsrv [6]int8 3587 } 3588 F__fpu_stmm5 struct { 3589 F__mmst_reg [10]int8 3590 F__mmst_rsrv [6]int8 3591 } 3592 F__fpu_stmm6 struct { 3593 F__mmst_reg [10]int8 3594 F__mmst_rsrv [6]int8 3595 } 3596 F__fpu_stmm7 struct { 3597 F__mmst_reg [10]int8 3598 F__mmst_rsrv [6]int8 3599 } 3600 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3601 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3602 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3603 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3604 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3605 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3606 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3607 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3608 F__fpu_rsrv4 [224]int8 3609 F__fpu_reserved1 int32 3610 } 3611 } /* _mcontext.h:39:1 */ 3612 3613 type __darwin_mcontext_avx32 = struct { 3614 F__es struct { 3615 F__trapno uint16 3616 F__cpu uint16 3617 F__err uint32 3618 F__faultvaddr uint32 3619 } 3620 F__ss struct { 3621 F__eax uint32 3622 F__ebx uint32 3623 F__ecx uint32 3624 F__edx uint32 3625 F__edi uint32 3626 F__esi uint32 3627 F__ebp uint32 3628 F__esp uint32 3629 F__ss uint32 3630 F__eflags uint32 3631 F__eip uint32 3632 F__cs uint32 3633 F__ds uint32 3634 F__es uint32 3635 F__fs uint32 3636 F__gs uint32 3637 } 3638 F__fs struct { 3639 F__fpu_reserved [2]int32 3640 F__fpu_fcw struct { 3641 F__ccgo_pad1 [0]uint16 3642 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3643 } 3644 F__fpu_fsw struct { 3645 F__ccgo_pad1 [0]uint16 3646 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3647 } 3648 F__fpu_ftw uint8 3649 F__fpu_rsrv1 uint8 3650 F__fpu_fop uint16 3651 F__fpu_ip uint32 3652 F__fpu_cs uint16 3653 F__fpu_rsrv2 uint16 3654 F__fpu_dp uint32 3655 F__fpu_ds uint16 3656 F__fpu_rsrv3 uint16 3657 F__fpu_mxcsr uint32 3658 F__fpu_mxcsrmask uint32 3659 F__fpu_stmm0 struct { 3660 F__mmst_reg [10]int8 3661 F__mmst_rsrv [6]int8 3662 } 3663 F__fpu_stmm1 struct { 3664 F__mmst_reg [10]int8 3665 F__mmst_rsrv [6]int8 3666 } 3667 F__fpu_stmm2 struct { 3668 F__mmst_reg [10]int8 3669 F__mmst_rsrv [6]int8 3670 } 3671 F__fpu_stmm3 struct { 3672 F__mmst_reg [10]int8 3673 F__mmst_rsrv [6]int8 3674 } 3675 F__fpu_stmm4 struct { 3676 F__mmst_reg [10]int8 3677 F__mmst_rsrv [6]int8 3678 } 3679 F__fpu_stmm5 struct { 3680 F__mmst_reg [10]int8 3681 F__mmst_rsrv [6]int8 3682 } 3683 F__fpu_stmm6 struct { 3684 F__mmst_reg [10]int8 3685 F__mmst_rsrv [6]int8 3686 } 3687 F__fpu_stmm7 struct { 3688 F__mmst_reg [10]int8 3689 F__mmst_rsrv [6]int8 3690 } 3691 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3692 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3693 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3694 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3695 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3696 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3697 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3698 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3699 F__fpu_rsrv4 [224]int8 3700 F__fpu_reserved1 int32 3701 F__avx_reserved1 [64]int8 3702 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3703 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3704 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3705 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3706 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3707 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3708 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3709 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3710 } 3711 } /* _mcontext.h:47:1 */ 3712 3713 type __darwin_mcontext_avx512_32 = struct { 3714 F__es struct { 3715 F__trapno uint16 3716 F__cpu uint16 3717 F__err uint32 3718 F__faultvaddr uint32 3719 } 3720 F__ss struct { 3721 F__eax uint32 3722 F__ebx uint32 3723 F__ecx uint32 3724 F__edx uint32 3725 F__edi uint32 3726 F__esi uint32 3727 F__ebp uint32 3728 F__esp uint32 3729 F__ss uint32 3730 F__eflags uint32 3731 F__eip uint32 3732 F__cs uint32 3733 F__ds uint32 3734 F__es uint32 3735 F__fs uint32 3736 F__gs uint32 3737 } 3738 F__fs struct { 3739 F__fpu_reserved [2]int32 3740 F__fpu_fcw struct { 3741 F__ccgo_pad1 [0]uint16 3742 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3743 } 3744 F__fpu_fsw struct { 3745 F__ccgo_pad1 [0]uint16 3746 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3747 } 3748 F__fpu_ftw uint8 3749 F__fpu_rsrv1 uint8 3750 F__fpu_fop uint16 3751 F__fpu_ip uint32 3752 F__fpu_cs uint16 3753 F__fpu_rsrv2 uint16 3754 F__fpu_dp uint32 3755 F__fpu_ds uint16 3756 F__fpu_rsrv3 uint16 3757 F__fpu_mxcsr uint32 3758 F__fpu_mxcsrmask uint32 3759 F__fpu_stmm0 struct { 3760 F__mmst_reg [10]int8 3761 F__mmst_rsrv [6]int8 3762 } 3763 F__fpu_stmm1 struct { 3764 F__mmst_reg [10]int8 3765 F__mmst_rsrv [6]int8 3766 } 3767 F__fpu_stmm2 struct { 3768 F__mmst_reg [10]int8 3769 F__mmst_rsrv [6]int8 3770 } 3771 F__fpu_stmm3 struct { 3772 F__mmst_reg [10]int8 3773 F__mmst_rsrv [6]int8 3774 } 3775 F__fpu_stmm4 struct { 3776 F__mmst_reg [10]int8 3777 F__mmst_rsrv [6]int8 3778 } 3779 F__fpu_stmm5 struct { 3780 F__mmst_reg [10]int8 3781 F__mmst_rsrv [6]int8 3782 } 3783 F__fpu_stmm6 struct { 3784 F__mmst_reg [10]int8 3785 F__mmst_rsrv [6]int8 3786 } 3787 F__fpu_stmm7 struct { 3788 F__mmst_reg [10]int8 3789 F__mmst_rsrv [6]int8 3790 } 3791 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3792 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3793 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3794 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3795 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3796 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3797 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3798 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3799 F__fpu_rsrv4 [224]int8 3800 F__fpu_reserved1 int32 3801 F__avx_reserved1 [64]int8 3802 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3803 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3804 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3805 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3806 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3807 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3808 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3809 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3810 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 3811 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 3812 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 3813 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 3814 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 3815 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 3816 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 3817 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 3818 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 3819 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 3820 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 3821 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 3822 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 3823 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 3824 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 3825 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 3826 } 3827 } /* _mcontext.h:56:1 */ 3828 3829 type __darwin_mcontext64 = struct { 3830 F__es struct { 3831 F__trapno uint16 3832 F__cpu uint16 3833 F__err uint32 3834 F__faultvaddr uint64 3835 } 3836 F__ss struct { 3837 F__rax uint64 3838 F__rbx uint64 3839 F__rcx uint64 3840 F__rdx uint64 3841 F__rdi uint64 3842 F__rsi uint64 3843 F__rbp uint64 3844 F__rsp uint64 3845 F__r8 uint64 3846 F__r9 uint64 3847 F__r10 uint64 3848 F__r11 uint64 3849 F__r12 uint64 3850 F__r13 uint64 3851 F__r14 uint64 3852 F__r15 uint64 3853 F__rip uint64 3854 F__rflags uint64 3855 F__cs uint64 3856 F__fs uint64 3857 F__gs uint64 3858 } 3859 F__fs struct { 3860 F__fpu_reserved [2]int32 3861 F__fpu_fcw struct { 3862 F__ccgo_pad1 [0]uint16 3863 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3864 } 3865 F__fpu_fsw struct { 3866 F__ccgo_pad1 [0]uint16 3867 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3868 } 3869 F__fpu_ftw uint8 3870 F__fpu_rsrv1 uint8 3871 F__fpu_fop uint16 3872 F__fpu_ip uint32 3873 F__fpu_cs uint16 3874 F__fpu_rsrv2 uint16 3875 F__fpu_dp uint32 3876 F__fpu_ds uint16 3877 F__fpu_rsrv3 uint16 3878 F__fpu_mxcsr uint32 3879 F__fpu_mxcsrmask uint32 3880 F__fpu_stmm0 struct { 3881 F__mmst_reg [10]int8 3882 F__mmst_rsrv [6]int8 3883 } 3884 F__fpu_stmm1 struct { 3885 F__mmst_reg [10]int8 3886 F__mmst_rsrv [6]int8 3887 } 3888 F__fpu_stmm2 struct { 3889 F__mmst_reg [10]int8 3890 F__mmst_rsrv [6]int8 3891 } 3892 F__fpu_stmm3 struct { 3893 F__mmst_reg [10]int8 3894 F__mmst_rsrv [6]int8 3895 } 3896 F__fpu_stmm4 struct { 3897 F__mmst_reg [10]int8 3898 F__mmst_rsrv [6]int8 3899 } 3900 F__fpu_stmm5 struct { 3901 F__mmst_reg [10]int8 3902 F__mmst_rsrv [6]int8 3903 } 3904 F__fpu_stmm6 struct { 3905 F__mmst_reg [10]int8 3906 F__mmst_rsrv [6]int8 3907 } 3908 F__fpu_stmm7 struct { 3909 F__mmst_reg [10]int8 3910 F__mmst_rsrv [6]int8 3911 } 3912 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3913 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3914 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3915 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3916 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3917 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3918 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3919 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3920 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3921 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3922 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3923 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3924 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3925 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3926 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3927 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3928 F__fpu_rsrv4 [96]int8 3929 F__fpu_reserved1 int32 3930 } 3931 F__ccgo_pad1 [4]byte 3932 } /* _mcontext.h:97:1 */ 3933 3934 type __darwin_mcontext64_full = struct { 3935 F__es struct { 3936 F__trapno uint16 3937 F__cpu uint16 3938 F__err uint32 3939 F__faultvaddr uint64 3940 } 3941 F__ss struct { 3942 F__ss64 struct { 3943 F__rax uint64 3944 F__rbx uint64 3945 F__rcx uint64 3946 F__rdx uint64 3947 F__rdi uint64 3948 F__rsi uint64 3949 F__rbp uint64 3950 F__rsp uint64 3951 F__r8 uint64 3952 F__r9 uint64 3953 F__r10 uint64 3954 F__r11 uint64 3955 F__r12 uint64 3956 F__r13 uint64 3957 F__r14 uint64 3958 F__r15 uint64 3959 F__rip uint64 3960 F__rflags uint64 3961 F__cs uint64 3962 F__fs uint64 3963 F__gs uint64 3964 } 3965 F__ds uint64 3966 F__es uint64 3967 F__ss uint64 3968 F__gsbase uint64 3969 } 3970 F__fs struct { 3971 F__fpu_reserved [2]int32 3972 F__fpu_fcw struct { 3973 F__ccgo_pad1 [0]uint16 3974 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3975 } 3976 F__fpu_fsw struct { 3977 F__ccgo_pad1 [0]uint16 3978 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3979 } 3980 F__fpu_ftw uint8 3981 F__fpu_rsrv1 uint8 3982 F__fpu_fop uint16 3983 F__fpu_ip uint32 3984 F__fpu_cs uint16 3985 F__fpu_rsrv2 uint16 3986 F__fpu_dp uint32 3987 F__fpu_ds uint16 3988 F__fpu_rsrv3 uint16 3989 F__fpu_mxcsr uint32 3990 F__fpu_mxcsrmask uint32 3991 F__fpu_stmm0 struct { 3992 F__mmst_reg [10]int8 3993 F__mmst_rsrv [6]int8 3994 } 3995 F__fpu_stmm1 struct { 3996 F__mmst_reg [10]int8 3997 F__mmst_rsrv [6]int8 3998 } 3999 F__fpu_stmm2 struct { 4000 F__mmst_reg [10]int8 4001 F__mmst_rsrv [6]int8 4002 } 4003 F__fpu_stmm3 struct { 4004 F__mmst_reg [10]int8 4005 F__mmst_rsrv [6]int8 4006 } 4007 F__fpu_stmm4 struct { 4008 F__mmst_reg [10]int8 4009 F__mmst_rsrv [6]int8 4010 } 4011 F__fpu_stmm5 struct { 4012 F__mmst_reg [10]int8 4013 F__mmst_rsrv [6]int8 4014 } 4015 F__fpu_stmm6 struct { 4016 F__mmst_reg [10]int8 4017 F__mmst_rsrv [6]int8 4018 } 4019 F__fpu_stmm7 struct { 4020 F__mmst_reg [10]int8 4021 F__mmst_rsrv [6]int8 4022 } 4023 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4024 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4025 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4026 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4027 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4028 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4029 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4030 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4031 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4032 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4033 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4034 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4035 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4036 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4037 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4038 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4039 F__fpu_rsrv4 [96]int8 4040 F__fpu_reserved1 int32 4041 } 4042 F__ccgo_pad1 [4]byte 4043 } /* _mcontext.h:105:1 */ 4044 4045 type __darwin_mcontext_avx64 = struct { 4046 F__es struct { 4047 F__trapno uint16 4048 F__cpu uint16 4049 F__err uint32 4050 F__faultvaddr uint64 4051 } 4052 F__ss struct { 4053 F__rax uint64 4054 F__rbx uint64 4055 F__rcx uint64 4056 F__rdx uint64 4057 F__rdi uint64 4058 F__rsi uint64 4059 F__rbp uint64 4060 F__rsp uint64 4061 F__r8 uint64 4062 F__r9 uint64 4063 F__r10 uint64 4064 F__r11 uint64 4065 F__r12 uint64 4066 F__r13 uint64 4067 F__r14 uint64 4068 F__r15 uint64 4069 F__rip uint64 4070 F__rflags uint64 4071 F__cs uint64 4072 F__fs uint64 4073 F__gs uint64 4074 } 4075 F__fs struct { 4076 F__fpu_reserved [2]int32 4077 F__fpu_fcw struct { 4078 F__ccgo_pad1 [0]uint16 4079 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 4080 } 4081 F__fpu_fsw struct { 4082 F__ccgo_pad1 [0]uint16 4083 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 4084 } 4085 F__fpu_ftw uint8 4086 F__fpu_rsrv1 uint8 4087 F__fpu_fop uint16 4088 F__fpu_ip uint32 4089 F__fpu_cs uint16 4090 F__fpu_rsrv2 uint16 4091 F__fpu_dp uint32 4092 F__fpu_ds uint16 4093 F__fpu_rsrv3 uint16 4094 F__fpu_mxcsr uint32 4095 F__fpu_mxcsrmask uint32 4096 F__fpu_stmm0 struct { 4097 F__mmst_reg [10]int8 4098 F__mmst_rsrv [6]int8 4099 } 4100 F__fpu_stmm1 struct { 4101 F__mmst_reg [10]int8 4102 F__mmst_rsrv [6]int8 4103 } 4104 F__fpu_stmm2 struct { 4105 F__mmst_reg [10]int8 4106 F__mmst_rsrv [6]int8 4107 } 4108 F__fpu_stmm3 struct { 4109 F__mmst_reg [10]int8 4110 F__mmst_rsrv [6]int8 4111 } 4112 F__fpu_stmm4 struct { 4113 F__mmst_reg [10]int8 4114 F__mmst_rsrv [6]int8 4115 } 4116 F__fpu_stmm5 struct { 4117 F__mmst_reg [10]int8 4118 F__mmst_rsrv [6]int8 4119 } 4120 F__fpu_stmm6 struct { 4121 F__mmst_reg [10]int8 4122 F__mmst_rsrv [6]int8 4123 } 4124 F__fpu_stmm7 struct { 4125 F__mmst_reg [10]int8 4126 F__mmst_rsrv [6]int8 4127 } 4128 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4129 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4130 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4131 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4132 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4133 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4134 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4135 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4136 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4137 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4138 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4139 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4140 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4141 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4142 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4143 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4144 F__fpu_rsrv4 [96]int8 4145 F__fpu_reserved1 int32 4146 F__avx_reserved1 [64]int8 4147 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 4148 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 4149 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 4150 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 4151 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 4152 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 4153 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 4154 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 4155 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 4156 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 4157 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 4158 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 4159 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 4160 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 4161 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 4162 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 4163 } 4164 F__ccgo_pad1 [4]byte 4165 } /* _mcontext.h:113:1 */ 4166 4167 type __darwin_mcontext_avx64_full = struct { 4168 F__es struct { 4169 F__trapno uint16 4170 F__cpu uint16 4171 F__err uint32 4172 F__faultvaddr uint64 4173 } 4174 F__ss struct { 4175 F__ss64 struct { 4176 F__rax uint64 4177 F__rbx uint64 4178 F__rcx uint64 4179 F__rdx uint64 4180 F__rdi uint64 4181 F__rsi uint64 4182 F__rbp uint64 4183 F__rsp uint64 4184 F__r8 uint64 4185 F__r9 uint64 4186 F__r10 uint64 4187 F__r11 uint64 4188 F__r12 uint64 4189 F__r13 uint64 4190 F__r14 uint64 4191 F__r15 uint64 4192 F__rip uint64 4193 F__rflags uint64 4194 F__cs uint64 4195 F__fs uint64 4196 F__gs uint64 4197 } 4198 F__ds uint64 4199 F__es uint64 4200 F__ss uint64 4201 F__gsbase uint64 4202 } 4203 F__fs struct { 4204 F__fpu_reserved [2]int32 4205 F__fpu_fcw struct { 4206 F__ccgo_pad1 [0]uint16 4207 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 4208 } 4209 F__fpu_fsw struct { 4210 F__ccgo_pad1 [0]uint16 4211 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 4212 } 4213 F__fpu_ftw uint8 4214 F__fpu_rsrv1 uint8 4215 F__fpu_fop uint16 4216 F__fpu_ip uint32 4217 F__fpu_cs uint16 4218 F__fpu_rsrv2 uint16 4219 F__fpu_dp uint32 4220 F__fpu_ds uint16 4221 F__fpu_rsrv3 uint16 4222 F__fpu_mxcsr uint32 4223 F__fpu_mxcsrmask uint32 4224 F__fpu_stmm0 struct { 4225 F__mmst_reg [10]int8 4226 F__mmst_rsrv [6]int8 4227 } 4228 F__fpu_stmm1 struct { 4229 F__mmst_reg [10]int8 4230 F__mmst_rsrv [6]int8 4231 } 4232 F__fpu_stmm2 struct { 4233 F__mmst_reg [10]int8 4234 F__mmst_rsrv [6]int8 4235 } 4236 F__fpu_stmm3 struct { 4237 F__mmst_reg [10]int8 4238 F__mmst_rsrv [6]int8 4239 } 4240 F__fpu_stmm4 struct { 4241 F__mmst_reg [10]int8 4242 F__mmst_rsrv [6]int8 4243 } 4244 F__fpu_stmm5 struct { 4245 F__mmst_reg [10]int8 4246 F__mmst_rsrv [6]int8 4247 } 4248 F__fpu_stmm6 struct { 4249 F__mmst_reg [10]int8 4250 F__mmst_rsrv [6]int8 4251 } 4252 F__fpu_stmm7 struct { 4253 F__mmst_reg [10]int8 4254 F__mmst_rsrv [6]int8 4255 } 4256 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4257 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4258 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4259 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4260 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4261 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4262 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4263 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4264 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4265 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4266 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4267 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4268 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4269 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4270 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4271 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4272 F__fpu_rsrv4 [96]int8 4273 F__fpu_reserved1 int32 4274 F__avx_reserved1 [64]int8 4275 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 4276 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 4277 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 4278 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 4279 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 4280 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 4281 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 4282 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 4283 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 4284 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 4285 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 4286 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 4287 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 4288 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 4289 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 4290 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 4291 } 4292 F__ccgo_pad1 [4]byte 4293 } /* _mcontext.h:121:1 */ 4294 4295 type __darwin_mcontext_avx512_64 = struct { 4296 F__es struct { 4297 F__trapno uint16 4298 F__cpu uint16 4299 F__err uint32 4300 F__faultvaddr uint64 4301 } 4302 F__ss struct { 4303 F__rax uint64 4304 F__rbx uint64 4305 F__rcx uint64 4306 F__rdx uint64 4307 F__rdi uint64 4308 F__rsi uint64 4309 F__rbp uint64 4310 F__rsp uint64 4311 F__r8 uint64 4312 F__r9 uint64 4313 F__r10 uint64 4314 F__r11 uint64 4315 F__r12 uint64 4316 F__r13 uint64 4317 F__r14 uint64 4318 F__r15 uint64 4319 F__rip uint64 4320 F__rflags uint64 4321 F__cs uint64 4322 F__fs uint64 4323 F__gs uint64 4324 } 4325 F__fs struct { 4326 F__fpu_reserved [2]int32 4327 F__fpu_fcw struct { 4328 F__ccgo_pad1 [0]uint16 4329 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 4330 } 4331 F__fpu_fsw struct { 4332 F__ccgo_pad1 [0]uint16 4333 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 4334 } 4335 F__fpu_ftw uint8 4336 F__fpu_rsrv1 uint8 4337 F__fpu_fop uint16 4338 F__fpu_ip uint32 4339 F__fpu_cs uint16 4340 F__fpu_rsrv2 uint16 4341 F__fpu_dp uint32 4342 F__fpu_ds uint16 4343 F__fpu_rsrv3 uint16 4344 F__fpu_mxcsr uint32 4345 F__fpu_mxcsrmask uint32 4346 F__fpu_stmm0 struct { 4347 F__mmst_reg [10]int8 4348 F__mmst_rsrv [6]int8 4349 } 4350 F__fpu_stmm1 struct { 4351 F__mmst_reg [10]int8 4352 F__mmst_rsrv [6]int8 4353 } 4354 F__fpu_stmm2 struct { 4355 F__mmst_reg [10]int8 4356 F__mmst_rsrv [6]int8 4357 } 4358 F__fpu_stmm3 struct { 4359 F__mmst_reg [10]int8 4360 F__mmst_rsrv [6]int8 4361 } 4362 F__fpu_stmm4 struct { 4363 F__mmst_reg [10]int8 4364 F__mmst_rsrv [6]int8 4365 } 4366 F__fpu_stmm5 struct { 4367 F__mmst_reg [10]int8 4368 F__mmst_rsrv [6]int8 4369 } 4370 F__fpu_stmm6 struct { 4371 F__mmst_reg [10]int8 4372 F__mmst_rsrv [6]int8 4373 } 4374 F__fpu_stmm7 struct { 4375 F__mmst_reg [10]int8 4376 F__mmst_rsrv [6]int8 4377 } 4378 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4379 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4380 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4381 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4382 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4383 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4384 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4385 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4386 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4387 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4388 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4389 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4390 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4391 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4392 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4393 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4394 F__fpu_rsrv4 [96]int8 4395 F__fpu_reserved1 int32 4396 F__avx_reserved1 [64]int8 4397 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 4398 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 4399 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 4400 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 4401 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 4402 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 4403 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 4404 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 4405 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 4406 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 4407 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 4408 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 4409 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 4410 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 4411 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 4412 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 4413 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 4414 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 4415 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 4416 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 4417 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 4418 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 4419 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 4420 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 4421 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 4422 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 4423 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 4424 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 4425 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 4426 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 4427 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 4428 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 4429 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 4430 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 4431 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 4432 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 4433 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 4434 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 4435 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 4436 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 4437 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 4438 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 4439 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 4440 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 4441 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 4442 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 4443 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 4444 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 4445 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 4446 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 4447 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 4448 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 4449 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 4450 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 4451 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 4452 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 4453 } 4454 F__ccgo_pad1 [4]byte 4455 } /* _mcontext.h:130:1 */ 4456 4457 type __darwin_mcontext_avx512_64_full = struct { 4458 F__es struct { 4459 F__trapno uint16 4460 F__cpu uint16 4461 F__err uint32 4462 F__faultvaddr uint64 4463 } 4464 F__ss struct { 4465 F__ss64 struct { 4466 F__rax uint64 4467 F__rbx uint64 4468 F__rcx uint64 4469 F__rdx uint64 4470 F__rdi uint64 4471 F__rsi uint64 4472 F__rbp uint64 4473 F__rsp uint64 4474 F__r8 uint64 4475 F__r9 uint64 4476 F__r10 uint64 4477 F__r11 uint64 4478 F__r12 uint64 4479 F__r13 uint64 4480 F__r14 uint64 4481 F__r15 uint64 4482 F__rip uint64 4483 F__rflags uint64 4484 F__cs uint64 4485 F__fs uint64 4486 F__gs uint64 4487 } 4488 F__ds uint64 4489 F__es uint64 4490 F__ss uint64 4491 F__gsbase uint64 4492 } 4493 F__fs struct { 4494 F__fpu_reserved [2]int32 4495 F__fpu_fcw struct { 4496 F__ccgo_pad1 [0]uint16 4497 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 4498 } 4499 F__fpu_fsw struct { 4500 F__ccgo_pad1 [0]uint16 4501 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 4502 } 4503 F__fpu_ftw uint8 4504 F__fpu_rsrv1 uint8 4505 F__fpu_fop uint16 4506 F__fpu_ip uint32 4507 F__fpu_cs uint16 4508 F__fpu_rsrv2 uint16 4509 F__fpu_dp uint32 4510 F__fpu_ds uint16 4511 F__fpu_rsrv3 uint16 4512 F__fpu_mxcsr uint32 4513 F__fpu_mxcsrmask uint32 4514 F__fpu_stmm0 struct { 4515 F__mmst_reg [10]int8 4516 F__mmst_rsrv [6]int8 4517 } 4518 F__fpu_stmm1 struct { 4519 F__mmst_reg [10]int8 4520 F__mmst_rsrv [6]int8 4521 } 4522 F__fpu_stmm2 struct { 4523 F__mmst_reg [10]int8 4524 F__mmst_rsrv [6]int8 4525 } 4526 F__fpu_stmm3 struct { 4527 F__mmst_reg [10]int8 4528 F__mmst_rsrv [6]int8 4529 } 4530 F__fpu_stmm4 struct { 4531 F__mmst_reg [10]int8 4532 F__mmst_rsrv [6]int8 4533 } 4534 F__fpu_stmm5 struct { 4535 F__mmst_reg [10]int8 4536 F__mmst_rsrv [6]int8 4537 } 4538 F__fpu_stmm6 struct { 4539 F__mmst_reg [10]int8 4540 F__mmst_rsrv [6]int8 4541 } 4542 F__fpu_stmm7 struct { 4543 F__mmst_reg [10]int8 4544 F__mmst_rsrv [6]int8 4545 } 4546 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4547 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4548 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4549 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4550 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4551 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4552 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4553 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4554 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4555 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4556 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4557 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4558 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4559 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4560 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4561 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4562 F__fpu_rsrv4 [96]int8 4563 F__fpu_reserved1 int32 4564 F__avx_reserved1 [64]int8 4565 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 4566 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 4567 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 4568 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 4569 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 4570 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 4571 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 4572 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 4573 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 4574 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 4575 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 4576 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 4577 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 4578 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 4579 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 4580 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 4581 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 4582 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 4583 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 4584 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 4585 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 4586 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 4587 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 4588 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 4589 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 4590 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 4591 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 4592 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 4593 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 4594 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 4595 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 4596 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 4597 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 4598 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 4599 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 4600 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 4601 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 4602 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 4603 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 4604 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 4605 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 4606 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 4607 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 4608 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 4609 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 4610 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 4611 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 4612 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 4613 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 4614 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 4615 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 4616 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 4617 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 4618 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 4619 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 4620 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 4621 } 4622 F__ccgo_pad1 [4]byte 4623 } /* _mcontext.h:138:1 */ 4624 4625 type mcontext_t = uintptr /* _mcontext.h:204:33 */ 4626 4627 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4628 // 4629 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4630 // 4631 // This file contains Original Code and/or Modifications of Original Code 4632 // as defined in and that are subject to the Apple Public Source License 4633 // Version 2.0 (the 'License'). You may not use this file except in 4634 // compliance with the License. The rights granted to you under the License 4635 // may not be used to create, or enable the creation or redistribution of, 4636 // unlawful or unlicensed copies of an Apple operating system, or to 4637 // circumvent, violate, or enable the circumvention or violation of, any 4638 // terms of an Apple operating system software license agreement. 4639 // 4640 // Please obtain a copy of the License at 4641 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4642 // 4643 // The Original Code and all software distributed under the License are 4644 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4645 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4646 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4647 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4648 // Please see the License for the specific language governing rights and 4649 // limitations under the License. 4650 // 4651 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4652 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 4653 // 4654 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4655 // 4656 // This file contains Original Code and/or Modifications of Original Code 4657 // as defined in and that are subject to the Apple Public Source License 4658 // Version 2.0 (the 'License'). You may not use this file except in 4659 // compliance with the License. The rights granted to you under the License 4660 // may not be used to create, or enable the creation or redistribution of, 4661 // unlawful or unlicensed copies of an Apple operating system, or to 4662 // circumvent, violate, or enable the circumvention or violation of, any 4663 // terms of an Apple operating system software license agreement. 4664 // 4665 // Please obtain a copy of the License at 4666 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4667 // 4668 // The Original Code and all software distributed under the License are 4669 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4670 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4671 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4672 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4673 // Please see the License for the specific language governing rights and 4674 // limitations under the License. 4675 // 4676 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4677 4678 type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */ 4679 4680 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4681 // 4682 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4683 // 4684 // This file contains Original Code and/or Modifications of Original Code 4685 // as defined in and that are subject to the Apple Public Source License 4686 // Version 2.0 (the 'License'). You may not use this file except in 4687 // compliance with the License. The rights granted to you under the License 4688 // may not be used to create, or enable the creation or redistribution of, 4689 // unlawful or unlicensed copies of an Apple operating system, or to 4690 // circumvent, violate, or enable the circumvention or violation of, any 4691 // terms of an Apple operating system software license agreement. 4692 // 4693 // Please obtain a copy of the License at 4694 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4695 // 4696 // The Original Code and all software distributed under the License are 4697 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4698 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4699 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4700 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4701 // Please see the License for the specific language governing rights and 4702 // limitations under the License. 4703 // 4704 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4705 4706 // Structure used in sigaltstack call. 4707 4708 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4709 // 4710 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4711 // 4712 // This file contains Original Code and/or Modifications of Original Code 4713 // as defined in and that are subject to the Apple Public Source License 4714 // Version 2.0 (the 'License'). You may not use this file except in 4715 // compliance with the License. The rights granted to you under the License 4716 // may not be used to create, or enable the creation or redistribution of, 4717 // unlawful or unlicensed copies of an Apple operating system, or to 4718 // circumvent, violate, or enable the circumvention or violation of, any 4719 // terms of an Apple operating system software license agreement. 4720 // 4721 // Please obtain a copy of the License at 4722 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4723 // 4724 // The Original Code and all software distributed under the License are 4725 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4726 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4727 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4728 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4729 // Please see the License for the specific language governing rights and 4730 // limitations under the License. 4731 // 4732 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4733 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4734 // Copyright (c) 1991, 1993 4735 // The Regents of the University of California. All rights reserved. 4736 // 4737 // This code is derived from software contributed to Berkeley by 4738 // Berkeley Software Design, Inc. 4739 // 4740 // Redistribution and use in source and binary forms, with or without 4741 // modification, are permitted provided that the following conditions 4742 // are met: 4743 // 1. Redistributions of source code must retain the above copyright 4744 // notice, this list of conditions and the following disclaimer. 4745 // 2. Redistributions in binary form must reproduce the above copyright 4746 // notice, this list of conditions and the following disclaimer in the 4747 // documentation and/or other materials provided with the distribution. 4748 // 3. All advertising materials mentioning features or use of this software 4749 // must display the following acknowledgement: 4750 // This product includes software developed by the University of 4751 // California, Berkeley and its contributors. 4752 // 4. Neither the name of the University nor the names of its contributors 4753 // may be used to endorse or promote products derived from this software 4754 // without specific prior written permission. 4755 // 4756 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4757 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4758 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4759 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4760 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4761 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4762 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4763 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4764 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4765 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4766 // SUCH DAMAGE. 4767 // 4768 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4769 4770 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4771 // 4772 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4773 // 4774 // This file contains Original Code and/or Modifications of Original Code 4775 // as defined in and that are subject to the Apple Public Source License 4776 // Version 2.0 (the 'License'). You may not use this file except in 4777 // compliance with the License. The rights granted to you under the License 4778 // may not be used to create, or enable the creation or redistribution of, 4779 // unlawful or unlicensed copies of an Apple operating system, or to 4780 // circumvent, violate, or enable the circumvention or violation of, any 4781 // terms of an Apple operating system software license agreement. 4782 // 4783 // Please obtain a copy of the License at 4784 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4785 // 4786 // The Original Code and all software distributed under the License are 4787 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4788 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4789 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4790 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4791 // Please see the License for the specific language governing rights and 4792 // limitations under the License. 4793 // 4794 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4795 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4796 4797 type __darwin_sigaltstack = struct { 4798 Fss_sp uintptr 4799 Fss_size uint64 4800 Fss_flags int32 4801 F__ccgo_pad1 [4]byte 4802 } /* _sigaltstack.h:42:1 */ 4803 4804 type stack_t = __darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack 4805 4806 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4807 // 4808 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4809 // 4810 // This file contains Original Code and/or Modifications of Original Code 4811 // as defined in and that are subject to the Apple Public Source License 4812 // Version 2.0 (the 'License'). You may not use this file except in 4813 // compliance with the License. The rights granted to you under the License 4814 // may not be used to create, or enable the creation or redistribution of, 4815 // unlawful or unlicensed copies of an Apple operating system, or to 4816 // circumvent, violate, or enable the circumvention or violation of, any 4817 // terms of an Apple operating system software license agreement. 4818 // 4819 // Please obtain a copy of the License at 4820 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4821 // 4822 // The Original Code and all software distributed under the License are 4823 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4824 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4825 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4826 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4827 // Please see the License for the specific language governing rights and 4828 // limitations under the License. 4829 // 4830 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4831 4832 // Copyright (c) 2000-2018 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 1995 NeXT Computer, Inc. All rights reserved. 4858 // Copyright (c) 1991, 1993 4859 // The Regents of the University of California. All rights reserved. 4860 // 4861 // This code is derived from software contributed to Berkeley by 4862 // Berkeley Software Design, Inc. 4863 // 4864 // Redistribution and use in source and binary forms, with or without 4865 // modification, are permitted provided that the following conditions 4866 // are met: 4867 // 1. Redistributions of source code must retain the above copyright 4868 // notice, this list of conditions and the following disclaimer. 4869 // 2. Redistributions in binary form must reproduce the above copyright 4870 // notice, this list of conditions and the following disclaimer in the 4871 // documentation and/or other materials provided with the distribution. 4872 // 3. All advertising materials mentioning features or use of this software 4873 // must display the following acknowledgement: 4874 // This product includes software developed by the University of 4875 // California, Berkeley and its contributors. 4876 // 4. Neither the name of the University nor the names of its contributors 4877 // may be used to endorse or promote products derived from this software 4878 // without specific prior written permission. 4879 // 4880 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4881 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4882 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4883 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4884 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4885 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4886 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4887 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4888 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4889 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4890 // SUCH DAMAGE. 4891 // 4892 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4893 4894 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4895 // 4896 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4897 // 4898 // This file contains Original Code and/or Modifications of Original Code 4899 // as defined in and that are subject to the Apple Public Source License 4900 // Version 2.0 (the 'License'). You may not use this file except in 4901 // compliance with the License. The rights granted to you under the License 4902 // may not be used to create, or enable the creation or redistribution of, 4903 // unlawful or unlicensed copies of an Apple operating system, or to 4904 // circumvent, violate, or enable the circumvention or violation of, any 4905 // terms of an Apple operating system software license agreement. 4906 // 4907 // Please obtain a copy of the License at 4908 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4909 // 4910 // The Original Code and all software distributed under the License are 4911 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4912 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4913 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4914 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4915 // Please see the License for the specific language governing rights and 4916 // limitations under the License. 4917 // 4918 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4919 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4920 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4921 // 4922 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4923 // 4924 // This file contains Original Code and/or Modifications of Original Code 4925 // as defined in and that are subject to the Apple Public Source License 4926 // Version 2.0 (the 'License'). You may not use this file except in 4927 // compliance with the License. The rights granted to you under the License 4928 // may not be used to create, or enable the creation or redistribution of, 4929 // unlawful or unlicensed copies of an Apple operating system, or to 4930 // circumvent, violate, or enable the circumvention or violation of, any 4931 // terms of an Apple operating system software license agreement. 4932 // 4933 // Please obtain a copy of the License at 4934 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4935 // 4936 // The Original Code and all software distributed under the License are 4937 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4938 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4939 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4940 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4941 // Please see the License for the specific language governing rights and 4942 // limitations under the License. 4943 // 4944 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4945 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4946 // 4947 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4948 // 4949 // This file contains Original Code and/or Modifications of Original Code 4950 // as defined in and that are subject to the Apple Public Source License 4951 // Version 2.0 (the 'License'). You may not use this file except in 4952 // compliance with the License. The rights granted to you under the License 4953 // may not be used to create, or enable the creation or redistribution of, 4954 // unlawful or unlicensed copies of an Apple operating system, or to 4955 // circumvent, violate, or enable the circumvention or violation of, any 4956 // terms of an Apple operating system software license agreement. 4957 // 4958 // Please obtain a copy of the License at 4959 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4960 // 4961 // The Original Code and all software distributed under the License are 4962 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4963 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4964 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4965 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4966 // Please see the License for the specific language governing rights and 4967 // limitations under the License. 4968 // 4969 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4970 4971 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4972 // 4973 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4974 // 4975 // This file contains Original Code and/or Modifications of Original Code 4976 // as defined in and that are subject to the Apple Public Source License 4977 // Version 2.0 (the 'License'). You may not use this file except in 4978 // compliance with the License. The rights granted to you under the License 4979 // may not be used to create, or enable the creation or redistribution of, 4980 // unlawful or unlicensed copies of an Apple operating system, or to 4981 // circumvent, violate, or enable the circumvention or violation of, any 4982 // terms of an Apple operating system software license agreement. 4983 // 4984 // Please obtain a copy of the License at 4985 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4986 // 4987 // The Original Code and all software distributed under the License are 4988 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4989 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4990 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4991 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4992 // Please see the License for the specific language governing rights and 4993 // limitations under the License. 4994 // 4995 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4996 4997 type __darwin_ucontext = struct { 4998 Fuc_onstack int32 4999 Fuc_sigmask uint32 5000 Fuc_stack struct { 5001 Fss_sp uintptr 5002 Fss_size uint64 5003 Fss_flags int32 5004 F__ccgo_pad1 [4]byte 5005 } 5006 Fuc_link uintptr 5007 Fuc_mcsize uint64 5008 Fuc_mcontext uintptr 5009 } /* _ucontext.h:42:1 */ 5010 5011 // user context 5012 type ucontext_t = __darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context 5013 5014 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5015 // 5016 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5017 // 5018 // This file contains Original Code and/or Modifications of Original Code 5019 // as defined in and that are subject to the Apple Public Source License 5020 // Version 2.0 (the 'License'). You may not use this file except in 5021 // compliance with the License. The rights granted to you under the License 5022 // may not be used to create, or enable the creation or redistribution of, 5023 // unlawful or unlicensed copies of an Apple operating system, or to 5024 // circumvent, violate, or enable the circumvention or violation of, any 5025 // terms of an Apple operating system software license agreement. 5026 // 5027 // Please obtain a copy of the License at 5028 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5029 // 5030 // The Original Code and all software distributed under the License are 5031 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5032 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5033 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5034 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5035 // Please see the License for the specific language governing rights and 5036 // limitations under the License. 5037 // 5038 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5039 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5040 // 5041 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5042 // 5043 // This file contains Original Code and/or Modifications of Original Code 5044 // as defined in and that are subject to the Apple Public Source License 5045 // Version 2.0 (the 'License'). You may not use this file except in 5046 // compliance with the License. The rights granted to you under the License 5047 // may not be used to create, or enable the creation or redistribution of, 5048 // unlawful or unlicensed copies of an Apple operating system, or to 5049 // circumvent, violate, or enable the circumvention or violation of, any 5050 // terms of an Apple operating system software license agreement. 5051 // 5052 // Please obtain a copy of the License at 5053 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5054 // 5055 // The Original Code and all software distributed under the License are 5056 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5057 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5058 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5059 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5060 // Please see the License for the specific language governing rights and 5061 // limitations under the License. 5062 // 5063 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5064 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5065 // 5066 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5067 // 5068 // This file contains Original Code and/or Modifications of Original Code 5069 // as defined in and that are subject to the Apple Public Source License 5070 // Version 2.0 (the 'License'). You may not use this file except in 5071 // compliance with the License. The rights granted to you under the License 5072 // may not be used to create, or enable the creation or redistribution of, 5073 // unlawful or unlicensed copies of an Apple operating system, or to 5074 // circumvent, violate, or enable the circumvention or violation of, any 5075 // terms of an Apple operating system software license agreement. 5076 // 5077 // Please obtain a copy of the License at 5078 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5079 // 5080 // The Original Code and all software distributed under the License are 5081 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5082 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5083 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5084 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5085 // Please see the License for the specific language governing rights and 5086 // limitations under the License. 5087 // 5088 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5089 5090 type sigset_t = uint32 /* _sigset_t.h:31:41 */ 5091 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5092 // 5093 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5094 // 5095 // This file contains Original Code and/or Modifications of Original Code 5096 // as defined in and that are subject to the Apple Public Source License 5097 // Version 2.0 (the 'License'). You may not use this file except in 5098 // compliance with the License. The rights granted to you under the License 5099 // may not be used to create, or enable the creation or redistribution of, 5100 // unlawful or unlicensed copies of an Apple operating system, or to 5101 // circumvent, violate, or enable the circumvention or violation of, any 5102 // terms of an Apple operating system software license agreement. 5103 // 5104 // Please obtain a copy of the License at 5105 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5106 // 5107 // The Original Code and all software distributed under the License are 5108 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5109 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5110 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5111 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5112 // Please see the License for the specific language governing rights and 5113 // limitations under the License. 5114 // 5115 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5116 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5117 // 5118 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5119 // 5120 // This file contains Original Code and/or Modifications of Original Code 5121 // as defined in and that are subject to the Apple Public Source License 5122 // Version 2.0 (the 'License'). You may not use this file except in 5123 // compliance with the License. The rights granted to you under the License 5124 // may not be used to create, or enable the creation or redistribution of, 5125 // unlawful or unlicensed copies of an Apple operating system, or to 5126 // circumvent, violate, or enable the circumvention or violation of, any 5127 // terms of an Apple operating system software license agreement. 5128 // 5129 // Please obtain a copy of the License at 5130 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5131 // 5132 // The Original Code and all software distributed under the License are 5133 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5134 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5135 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5136 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5137 // Please see the License for the specific language governing rights and 5138 // limitations under the License. 5139 // 5140 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5141 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5142 // 5143 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5144 // 5145 // This file contains Original Code and/or Modifications of Original Code 5146 // as defined in and that are subject to the Apple Public Source License 5147 // Version 2.0 (the 'License'). You may not use this file except in 5148 // compliance with the License. The rights granted to you under the License 5149 // may not be used to create, or enable the creation or redistribution of, 5150 // unlawful or unlicensed copies of an Apple operating system, or to 5151 // circumvent, violate, or enable the circumvention or violation of, any 5152 // terms of an Apple operating system software license agreement. 5153 // 5154 // Please obtain a copy of the License at 5155 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5156 // 5157 // The Original Code and all software distributed under the License are 5158 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5159 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5160 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5161 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5162 // Please see the License for the specific language governing rights and 5163 // limitations under the License. 5164 // 5165 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5166 5167 type uid_t = uint32 /* _uid_t.h:31:31 */ 5168 5169 type sigval = struct { 5170 F__ccgo_pad1 [0]uint64 5171 Fsival_int int32 5172 F__ccgo_pad2 [4]byte 5173 } /* signal.h:158:1 */ 5174 5175 type sigevent = struct { 5176 Fsigev_notify int32 5177 Fsigev_signo int32 5178 Fsigev_value struct { 5179 F__ccgo_pad1 [0]uint64 5180 Fsival_int int32 5181 F__ccgo_pad2 [4]byte 5182 } 5183 Fsigev_notify_function uintptr 5184 Fsigev_notify_attributes uintptr 5185 } /* signal.h:168:1 */ 5186 5187 type __siginfo = struct { 5188 Fsi_signo int32 5189 Fsi_errno int32 5190 Fsi_code int32 5191 Fsi_pid pid_t 5192 Fsi_uid uid_t 5193 Fsi_status int32 5194 Fsi_addr uintptr 5195 Fsi_value struct { 5196 F__ccgo_pad1 [0]uint64 5197 Fsival_int int32 5198 F__ccgo_pad2 [4]byte 5199 } 5200 Fsi_band int64 5201 F__pad [7]uint64 5202 } /* signal.h:177:9 */ 5203 5204 type siginfo_t = __siginfo /* signal.h:188:3 */ 5205 5206 // When the signal is SIGILL or SIGFPE, si_addr contains the address of 5207 // the faulting instruction. 5208 // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of 5209 // the faulting memory reference. Although for x86 there are cases of SIGSEGV 5210 // for which si_addr cannot be determined and is NULL. 5211 // If the signal is SIGCHLD, the si_pid field will contain the child process ID, 5212 // si_status contains the exit value or signal and 5213 // si_uid contains the real user ID of the process that sent the signal. 5214 5215 // Values for si_code 5216 5217 // Codes for SIGILL 5218 5219 // Codes for SIGFPE 5220 5221 // Codes for SIGSEGV 5222 5223 // Codes for SIGBUS 5224 5225 // Codes for SIGTRAP 5226 5227 // Codes for SIGCHLD 5228 5229 // Codes for SIGPOLL 5230 5231 // union for signal handlers 5232 type __sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */ 5233 5234 // Signal vector template for Kernel user boundary 5235 type __sigaction = struct { 5236 F__sigaction_u struct{ F__sa_handler uintptr } 5237 Fsa_tramp uintptr 5238 Fsa_mask sigset_t 5239 Fsa_flags int32 5240 } /* signal.h:276:1 */ 5241 5242 // Signal vector "template" used in sigaction call. 5243 type sigaction = struct { 5244 F__sigaction_u struct{ F__sa_handler uintptr } 5245 Fsa_mask sigset_t 5246 Fsa_flags int32 5247 } /* signal.h:286:1 */ 5248 5249 // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler. 5250 5251 // This will provide 64bit register set in a 32bit user address space 5252 5253 // the following are the only bits we support from user space, the 5254 // rest are for kernel use only. 5255 5256 // Flags for sigprocmask: 5257 5258 // POSIX 1003.1b required values. 5259 5260 type sig_t = uintptr /* signal.h:331:14 */ // type of signal function 5261 5262 // Structure used in sigaltstack call. 5263 5264 // 4.3 compatibility: 5265 // Signal vector "template" used in sigvec call. 5266 type sigvec = struct { 5267 Fsv_handler uintptr 5268 Fsv_mask int32 5269 Fsv_flags int32 5270 } /* signal.h:348:1 */ 5271 5272 // Structure used in sigstack call. 5273 type sigstack = struct { 5274 Fss_sp uintptr 5275 Fss_onstack int32 5276 F__ccgo_pad1 [4]byte 5277 } /* signal.h:367:1 */ 5278 5279 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5280 // 5281 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5282 // 5283 // This file contains Original Code and/or Modifications of Original Code 5284 // as defined in and that are subject to the Apple Public Source License 5285 // Version 2.0 (the 'License'). You may not use this file except in 5286 // compliance with the License. The rights granted to you under the License 5287 // may not be used to create, or enable the creation or redistribution of, 5288 // unlawful or unlicensed copies of an Apple operating system, or to 5289 // circumvent, violate, or enable the circumvention or violation of, any 5290 // terms of an Apple operating system software license agreement. 5291 // 5292 // Please obtain a copy of the License at 5293 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5294 // 5295 // The Original Code and all software distributed under the License are 5296 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5297 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5298 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5299 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5300 // Please see the License for the specific language governing rights and 5301 // limitations under the License. 5302 // 5303 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5304 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 5305 // Copyright (c) 1982, 1986, 1993 5306 // The Regents of the University of California. All rights reserved. 5307 // 5308 // Redistribution and use in source and binary forms, with or without 5309 // modification, are permitted provided that the following conditions 5310 // are met: 5311 // 1. Redistributions of source code must retain the above copyright 5312 // notice, this list of conditions and the following disclaimer. 5313 // 2. Redistributions in binary form must reproduce the above copyright 5314 // notice, this list of conditions and the following disclaimer in the 5315 // documentation and/or other materials provided with the distribution. 5316 // 3. All advertising materials mentioning features or use of this software 5317 // must display the following acknowledgement: 5318 // This product includes software developed by the University of 5319 // California, Berkeley and its contributors. 5320 // 4. Neither the name of the University nor the names of its contributors 5321 // may be used to endorse or promote products derived from this software 5322 // without specific prior written permission. 5323 // 5324 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5325 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5326 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5327 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5328 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5329 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5330 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5331 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5332 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5333 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5334 // SUCH DAMAGE. 5335 // 5336 // @(#)resource.h 8.2 (Berkeley) 1/4/94 5337 5338 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 5339 // 5340 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5341 // 5342 // This file contains Original Code and/or Modifications of Original Code 5343 // as defined in and that are subject to the Apple Public Source License 5344 // Version 2.0 (the 'License'). You may not use this file except in 5345 // compliance with the License. The rights granted to you under the License 5346 // may not be used to create, or enable the creation or redistribution of, 5347 // unlawful or unlicensed copies of an Apple operating system, or to 5348 // circumvent, violate, or enable the circumvention or violation of, any 5349 // terms of an Apple operating system software license agreement. 5350 // 5351 // Please obtain a copy of the License at 5352 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5353 // 5354 // The Original Code and all software distributed under the License are 5355 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5356 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5357 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5358 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5359 // Please see the License for the specific language governing rights and 5360 // limitations under the License. 5361 // 5362 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5363 5364 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5365 // 5366 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5367 // 5368 // This file contains Original Code and/or Modifications of Original Code 5369 // as defined in and that are subject to the Apple Public Source License 5370 // Version 2.0 (the 'License'). You may not use this file except in 5371 // compliance with the License. The rights granted to you under the License 5372 // may not be used to create, or enable the creation or redistribution of, 5373 // unlawful or unlicensed copies of an Apple operating system, or to 5374 // circumvent, violate, or enable the circumvention or violation of, any 5375 // terms of an Apple operating system software license agreement. 5376 // 5377 // Please obtain a copy of the License at 5378 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5379 // 5380 // The Original Code and all software distributed under the License are 5381 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5382 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5383 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5384 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5385 // Please see the License for the specific language governing rights and 5386 // limitations under the License. 5387 // 5388 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5389 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5390 // Copyright (c) 1991, 1993 5391 // The Regents of the University of California. All rights reserved. 5392 // 5393 // This code is derived from software contributed to Berkeley by 5394 // Berkeley Software Design, Inc. 5395 // 5396 // Redistribution and use in source and binary forms, with or without 5397 // modification, are permitted provided that the following conditions 5398 // are met: 5399 // 1. Redistributions of source code must retain the above copyright 5400 // notice, this list of conditions and the following disclaimer. 5401 // 2. Redistributions in binary form must reproduce the above copyright 5402 // notice, this list of conditions and the following disclaimer in the 5403 // documentation and/or other materials provided with the distribution. 5404 // 3. All advertising materials mentioning features or use of this software 5405 // must display the following acknowledgement: 5406 // This product includes software developed by the University of 5407 // California, Berkeley and its contributors. 5408 // 4. Neither the name of the University nor the names of its contributors 5409 // may be used to endorse or promote products derived from this software 5410 // without specific prior written permission. 5411 // 5412 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5413 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5414 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5415 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5416 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5417 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5418 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5419 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5420 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5421 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5422 // SUCH DAMAGE. 5423 // 5424 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 5425 5426 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5427 // 5428 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5429 // 5430 // This file contains Original Code and/or Modifications of Original Code 5431 // as defined in and that are subject to the Apple Public Source License 5432 // Version 2.0 (the 'License'). You may not use this file except in 5433 // compliance with the License. The rights granted to you under the License 5434 // may not be used to create, or enable the creation or redistribution of, 5435 // unlawful or unlicensed copies of an Apple operating system, or to 5436 // circumvent, violate, or enable the circumvention or violation of, any 5437 // terms of an Apple operating system software license agreement. 5438 // 5439 // Please obtain a copy of the License at 5440 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5441 // 5442 // The Original Code and all software distributed under the License are 5443 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5444 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5445 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5446 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5447 // Please see the License for the specific language governing rights and 5448 // limitations under the License. 5449 // 5450 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5451 5452 // DO NOT EDIT THIS FILE. 5453 // 5454 // It has been auto-edited by fixincludes from: 5455 // 5456 // "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h" 5457 // 5458 // This had to be done to correct non-standard usages in the 5459 // original, manufacturer supplied header file. 5460 5461 // Copyright (c) 2000-2010 Apple Inc. 5462 // All rights reserved. 5463 5464 // from ISO/IEC 988:1999 spec 5465 5466 // 7.18.1.1 Exact-width integer types 5467 // Copyright (c) 2012 Apple Inc. All rights reserved. 5468 // 5469 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5470 // 5471 // This file contains Original Code and/or Modifications of Original Code 5472 // as defined in and that are subject to the Apple Public Source License 5473 // Version 2.0 (the 'License'). You may not use this file except in 5474 // compliance with the License. The rights granted to you under the License 5475 // may not be used to create, or enable the creation or redistribution of, 5476 // unlawful or unlicensed copies of an Apple operating system, or to 5477 // circumvent, violate, or enable the circumvention or violation of, any 5478 // terms of an Apple operating system software license agreement. 5479 // 5480 // Please obtain a copy of the License at 5481 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5482 // 5483 // The Original Code and all software distributed under the License are 5484 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5485 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5486 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5487 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5488 // Please see the License for the specific language governing rights and 5489 // limitations under the License. 5490 // 5491 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5492 // Copyright (c) 2012 Apple Inc. All rights reserved. 5493 // 5494 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5495 // 5496 // This file contains Original Code and/or Modifications of Original Code 5497 // as defined in and that are subject to the Apple Public Source License 5498 // Version 2.0 (the 'License'). You may not use this file except in 5499 // compliance with the License. The rights granted to you under the License 5500 // may not be used to create, or enable the creation or redistribution of, 5501 // unlawful or unlicensed copies of an Apple operating system, or to 5502 // circumvent, violate, or enable the circumvention or violation of, any 5503 // terms of an Apple operating system software license agreement. 5504 // 5505 // Please obtain a copy of the License at 5506 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5507 // 5508 // The Original Code and all software distributed under the License are 5509 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5510 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5511 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5512 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5513 // Please see the License for the specific language governing rights and 5514 // limitations under the License. 5515 // 5516 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5517 // Copyright (c) 2012 Apple Inc. All rights reserved. 5518 // 5519 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5520 // 5521 // This file contains Original Code and/or Modifications of Original Code 5522 // as defined in and that are subject to the Apple Public Source License 5523 // Version 2.0 (the 'License'). You may not use this file except in 5524 // compliance with the License. The rights granted to you under the License 5525 // may not be used to create, or enable the creation or redistribution of, 5526 // unlawful or unlicensed copies of an Apple operating system, or to 5527 // circumvent, violate, or enable the circumvention or violation of, any 5528 // terms of an Apple operating system software license agreement. 5529 // 5530 // Please obtain a copy of the License at 5531 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5532 // 5533 // The Original Code and all software distributed under the License are 5534 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5535 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5536 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5537 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5538 // Please see the License for the specific language governing rights and 5539 // limitations under the License. 5540 // 5541 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5542 // Copyright (c) 2012 Apple Inc. All rights reserved. 5543 // 5544 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5545 // 5546 // This file contains Original Code and/or Modifications of Original Code 5547 // as defined in and that are subject to the Apple Public Source License 5548 // Version 2.0 (the 'License'). You may not use this file except in 5549 // compliance with the License. The rights granted to you under the License 5550 // may not be used to create, or enable the creation or redistribution of, 5551 // unlawful or unlicensed copies of an Apple operating system, or to 5552 // circumvent, violate, or enable the circumvention or violation of, any 5553 // terms of an Apple operating system software license agreement. 5554 // 5555 // Please obtain a copy of the License at 5556 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5557 // 5558 // The Original Code and all software distributed under the License are 5559 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5560 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5561 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5562 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5563 // Please see the License for the specific language governing rights and 5564 // limitations under the License. 5565 // 5566 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5567 5568 // Copyright (c) 2012 Apple Inc. All rights reserved. 5569 // 5570 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5571 // 5572 // This file contains Original Code and/or Modifications of Original Code 5573 // as defined in and that are subject to the Apple Public Source License 5574 // Version 2.0 (the 'License'). You may not use this file except in 5575 // compliance with the License. The rights granted to you under the License 5576 // may not be used to create, or enable the creation or redistribution of, 5577 // unlawful or unlicensed copies of an Apple operating system, or to 5578 // circumvent, violate, or enable the circumvention or violation of, any 5579 // terms of an Apple operating system software license agreement. 5580 // 5581 // Please obtain a copy of the License at 5582 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5583 // 5584 // The Original Code and all software distributed under the License are 5585 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5586 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5587 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5588 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5589 // Please see the License for the specific language governing rights and 5590 // limitations under the License. 5591 // 5592 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5593 5594 type uint8_t = uint8 /* _uint8_t.h:31:23 */ 5595 // Copyright (c) 2012 Apple Inc. All rights reserved. 5596 // 5597 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5598 // 5599 // This file contains Original Code and/or Modifications of Original Code 5600 // as defined in and that are subject to the Apple Public Source License 5601 // Version 2.0 (the 'License'). You may not use this file except in 5602 // compliance with the License. The rights granted to you under the License 5603 // may not be used to create, or enable the creation or redistribution of, 5604 // unlawful or unlicensed copies of an Apple operating system, or to 5605 // circumvent, violate, or enable the circumvention or violation of, any 5606 // terms of an Apple operating system software license agreement. 5607 // 5608 // Please obtain a copy of the License at 5609 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5610 // 5611 // The Original Code and all software distributed under the License are 5612 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5613 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5614 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5615 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5616 // Please see the License for the specific language governing rights and 5617 // limitations under the License. 5618 // 5619 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5620 5621 type uint16_t = uint16 /* _uint16_t.h:31:24 */ 5622 // Copyright (c) 2012 Apple Inc. All rights reserved. 5623 // 5624 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5625 // 5626 // This file contains Original Code and/or Modifications of Original Code 5627 // as defined in and that are subject to the Apple Public Source License 5628 // Version 2.0 (the 'License'). You may not use this file except in 5629 // compliance with the License. The rights granted to you under the License 5630 // may not be used to create, or enable the creation or redistribution of, 5631 // unlawful or unlicensed copies of an Apple operating system, or to 5632 // circumvent, violate, or enable the circumvention or violation of, any 5633 // terms of an Apple operating system software license agreement. 5634 // 5635 // Please obtain a copy of the License at 5636 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5637 // 5638 // The Original Code and all software distributed under the License are 5639 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5640 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5641 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5642 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5643 // Please see the License for the specific language governing rights and 5644 // limitations under the License. 5645 // 5646 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5647 5648 type uint32_t = uint32 /* _uint32_t.h:31:22 */ 5649 // Copyright (c) 2012 Apple Inc. All rights reserved. 5650 // 5651 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5652 // 5653 // This file contains Original Code and/or Modifications of Original Code 5654 // as defined in and that are subject to the Apple Public Source License 5655 // Version 2.0 (the 'License'). You may not use this file except in 5656 // compliance with the License. The rights granted to you under the License 5657 // may not be used to create, or enable the creation or redistribution of, 5658 // unlawful or unlicensed copies of an Apple operating system, or to 5659 // circumvent, violate, or enable the circumvention or violation of, any 5660 // terms of an Apple operating system software license agreement. 5661 // 5662 // Please obtain a copy of the License at 5663 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5664 // 5665 // The Original Code and all software distributed under the License are 5666 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5667 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5668 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5669 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5670 // Please see the License for the specific language governing rights and 5671 // limitations under the License. 5672 // 5673 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5674 5675 type uint64_t = uint64 /* _uint64_t.h:31:28 */ 5676 5677 // 7.18.1.2 Minimum-width integer types 5678 type int_least8_t = int8_t /* stdint.h:38:26 */ 5679 type int_least16_t = int16_t /* stdint.h:39:25 */ 5680 type int_least32_t = int32_t /* stdint.h:40:25 */ 5681 type int_least64_t = int64_t /* stdint.h:41:25 */ 5682 type uint_least8_t = uint8_t /* stdint.h:42:25 */ 5683 type uint_least16_t = uint16_t /* stdint.h:43:24 */ 5684 type uint_least32_t = uint32_t /* stdint.h:44:24 */ 5685 type uint_least64_t = uint64_t /* stdint.h:45:24 */ 5686 5687 // 7.18.1.3 Fastest-width integer types 5688 type int_fast8_t = int8_t /* stdint.h:49:27 */ 5689 type int_fast16_t = int16_t /* stdint.h:50:26 */ 5690 type int_fast32_t = int32_t /* stdint.h:51:26 */ 5691 type int_fast64_t = int64_t /* stdint.h:52:26 */ 5692 type uint_fast8_t = uint8_t /* stdint.h:53:26 */ 5693 type uint_fast16_t = uint16_t /* stdint.h:54:25 */ 5694 type uint_fast32_t = uint32_t /* stdint.h:55:25 */ 5695 type uint_fast64_t = uint64_t /* stdint.h:56:25 */ 5696 5697 // 7.18.1.4 Integer types capable of holding object pointers 5698 5699 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5700 // 5701 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5702 // 5703 // This file contains Original Code and/or Modifications of Original Code 5704 // as defined in and that are subject to the Apple Public Source License 5705 // Version 2.0 (the 'License'). You may not use this file except in 5706 // compliance with the License. The rights granted to you under the License 5707 // may not be used to create, or enable the creation or redistribution of, 5708 // unlawful or unlicensed copies of an Apple operating system, or to 5709 // circumvent, violate, or enable the circumvention or violation of, any 5710 // terms of an Apple operating system software license agreement. 5711 // 5712 // Please obtain a copy of the License at 5713 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5714 // 5715 // The Original Code and all software distributed under the License are 5716 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5717 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5718 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5719 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5720 // Please see the License for the specific language governing rights and 5721 // limitations under the License. 5722 // 5723 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5724 5725 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5726 // 5727 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5728 // 5729 // This file contains Original Code and/or Modifications of Original Code 5730 // as defined in and that are subject to the Apple Public Source License 5731 // Version 2.0 (the 'License'). You may not use this file except in 5732 // compliance with the License. The rights granted to you under the License 5733 // may not be used to create, or enable the creation or redistribution of, 5734 // unlawful or unlicensed copies of an Apple operating system, or to 5735 // circumvent, violate, or enable the circumvention or violation of, any 5736 // terms of an Apple operating system software license agreement. 5737 // 5738 // Please obtain a copy of the License at 5739 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5740 // 5741 // The Original Code and all software distributed under the License are 5742 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5743 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5744 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5745 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5746 // Please see the License for the specific language governing rights and 5747 // limitations under the License. 5748 // 5749 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5750 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5751 // 5752 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5753 // 5754 // This file contains Original Code and/or Modifications of Original Code 5755 // as defined in and that are subject to the Apple Public Source License 5756 // Version 2.0 (the 'License'). You may not use this file except in 5757 // compliance with the License. The rights granted to you under the License 5758 // may not be used to create, or enable the creation or redistribution of, 5759 // unlawful or unlicensed copies of an Apple operating system, or to 5760 // circumvent, violate, or enable the circumvention or violation of, any 5761 // terms of an Apple operating system software license agreement. 5762 // 5763 // Please obtain a copy of the License at 5764 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5765 // 5766 // The Original Code and all software distributed under the License are 5767 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5768 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5769 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5770 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5771 // Please see the License for the specific language governing rights and 5772 // limitations under the License. 5773 // 5774 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5775 5776 // 7.18.1.5 Greatest-width integer types 5777 // Copyright (c) 2012 Apple Inc. All rights reserved. 5778 // 5779 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5780 // 5781 // This file contains Original Code and/or Modifications of Original Code 5782 // as defined in and that are subject to the Apple Public Source License 5783 // Version 2.0 (the 'License'). You may not use this file except in 5784 // compliance with the License. The rights granted to you under the License 5785 // may not be used to create, or enable the creation or redistribution of, 5786 // unlawful or unlicensed copies of an Apple operating system, or to 5787 // circumvent, violate, or enable the circumvention or violation of, any 5788 // terms of an Apple operating system software license agreement. 5789 // 5790 // Please obtain a copy of the License at 5791 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5792 // 5793 // The Original Code and all software distributed under the License are 5794 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5795 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5796 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5797 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5798 // Please see the License for the specific language governing rights and 5799 // limitations under the License. 5800 // 5801 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5802 5803 type intmax_t = int64 /* _intmax_t.h:32:25 */ 5804 // Copyright (c) 2012 Apple Inc. All rights reserved. 5805 // 5806 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5807 // 5808 // This file contains Original Code and/or Modifications of Original Code 5809 // as defined in and that are subject to the Apple Public Source License 5810 // Version 2.0 (the 'License'). You may not use this file except in 5811 // compliance with the License. The rights granted to you under the License 5812 // may not be used to create, or enable the creation or redistribution of, 5813 // unlawful or unlicensed copies of an Apple operating system, or to 5814 // circumvent, violate, or enable the circumvention or violation of, any 5815 // terms of an Apple operating system software license agreement. 5816 // 5817 // Please obtain a copy of the License at 5818 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5819 // 5820 // The Original Code and all software distributed under the License are 5821 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5822 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5823 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5824 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5825 // Please see the License for the specific language governing rights and 5826 // limitations under the License. 5827 // 5828 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5829 5830 type uintmax_t = uint64 /* _uintmax_t.h:32:26 */ 5831 5832 // 7.18.4 Macros for integer constants 5833 5834 // 7.18.2 Limits of specified-width integer types: 5835 // These #defines specify the minimum and maximum limits 5836 // of each of the types declared above. 5837 // 5838 // They must have "the same type as would an expression that is an 5839 // object of the corresponding type converted according to the integer 5840 // promotion". 5841 5842 // 7.18.2.1 Limits of exact-width integer types 5843 5844 // 5845 // Note: the literal "most negative int" cannot be written in C -- 5846 // the rules in the standard (section 6.4.4.1 in C99) will give it 5847 // an unsigned type, so INT32_MIN (and the most negative member of 5848 // any larger signed type) must be written via a constant expression. 5849 // 5850 5851 // 7.18.2.2 Limits of minimum-width integer types 5852 5853 // 7.18.2.3 Limits of fastest minimum-width integer types 5854 5855 // 7.18.2.4 Limits of integer types capable of holding object pointers 5856 5857 // 7.18.2.5 Limits of greatest-width integer types 5858 5859 // 7.18.3 "Other" 5860 5861 // WCHAR_MIN should be 0 if wchar_t is an unsigned type and 5862 // (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately, 5863 // it turns out that -fshort-wchar changes the signedness of 5864 // the type. 5865 5866 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 5867 // 5868 // @APPLE_LICENSE_HEADER_START@ 5869 // 5870 // This file contains Original Code and/or Modifications of Original Code 5871 // as defined in and that are subject to the Apple Public Source License 5872 // Version 2.0 (the 'License'). You may not use this file except in 5873 // compliance with the License. Please obtain a copy of the License at 5874 // http://www.opensource.apple.com/apsl/ and read it before using this 5875 // file. 5876 // 5877 // The Original Code and all software distributed under the License are 5878 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5879 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5880 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5881 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5882 // Please see the License for the specific language governing rights and 5883 // limitations under the License. 5884 // 5885 // @APPLE_LICENSE_HEADER_END@ 5886 5887 // [XSI] The timeval structure shall be defined as described in 5888 // <sys/time.h> 5889 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5890 // 5891 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5892 // 5893 // This file contains Original Code and/or Modifications of Original Code 5894 // as defined in and that are subject to the Apple Public Source License 5895 // Version 2.0 (the 'License'). You may not use this file except in 5896 // compliance with the License. The rights granted to you under the License 5897 // may not be used to create, or enable the creation or redistribution of, 5898 // unlawful or unlicensed copies of an Apple operating system, or to 5899 // circumvent, violate, or enable the circumvention or violation of, any 5900 // terms of an Apple operating system software license agreement. 5901 // 5902 // Please obtain a copy of the License at 5903 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5904 // 5905 // The Original Code and all software distributed under the License are 5906 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5907 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5908 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5909 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5910 // Please see the License for the specific language governing rights and 5911 // limitations under the License. 5912 // 5913 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5914 5915 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 5916 // 5917 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5918 // 5919 // This file contains Original Code and/or Modifications of Original Code 5920 // as defined in and that are subject to the Apple Public Source License 5921 // Version 2.0 (the 'License'). You may not use this file except in 5922 // compliance with the License. The rights granted to you under the License 5923 // may not be used to create, or enable the creation or redistribution of, 5924 // unlawful or unlicensed copies of an Apple operating system, or to 5925 // circumvent, violate, or enable the circumvention or violation of, any 5926 // terms of an Apple operating system software license agreement. 5927 // 5928 // Please obtain a copy of the License at 5929 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5930 // 5931 // The Original Code and all software distributed under the License are 5932 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5933 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5934 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5935 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5936 // Please see the License for the specific language governing rights and 5937 // limitations under the License. 5938 // 5939 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5940 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5941 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5942 // 5943 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5944 // 5945 // This file contains Original Code and/or Modifications of Original Code 5946 // as defined in and that are subject to the Apple Public Source License 5947 // Version 2.0 (the 'License'). You may not use this file except in 5948 // compliance with the License. The rights granted to you under the License 5949 // may not be used to create, or enable the creation or redistribution of, 5950 // unlawful or unlicensed copies of an Apple operating system, or to 5951 // circumvent, violate, or enable the circumvention or violation of, any 5952 // terms of an Apple operating system software license agreement. 5953 // 5954 // Please obtain a copy of the License at 5955 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5956 // 5957 // The Original Code and all software distributed under the License are 5958 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5959 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5960 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5961 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5962 // Please see the License for the specific language governing rights and 5963 // limitations under the License. 5964 // 5965 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5966 5967 type timeval = struct { 5968 Ftv_sec int64 5969 Ftv_usec int32 5970 F__ccgo_pad1 [4]byte 5971 } /* _timeval.h:34:1 */ 5972 5973 // The id_t type shall be defined as described in <sys/types.h> 5974 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5975 // 5976 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5977 // 5978 // This file contains Original Code and/or Modifications of Original Code 5979 // as defined in and that are subject to the Apple Public Source License 5980 // Version 2.0 (the 'License'). You may not use this file except in 5981 // compliance with the License. The rights granted to you under the License 5982 // may not be used to create, or enable the creation or redistribution of, 5983 // unlawful or unlicensed copies of an Apple operating system, or to 5984 // circumvent, violate, or enable the circumvention or violation of, any 5985 // terms of an Apple operating system software license agreement. 5986 // 5987 // Please obtain a copy of the License at 5988 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5989 // 5990 // The Original Code and all software distributed under the License are 5991 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5992 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5993 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5994 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5995 // Please see the License for the specific language governing rights and 5996 // limitations under the License. 5997 // 5998 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5999 6000 // Resource limit type (low 63 bits, excluding the sign bit) 6001 type rlim_t = uint64 /* resource.h:89:25 */ 6002 6003 // **** 6004 // 6005 // PRIORITY 6006 6007 // Possible values of the first parameter to getpriority()/setpriority(), 6008 // used to indicate the type of the second parameter. 6009 6010 // Range limitations for the value of the third parameter to setpriority(). 6011 6012 // use PRIO_DARWIN_BG to set the current thread into "background" state 6013 // which lowers CPU, disk IO, and networking priorites until thread terminates 6014 // or "background" state is revoked 6015 6016 // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to 6017 // the GPU. (deprecated) 6018 6019 // **** 6020 // 6021 // RESOURCE USAGE 6022 6023 // Possible values of the first parameter to getrusage(), used to indicate 6024 // the scope of the information to be returned. 6025 6026 // A structure representing an accounting of resource utilization. The 6027 // address of an instance of this structure is the second parameter to 6028 // getrusage(). 6029 // 6030 // Note: All values other than ru_utime and ru_stime are implementaiton 6031 // defined and subject to change in a future release. Their use 6032 // is discouraged for standards compliant programs. 6033 type rusage = struct { 6034 Fru_utime struct { 6035 Ftv_sec int64 6036 Ftv_usec int32 6037 F__ccgo_pad1 [4]byte 6038 } 6039 Fru_stime struct { 6040 Ftv_sec int64 6041 Ftv_usec int32 6042 F__ccgo_pad1 [4]byte 6043 } 6044 Fru_maxrss int64 6045 Fru_ixrss int64 6046 Fru_idrss int64 6047 Fru_isrss int64 6048 Fru_minflt int64 6049 Fru_majflt int64 6050 Fru_nswap int64 6051 Fru_inblock int64 6052 Fru_oublock int64 6053 Fru_msgsnd int64 6054 Fru_msgrcv int64 6055 Fru_nsignals int64 6056 Fru_nvcsw int64 6057 Fru_nivcsw int64 6058 } /* resource.h:152:1 */ 6059 6060 // Flavors for proc_pid_rusage(). 6061 6062 type rusage_info_t = uintptr /* resource.h:193:14 */ 6063 6064 type rusage_info_v0 = struct { 6065 Fri_uuid [16]uint8_t 6066 Fri_user_time uint64_t 6067 Fri_system_time uint64_t 6068 Fri_pkg_idle_wkups uint64_t 6069 Fri_interrupt_wkups uint64_t 6070 Fri_pageins uint64_t 6071 Fri_wired_size uint64_t 6072 Fri_resident_size uint64_t 6073 Fri_phys_footprint uint64_t 6074 Fri_proc_start_abstime uint64_t 6075 Fri_proc_exit_abstime uint64_t 6076 } /* resource.h:195:1 */ 6077 6078 type rusage_info_v1 = struct { 6079 Fri_uuid [16]uint8_t 6080 Fri_user_time uint64_t 6081 Fri_system_time uint64_t 6082 Fri_pkg_idle_wkups uint64_t 6083 Fri_interrupt_wkups uint64_t 6084 Fri_pageins uint64_t 6085 Fri_wired_size uint64_t 6086 Fri_resident_size uint64_t 6087 Fri_phys_footprint uint64_t 6088 Fri_proc_start_abstime uint64_t 6089 Fri_proc_exit_abstime uint64_t 6090 Fri_child_user_time uint64_t 6091 Fri_child_system_time uint64_t 6092 Fri_child_pkg_idle_wkups uint64_t 6093 Fri_child_interrupt_wkups uint64_t 6094 Fri_child_pageins uint64_t 6095 Fri_child_elapsed_abstime uint64_t 6096 } /* resource.h:209:1 */ 6097 6098 type rusage_info_v2 = struct { 6099 Fri_uuid [16]uint8_t 6100 Fri_user_time uint64_t 6101 Fri_system_time uint64_t 6102 Fri_pkg_idle_wkups uint64_t 6103 Fri_interrupt_wkups uint64_t 6104 Fri_pageins uint64_t 6105 Fri_wired_size uint64_t 6106 Fri_resident_size uint64_t 6107 Fri_phys_footprint uint64_t 6108 Fri_proc_start_abstime uint64_t 6109 Fri_proc_exit_abstime uint64_t 6110 Fri_child_user_time uint64_t 6111 Fri_child_system_time uint64_t 6112 Fri_child_pkg_idle_wkups uint64_t 6113 Fri_child_interrupt_wkups uint64_t 6114 Fri_child_pageins uint64_t 6115 Fri_child_elapsed_abstime uint64_t 6116 Fri_diskio_bytesread uint64_t 6117 Fri_diskio_byteswritten uint64_t 6118 } /* resource.h:229:1 */ 6119 6120 type rusage_info_v3 = struct { 6121 Fri_uuid [16]uint8_t 6122 Fri_user_time uint64_t 6123 Fri_system_time uint64_t 6124 Fri_pkg_idle_wkups uint64_t 6125 Fri_interrupt_wkups uint64_t 6126 Fri_pageins uint64_t 6127 Fri_wired_size uint64_t 6128 Fri_resident_size uint64_t 6129 Fri_phys_footprint uint64_t 6130 Fri_proc_start_abstime uint64_t 6131 Fri_proc_exit_abstime uint64_t 6132 Fri_child_user_time uint64_t 6133 Fri_child_system_time uint64_t 6134 Fri_child_pkg_idle_wkups uint64_t 6135 Fri_child_interrupt_wkups uint64_t 6136 Fri_child_pageins uint64_t 6137 Fri_child_elapsed_abstime uint64_t 6138 Fri_diskio_bytesread uint64_t 6139 Fri_diskio_byteswritten uint64_t 6140 Fri_cpu_time_qos_default uint64_t 6141 Fri_cpu_time_qos_maintenance uint64_t 6142 Fri_cpu_time_qos_background uint64_t 6143 Fri_cpu_time_qos_utility uint64_t 6144 Fri_cpu_time_qos_legacy uint64_t 6145 Fri_cpu_time_qos_user_initiated uint64_t 6146 Fri_cpu_time_qos_user_interactive uint64_t 6147 Fri_billed_system_time uint64_t 6148 Fri_serviced_system_time uint64_t 6149 } /* resource.h:251:1 */ 6150 6151 type rusage_info_v4 = struct { 6152 Fri_uuid [16]uint8_t 6153 Fri_user_time uint64_t 6154 Fri_system_time uint64_t 6155 Fri_pkg_idle_wkups uint64_t 6156 Fri_interrupt_wkups uint64_t 6157 Fri_pageins uint64_t 6158 Fri_wired_size uint64_t 6159 Fri_resident_size uint64_t 6160 Fri_phys_footprint uint64_t 6161 Fri_proc_start_abstime uint64_t 6162 Fri_proc_exit_abstime uint64_t 6163 Fri_child_user_time uint64_t 6164 Fri_child_system_time uint64_t 6165 Fri_child_pkg_idle_wkups uint64_t 6166 Fri_child_interrupt_wkups uint64_t 6167 Fri_child_pageins uint64_t 6168 Fri_child_elapsed_abstime uint64_t 6169 Fri_diskio_bytesread uint64_t 6170 Fri_diskio_byteswritten uint64_t 6171 Fri_cpu_time_qos_default uint64_t 6172 Fri_cpu_time_qos_maintenance uint64_t 6173 Fri_cpu_time_qos_background uint64_t 6174 Fri_cpu_time_qos_utility uint64_t 6175 Fri_cpu_time_qos_legacy uint64_t 6176 Fri_cpu_time_qos_user_initiated uint64_t 6177 Fri_cpu_time_qos_user_interactive uint64_t 6178 Fri_billed_system_time uint64_t 6179 Fri_serviced_system_time uint64_t 6180 Fri_logical_writes uint64_t 6181 Fri_lifetime_max_phys_footprint uint64_t 6182 Fri_instructions uint64_t 6183 Fri_cycles uint64_t 6184 Fri_billed_energy uint64_t 6185 Fri_serviced_energy uint64_t 6186 Fri_interval_max_phys_footprint uint64_t 6187 Fri_runnable_time uint64_t 6188 } /* resource.h:282:1 */ 6189 6190 type rusage_info_current = rusage_info_v4 /* resource.h:321:31 */ 6191 6192 // **** 6193 // 6194 // RESOURCE LIMITS 6195 6196 // Symbolic constants for resource limits; since all limits are representable 6197 // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of 6198 // RLIM_INFINITY. 6199 6200 // Possible values of the first parameter to getrlimit()/setrlimit(), to 6201 // indicate for which resource the operation is being performed. 6202 6203 // A structure representing a resource limit. The address of an instance 6204 // of this structure is the second parameter to getrlimit()/setrlimit(). 6205 type rlimit = struct { 6206 Frlim_cur rlim_t 6207 Frlim_max rlim_t 6208 } /* resource.h:365:1 */ 6209 6210 // proc_rlimit_control() 6211 // 6212 // Resource limit flavors 6213 6214 // Flags for wakeups monitor control. 6215 6216 // Flags for CPU usage monitor control. 6217 6218 // Flags for memory footprint interval tracking. 6219 6220 type proc_rlimit_control_wakeupmon = struct { 6221 Fwm_flags uint32_t 6222 Fwm_rate int32_t 6223 } /* resource.h:400:1 */ 6224 6225 // Deprecated: 6226 // Structure of the information in the status word returned by wait4. 6227 // If w_stopval==_WSTOPPED, then the second structure describes 6228 // the information returned, else the first. 6229 type wait = struct{ Fw_status int32 } /* wait.h:194:1 */ 6230 6231 // built-in for gcc 6232 6233 // built-in for gcc 3 6234 6235 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 6236 // _GCC_SIZE_T 6237 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6238 // 6239 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6240 // 6241 // This file contains Original Code and/or Modifications of Original Code 6242 // as defined in and that are subject to the Apple Public Source License 6243 // Version 2.0 (the 'License'). You may not use this file except in 6244 // compliance with the License. The rights granted to you under the License 6245 // may not be used to create, or enable the creation or redistribution of, 6246 // unlawful or unlicensed copies of an Apple operating system, or to 6247 // circumvent, violate, or enable the circumvention or violation of, any 6248 // terms of an Apple operating system software license agreement. 6249 // 6250 // Please obtain a copy of the License at 6251 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6252 // 6253 // The Original Code and all software distributed under the License are 6254 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6255 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6256 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6257 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6258 // Please see the License for the specific language governing rights and 6259 // limitations under the License. 6260 // 6261 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6262 6263 // Copyright (c) 2012 Apple Inc. All rights reserved. 6264 // 6265 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6266 // 6267 // This file contains Original Code and/or Modifications of Original Code 6268 // as defined in and that are subject to the Apple Public Source License 6269 // Version 2.0 (the 'License'). You may not use this file except in 6270 // compliance with the License. The rights granted to you under the License 6271 // may not be used to create, or enable the creation or redistribution of, 6272 // unlawful or unlicensed copies of an Apple operating system, or to 6273 // circumvent, violate, or enable the circumvention or violation of, any 6274 // terms of an Apple operating system software license agreement. 6275 // 6276 // Please obtain a copy of the License at 6277 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6278 // 6279 // The Original Code and all software distributed under the License are 6280 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6281 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6282 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6283 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6284 // Please see the License for the specific language governing rights and 6285 // limitations under the License. 6286 // 6287 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6288 6289 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6290 // 6291 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6292 // 6293 // This file contains Original Code and/or Modifications of Original Code 6294 // as defined in and that are subject to the Apple Public Source License 6295 // Version 2.0 (the 'License'). You may not use this file except in 6296 // compliance with the License. The rights granted to you under the License 6297 // may not be used to create, or enable the creation or redistribution of, 6298 // unlawful or unlicensed copies of an Apple operating system, or to 6299 // circumvent, violate, or enable the circumvention or violation of, any 6300 // terms of an Apple operating system software license agreement. 6301 // 6302 // Please obtain a copy of the License at 6303 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6304 // 6305 // The Original Code and all software distributed under the License are 6306 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6307 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6308 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6309 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6310 // Please see the License for the specific language governing rights and 6311 // limitations under the License. 6312 // 6313 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6314 type ct_rune_t = int32 /* _ct_rune_t.h:32:28 */ 6315 // Copyright (c) 2012 Apple Inc. All rights reserved. 6316 // 6317 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6318 // 6319 // This file contains Original Code and/or Modifications of Original Code 6320 // as defined in and that are subject to the Apple Public Source License 6321 // Version 2.0 (the 'License'). You may not use this file except in 6322 // compliance with the License. The rights granted to you under the License 6323 // may not be used to create, or enable the creation or redistribution of, 6324 // unlawful or unlicensed copies of an Apple operating system, or to 6325 // circumvent, violate, or enable the circumvention or violation of, any 6326 // terms of an Apple operating system software license agreement. 6327 // 6328 // Please obtain a copy of the License at 6329 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6330 // 6331 // The Original Code and all software distributed under the License are 6332 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6333 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6334 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6335 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6336 // Please see the License for the specific language governing rights and 6337 // limitations under the License. 6338 // 6339 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6340 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6341 // 6342 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6343 // 6344 // This file contains Original Code and/or Modifications of Original Code 6345 // as defined in and that are subject to the Apple Public Source License 6346 // Version 2.0 (the 'License'). You may not use this file except in 6347 // compliance with the License. The rights granted to you under the License 6348 // may not be used to create, or enable the creation or redistribution of, 6349 // unlawful or unlicensed copies of an Apple operating system, or to 6350 // circumvent, violate, or enable the circumvention or violation of, any 6351 // terms of an Apple operating system software license agreement. 6352 // 6353 // Please obtain a copy of the License at 6354 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6355 // 6356 // The Original Code and all software distributed under the License are 6357 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6358 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6359 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6360 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6361 // Please see the License for the specific language governing rights and 6362 // limitations under the License. 6363 // 6364 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6365 type rune_t = int32 /* _rune_t.h:31:25 */ 6366 6367 type div_t = struct { 6368 Fquot int32 6369 Frem int32 6370 } /* stdlib.h:86:3 */ 6371 6372 type ldiv_t = struct { 6373 Fquot int64 6374 Frem int64 6375 } /* stdlib.h:91:3 */ 6376 6377 type lldiv_t = struct { 6378 Fquot int64 6379 Frem int64 6380 } /* stdlib.h:97:3 */ 6381 6382 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6383 // 6384 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6385 // 6386 // This file contains Original Code and/or Modifications of Original Code 6387 // as defined in and that are subject to the Apple Public Source License 6388 // Version 2.0 (the 'License'). You may not use this file except in 6389 // compliance with the License. The rights granted to you under the License 6390 // may not be used to create, or enable the creation or redistribution of, 6391 // unlawful or unlicensed copies of an Apple operating system, or to 6392 // circumvent, violate, or enable the circumvention or violation of, any 6393 // terms of an Apple operating system software license agreement. 6394 // 6395 // Please obtain a copy of the License at 6396 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6397 // 6398 // The Original Code and all software distributed under the License are 6399 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6400 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6401 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6402 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6403 // Please see the License for the specific language governing rights and 6404 // limitations under the License. 6405 // 6406 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6407 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6408 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6409 // 6410 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6411 // 6412 // This file contains Original Code and/or Modifications of Original Code 6413 // as defined in and that are subject to the Apple Public Source License 6414 // Version 2.0 (the 'License'). You may not use this file except in 6415 // compliance with the License. The rights granted to you under the License 6416 // may not be used to create, or enable the creation or redistribution of, 6417 // unlawful or unlicensed copies of an Apple operating system, or to 6418 // circumvent, violate, or enable the circumvention or violation of, any 6419 // terms of an Apple operating system software license agreement. 6420 // 6421 // Please obtain a copy of the License at 6422 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6423 // 6424 // The Original Code and all software distributed under the License are 6425 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6426 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6427 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6428 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6429 // Please see the License for the specific language governing rights and 6430 // limitations under the License. 6431 // 6432 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6433 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6434 // 6435 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6436 // 6437 // This file contains Original Code and/or Modifications of Original Code 6438 // as defined in and that are subject to the Apple Public Source License 6439 // Version 2.0 (the 'License'). You may not use this file except in 6440 // compliance with the License. The rights granted to you under the License 6441 // may not be used to create, or enable the creation or redistribution of, 6442 // unlawful or unlicensed copies of an Apple operating system, or to 6443 // circumvent, violate, or enable the circumvention or violation of, any 6444 // terms of an Apple operating system software license agreement. 6445 // 6446 // Please obtain a copy of the License at 6447 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6448 // 6449 // The Original Code and all software distributed under the License are 6450 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6451 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6452 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6453 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6454 // Please see the License for the specific language governing rights and 6455 // limitations under the License. 6456 // 6457 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6458 6459 type dev_t = int32 /* _dev_t.h:31:31 */ // device number 6460 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6461 // 6462 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6463 // 6464 // This file contains Original Code and/or Modifications of Original Code 6465 // as defined in and that are subject to the Apple Public Source License 6466 // Version 2.0 (the 'License'). You may not use this file except in 6467 // compliance with the License. The rights granted to you under the License 6468 // may not be used to create, or enable the creation or redistribution of, 6469 // unlawful or unlicensed copies of an Apple operating system, or to 6470 // circumvent, violate, or enable the circumvention or violation of, any 6471 // terms of an Apple operating system software license agreement. 6472 // 6473 // Please obtain a copy of the License at 6474 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6475 // 6476 // The Original Code and all software distributed under the License are 6477 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6478 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6479 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6480 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6481 // Please see the License for the specific language governing rights and 6482 // limitations under the License. 6483 // 6484 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6485 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6486 // 6487 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6488 // 6489 // This file contains Original Code and/or Modifications of Original Code 6490 // as defined in and that are subject to the Apple Public Source License 6491 // Version 2.0 (the 'License'). You may not use this file except in 6492 // compliance with the License. The rights granted to you under the License 6493 // may not be used to create, or enable the creation or redistribution of, 6494 // unlawful or unlicensed copies of an Apple operating system, or to 6495 // circumvent, violate, or enable the circumvention or violation of, any 6496 // terms of an Apple operating system software license agreement. 6497 // 6498 // Please obtain a copy of the License at 6499 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6500 // 6501 // The Original Code and all software distributed under the License are 6502 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6503 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6504 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6505 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6506 // Please see the License for the specific language governing rights and 6507 // limitations under the License. 6508 // 6509 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6510 6511 type mode_t = uint16 /* _mode_t.h:31:33 */ 6512 6513 // getsubopt(3) external variable 6514 // valloc is now declared in _malloc.h 6515 6516 // Poison the following routines if -fshort-wchar is set 6517 6518 func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* Autest.c:35:1: */ 6519 bp := tls.Alloc(64) 6520 defer tls.Free(64) 6521 6522 // var test_data Xauth at bp, 64 6523 6524 var name uintptr = ts /* "XAU-TEST-1" */ 6525 var data uintptr = ts + 11 /* "Do not begin the..." */ 6526 var file uintptr = uintptr(0) 6527 var state int32 = 0 6528 var output uintptr 6529 6530 for *(*uintptr)(unsafe.Pointer(libc.PreIncUintptr(&argv, 8))) != 0 { 6531 if !(libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+60 /* "-file" */) != 0) { 6532 file = *(*uintptr)(unsafe.Pointer(libc.PreIncUintptr(&argv, 8))) 6533 } else if state == 0 { 6534 name = *(*uintptr)(unsafe.Pointer(argv)) 6535 state++ 6536 } else if state == 1 { 6537 data = *(*uintptr)(unsafe.Pointer(argv)) 6538 state++ 6539 } 6540 } 6541 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Ffamily = uint16(0) 6542 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Faddress_length = uint16(0) 6543 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Faddress = ts + 66 /* "" */ 6544 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fnumber_length = uint16(0) 6545 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fnumber = ts + 66 /* "" */ 6546 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fname_length = uint16(libc.Xstrlen(tls, name)) 6547 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fname = name 6548 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fdata_length = uint16(libc.Xstrlen(tls, data)) 6549 (*Xauth)(unsafe.Pointer(bp /* &test_data */)).Fdata = data 6550 if !(file != 0) { 6551 output = libc.Xtmpfile(tls) 6552 } else { 6553 output = libc.Xfopen(tls, file, ts+67 /* "w" */) 6554 } 6555 if output != 0 { 6556 state = xau.XXauWriteAuth(tls, output, bp /* &test_data */) 6557 libc.Xfclose(tls, output) 6558 } 6559 if libc.AssignInt32(&state, 1) != 0 { 6560 return 0 6561 } 6562 return 1 6563 } 6564 6565 var ts1 = "XAU-TEST-1\x00Do not begin the test until instructed to do so.\x00-file\x00\x00w\x00" 6566 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data