modernc.org/z@v1.7.4/internal/minigzip_darwin_amd64.go (about)

     1  // Code generated by 'ccgo -lmodernc.org/z/lib -o internal/minigzip_darwin_amd64.go -trace-translation-units /var/folders/b1/8mwd0y2x52l16_sqf8zbtz8r0000gn/T/go-generate-710484336/cdb.json minigzip64', 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/z/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  // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
    25  //
    26  // @APPLE_LICENSE_HEADER_START@
    27  //
    28  // This file contains Original Code and/or Modifications of Original Code
    29  // as defined in and that are subject to the Apple Public Source License
    30  // Version 2.0 (the 'License'). You may not use this file except in
    31  // compliance with the License. Please obtain a copy of the License at
    32  // http://www.opensource.apple.com/apsl/ and read it before using this
    33  // file.
    34  //
    35  // The Original Code and all software distributed under the License are
    36  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    37  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    38  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    39  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    40  // Please see the License for the specific language governing rights and
    41  // limitations under the License.
    42  //
    43  // @APPLE_LICENSE_HEADER_END@
    44  // -
    45  // Copyright (c) 1990, 1993
    46  //	The Regents of the University of California.  All rights reserved.
    47  //
    48  // Redistribution and use in source and binary forms, with or without
    49  // modification, are permitted provided that the following conditions
    50  // are met:
    51  // 1. Redistributions of source code must retain the above copyright
    52  //    notice, this list of conditions and the following disclaimer.
    53  // 2. Redistributions in binary form must reproduce the above copyright
    54  //    notice, this list of conditions and the following disclaimer in the
    55  //    documentation and/or other materials provided with the distribution.
    56  // 3. All advertising materials mentioning features or use of this software
    57  //    must display the following acknowledgement:
    58  //	This product includes software developed by the University of
    59  //	California, Berkeley and its contributors.
    60  // 4. Neither the name of the University nor the names of its contributors
    61  //    may be used to endorse or promote products derived from this software
    62  //    without specific prior written permission.
    63  //
    64  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    65  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    66  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    67  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    68  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    69  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    70  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    71  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    72  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    73  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    74  // SUCH DAMAGE.
    75  //
    76  //	@(#)string.h	8.1 (Berkeley) 6/2/93
    77  
    78  // Security checking functions.
    79  // Copyright (c) 2017 Apple Inc. All rights reserved.
    80  //
    81  // @APPLE_LICENSE_HEADER_START@
    82  //
    83  // This file contains Original Code and/or Modifications of Original Code
    84  // as defined in and that are subject to the Apple Public Source License
    85  // Version 2.0 (the 'License'). You may not use this file except in
    86  // compliance with the License. Please obtain a copy of the License at
    87  // http://www.opensource.apple.com/apsl/ and read it before using this
    88  // file.
    89  //
    90  // The Original Code and all software distributed under the License are
    91  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    92  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    93  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    94  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    95  // Please see the License for the specific language governing rights and
    96  // limitations under the License.
    97  //
    98  // @APPLE_LICENSE_HEADER_END@
    99  
   100  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   101  //
   102  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   103  //
   104  // This file contains Original Code and/or Modifications of Original Code
   105  // as defined in and that are subject to the Apple Public Source License
   106  // Version 2.0 (the 'License'). You may not use this file except in
   107  // compliance with the License. The rights granted to you under the License
   108  // may not be used to create, or enable the creation or redistribution of,
   109  // unlawful or unlicensed copies of an Apple operating system, or to
   110  // circumvent, violate, or enable the circumvention or violation of, any
   111  // terms of an Apple operating system software license agreement.
   112  //
   113  // Please obtain a copy of the License at
   114  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   115  //
   116  // The Original Code and all software distributed under the License are
   117  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   118  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   119  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   120  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   121  // Please see the License for the specific language governing rights and
   122  // limitations under the License.
   123  //
   124  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   125  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   126  // Copyright (c) 1991, 1993
   127  //	The Regents of the University of California.  All rights reserved.
   128  //
   129  // This code is derived from software contributed to Berkeley by
   130  // Berkeley Software Design, Inc.
   131  //
   132  // Redistribution and use in source and binary forms, with or without
   133  // modification, are permitted provided that the following conditions
   134  // are met:
   135  // 1. Redistributions of source code must retain the above copyright
   136  //    notice, this list of conditions and the following disclaimer.
   137  // 2. Redistributions in binary form must reproduce the above copyright
   138  //    notice, this list of conditions and the following disclaimer in the
   139  //    documentation and/or other materials provided with the distribution.
   140  // 3. All advertising materials mentioning features or use of this software
   141  //    must display the following acknowledgement:
   142  //	This product includes software developed by the University of
   143  //	California, Berkeley and its contributors.
   144  // 4. Neither the name of the University nor the names of its contributors
   145  //    may be used to endorse or promote products derived from this software
   146  //    without specific prior written permission.
   147  //
   148  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   149  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   150  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   151  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   152  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   153  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   154  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   155  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   156  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   157  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   158  // SUCH DAMAGE.
   159  //
   160  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   161  
   162  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   163  //
   164  // @APPLE_LICENSE_HEADER_START@
   165  //
   166  // This file contains Original Code and/or Modifications of Original Code
   167  // as defined in and that are subject to the Apple Public Source License
   168  // Version 2.0 (the 'License'). You may not use this file except in
   169  // compliance with the License. Please obtain a copy of the License at
   170  // http://www.opensource.apple.com/apsl/ and read it before using this
   171  // file.
   172  //
   173  // The Original Code and all software distributed under the License are
   174  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   175  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   176  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   177  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   178  // Please see the License for the specific language governing rights and
   179  // limitations under the License.
   180  //
   181  // @APPLE_LICENSE_HEADER_END@
   182  
   183  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
   184  //
   185  // @APPLE_LICENSE_HEADER_START@
   186  //
   187  // This file contains Original Code and/or Modifications of Original Code
   188  // as defined in and that are subject to the Apple Public Source License
   189  // Version 2.0 (the 'License'). You may not use this file except in
   190  // compliance with the License. Please obtain a copy of the License at
   191  // http://www.opensource.apple.com/apsl/ and read it before using this
   192  // file.
   193  //
   194  // The Original Code and all software distributed under the License are
   195  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   196  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   197  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   198  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   199  // Please see the License for the specific language governing rights and
   200  // limitations under the License.
   201  //
   202  // @APPLE_LICENSE_HEADER_END@
   203  
   204  // bcopy and bzero
   205  
   206  // Removed in Issue 7
   207  
   208  // void	bcopy(const void *src, void *dst, size_t len)
   209  
   210  // void	bzero(void *s, size_t n)
   211  
   212  // Security checking functions.
   213  // Copyright (c) 2007,2017 Apple Inc. All rights reserved.
   214  //
   215  // @APPLE_LICENSE_HEADER_START@
   216  //
   217  // This file contains Original Code and/or Modifications of Original Code
   218  // as defined in and that are subject to the Apple Public Source License
   219  // Version 2.0 (the 'License'). You may not use this file except in
   220  // compliance with the License. Please obtain a copy of the License at
   221  // http://www.opensource.apple.com/apsl/ and read it before using this
   222  // file.
   223  //
   224  // The Original Code and all software distributed under the License are
   225  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   226  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   227  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   228  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   229  // Please see the License for the specific language governing rights and
   230  // limitations under the License.
   231  //
   232  // @APPLE_LICENSE_HEADER_END@
   233  
   234  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   235  //
   236  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   237  //
   238  // This file contains Original Code and/or Modifications of Original Code
   239  // as defined in and that are subject to the Apple Public Source License
   240  // Version 2.0 (the 'License'). You may not use this file except in
   241  // compliance with the License. The rights granted to you under the License
   242  // may not be used to create, or enable the creation or redistribution of,
   243  // unlawful or unlicensed copies of an Apple operating system, or to
   244  // circumvent, violate, or enable the circumvention or violation of, any
   245  // terms of an Apple operating system software license agreement.
   246  //
   247  // Please obtain a copy of the License at
   248  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   249  //
   250  // The Original Code and all software distributed under the License are
   251  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   252  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   253  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   254  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   255  // Please see the License for the specific language governing rights and
   256  // limitations under the License.
   257  //
   258  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   259  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   260  // Copyright (c) 1991, 1993
   261  //	The Regents of the University of California.  All rights reserved.
   262  //
   263  // This code is derived from software contributed to Berkeley by
   264  // Berkeley Software Design, Inc.
   265  //
   266  // Redistribution and use in source and binary forms, with or without
   267  // modification, are permitted provided that the following conditions
   268  // are met:
   269  // 1. Redistributions of source code must retain the above copyright
   270  //    notice, this list of conditions and the following disclaimer.
   271  // 2. Redistributions in binary form must reproduce the above copyright
   272  //    notice, this list of conditions and the following disclaimer in the
   273  //    documentation and/or other materials provided with the distribution.
   274  // 3. All advertising materials mentioning features or use of this software
   275  //    must display the following acknowledgement:
   276  //	This product includes software developed by the University of
   277  //	California, Berkeley and its contributors.
   278  // 4. Neither the name of the University nor the names of its contributors
   279  //    may be used to endorse or promote products derived from this software
   280  //    without specific prior written permission.
   281  //
   282  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   283  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   284  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   285  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   286  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   287  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   288  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   289  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   290  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   291  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   292  // SUCH DAMAGE.
   293  //
   294  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   295  
   296  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   297  //
   298  // @APPLE_LICENSE_HEADER_START@
   299  //
   300  // This file contains Original Code and/or Modifications of Original Code
   301  // as defined in and that are subject to the Apple Public Source License
   302  // Version 2.0 (the 'License'). You may not use this file except in
   303  // compliance with the License. Please obtain a copy of the License at
   304  // http://www.opensource.apple.com/apsl/ and read it before using this
   305  // file.
   306  //
   307  // The Original Code and all software distributed under the License are
   308  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   309  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   310  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   311  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   312  // Please see the License for the specific language governing rights and
   313  // limitations under the License.
   314  //
   315  // @APPLE_LICENSE_HEADER_END@
   316  
   317  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
   318  //
   319  // @APPLE_LICENSE_HEADER_START@
   320  //
   321  // This file contains Original Code and/or Modifications of Original Code
   322  // as defined in and that are subject to the Apple Public Source License
   323  // Version 2.0 (the 'License'). You may not use this file except in
   324  // compliance with the License. Please obtain a copy of the License at
   325  // http://www.opensource.apple.com/apsl/ and read it before using this
   326  // file.
   327  //
   328  // The Original Code and all software distributed under the License are
   329  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   330  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   331  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   332  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   333  // Please see the License for the specific language governing rights and
   334  // limitations under the License.
   335  //
   336  // @APPLE_LICENSE_HEADER_END@
   337  
   338  // <rdar://problem/12622659>
   339  
   340  // memccpy, memcpy, mempcpy, memmove, memset, strcpy, strlcpy, stpcpy,
   341  //    strncpy, stpncpy, strcat, strlcat, and strncat
   342  
   343  // void *memcpy(void *dst, const void *src, size_t n)
   344  
   345  // void *memmove(void *dst, const void *src, size_t len)
   346  
   347  // void *memset(void *b, int c, size_t len)
   348  
   349  // char *strcpy(char *dst, const char *src)
   350  
   351  // char *stpcpy(char *dst, const char *src)
   352  
   353  // char *stpncpy(char *dst, const char *src, size_t n)
   354  
   355  // char *strncpy(char *dst, const char *src, size_t n)
   356  
   357  // char *strcat(char *s1, const char *s2)
   358  
   359  // char *strncat(char *s1, const char *s2, size_t n)
   360  
   361  // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
   362  //
   363  // @APPLE_LICENSE_HEADER_START@
   364  //
   365  // This file contains Original Code and/or Modifications of Original Code
   366  // as defined in and that are subject to the Apple Public Source License
   367  // Version 2.0 (the 'License'). You may not use this file except in
   368  // compliance with the License. Please obtain a copy of the License at
   369  // http://www.opensource.apple.com/apsl/ and read it before using this
   370  // file.
   371  //
   372  // The Original Code and all software distributed under the License are
   373  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   374  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   375  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   376  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   377  // Please see the License for the specific language governing rights and
   378  // limitations under the License.
   379  //
   380  // @APPLE_LICENSE_HEADER_END@
   381  // -
   382  // Copyright (c) 1990, 1993
   383  //	The Regents of the University of California.  All rights reserved.
   384  //
   385  // Redistribution and use in source and binary forms, with or without
   386  // modification, are permitted provided that the following conditions
   387  // are met:
   388  // 1. Redistributions of source code must retain the above copyright
   389  //    notice, this list of conditions and the following disclaimer.
   390  // 2. Redistributions in binary form must reproduce the above copyright
   391  //    notice, this list of conditions and the following disclaimer in the
   392  //    documentation and/or other materials provided with the distribution.
   393  // 3. All advertising materials mentioning features or use of this software
   394  //    must display the following acknowledgement:
   395  //	This product includes software developed by the University of
   396  //	California, Berkeley and its contributors.
   397  // 4. Neither the name of the University nor the names of its contributors
   398  //    may be used to endorse or promote products derived from this software
   399  //    without specific prior written permission.
   400  //
   401  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   402  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   403  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   404  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   405  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   406  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   407  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   408  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   409  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   410  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   411  // SUCH DAMAGE.
   412  //
   413  //	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
   414  
   415  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   416  //
   417  // @APPLE_LICENSE_HEADER_START@
   418  //
   419  // This file contains Original Code and/or Modifications of Original Code
   420  // as defined in and that are subject to the Apple Public Source License
   421  // Version 2.0 (the 'License'). You may not use this file except in
   422  // compliance with the License. Please obtain a copy of the License at
   423  // http://www.opensource.apple.com/apsl/ and read it before using this
   424  // file.
   425  //
   426  // The Original Code and all software distributed under the License are
   427  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   428  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   429  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   430  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   431  // Please see the License for the specific language governing rights and
   432  // limitations under the License.
   433  //
   434  // @APPLE_LICENSE_HEADER_END@
   435  
   436  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   437  //
   438  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   439  //
   440  // This file contains Original Code and/or Modifications of Original Code
   441  // as defined in and that are subject to the Apple Public Source License
   442  // Version 2.0 (the 'License'). You may not use this file except in
   443  // compliance with the License. The rights granted to you under the License
   444  // may not be used to create, or enable the creation or redistribution of,
   445  // unlawful or unlicensed copies of an Apple operating system, or to
   446  // circumvent, violate, or enable the circumvention or violation of, any
   447  // terms of an Apple operating system software license agreement.
   448  //
   449  // Please obtain a copy of the License at
   450  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   451  //
   452  // The Original Code and all software distributed under the License are
   453  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   454  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   455  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   456  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   457  // Please see the License for the specific language governing rights and
   458  // limitations under the License.
   459  //
   460  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   461  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   462  // Copyright (c) 1991, 1993
   463  //	The Regents of the University of California.  All rights reserved.
   464  //
   465  // This code is derived from software contributed to Berkeley by
   466  // Berkeley Software Design, Inc.
   467  //
   468  // Redistribution and use in source and binary forms, with or without
   469  // modification, are permitted provided that the following conditions
   470  // are met:
   471  // 1. Redistributions of source code must retain the above copyright
   472  //    notice, this list of conditions and the following disclaimer.
   473  // 2. Redistributions in binary form must reproduce the above copyright
   474  //    notice, this list of conditions and the following disclaimer in the
   475  //    documentation and/or other materials provided with the distribution.
   476  // 3. All advertising materials mentioning features or use of this software
   477  //    must display the following acknowledgement:
   478  //	This product includes software developed by the University of
   479  //	California, Berkeley and its contributors.
   480  // 4. Neither the name of the University nor the names of its contributors
   481  //    may be used to endorse or promote products derived from this software
   482  //    without specific prior written permission.
   483  //
   484  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   485  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   486  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   487  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   488  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   489  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   490  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   491  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   492  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   493  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   494  // SUCH DAMAGE.
   495  //
   496  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   497  
   498  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
   499  //
   500  // @APPLE_LICENSE_HEADER_START@
   501  //
   502  // This file contains Original Code and/or Modifications of Original Code
   503  // as defined in and that are subject to the Apple Public Source License
   504  // Version 2.0 (the 'License'). You may not use this file except in
   505  // compliance with the License. Please obtain a copy of the License at
   506  // http://www.opensource.apple.com/apsl/ and read it before using this
   507  // file.
   508  //
   509  // The Original Code and all software distributed under the License are
   510  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   511  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   512  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   513  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   514  // Please see the License for the specific language governing rights and
   515  // limitations under the License.
   516  //
   517  // @APPLE_LICENSE_HEADER_END@
   518  
   519  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
   520  //
   521  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   522  //
   523  // This file contains Original Code and/or Modifications of Original Code
   524  // as defined in and that are subject to the Apple Public Source License
   525  // Version 2.0 (the 'License'). You may not use this file except in
   526  // compliance with the License. The rights granted to you under the License
   527  // may not be used to create, or enable the creation or redistribution of,
   528  // unlawful or unlicensed copies of an Apple operating system, or to
   529  // circumvent, violate, or enable the circumvention or violation of, any
   530  // terms of an Apple operating system software license agreement.
   531  //
   532  // Please obtain a copy of the License at
   533  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   534  //
   535  // The Original Code and all software distributed under the License are
   536  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   537  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   538  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   539  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   540  // Please see the License for the specific language governing rights and
   541  // limitations under the License.
   542  //
   543  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   544  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
   545  // Copyright (c) 1982, 1986, 1989, 1993, 1994
   546  //	The Regents of the University of California.  All rights reserved.
   547  //
   548  // Redistribution and use in source and binary forms, with or without
   549  // modification, are permitted provided that the following conditions
   550  // are met:
   551  // 1. Redistributions of source code must retain the above copyright
   552  //    notice, this list of conditions and the following disclaimer.
   553  // 2. Redistributions in binary form must reproduce the above copyright
   554  //    notice, this list of conditions and the following disclaimer in the
   555  //    documentation and/or other materials provided with the distribution.
   556  // 3. All advertising materials mentioning features or use of this software
   557  //    must display the following acknowledgement:
   558  //	This product includes software developed by the University of
   559  //	California, Berkeley and its contributors.
   560  // 4. Neither the name of the University nor the names of its contributors
   561  //    may be used to endorse or promote products derived from this software
   562  //    without specific prior written permission.
   563  //
   564  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   565  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   566  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   567  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   568  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   569  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   570  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   571  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   572  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   573  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   574  // SUCH DAMAGE.
   575  //
   576  //	@(#)wait.h	8.2 (Berkeley) 7/10/94
   577  
   578  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   579  //
   580  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   581  //
   582  // This file contains Original Code and/or Modifications of Original Code
   583  // as defined in and that are subject to the Apple Public Source License
   584  // Version 2.0 (the 'License'). You may not use this file except in
   585  // compliance with the License. The rights granted to you under the License
   586  // may not be used to create, or enable the creation or redistribution of,
   587  // unlawful or unlicensed copies of an Apple operating system, or to
   588  // circumvent, violate, or enable the circumvention or violation of, any
   589  // terms of an Apple operating system software license agreement.
   590  //
   591  // Please obtain a copy of the License at
   592  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   593  //
   594  // The Original Code and all software distributed under the License are
   595  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   596  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   597  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   598  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   599  // Please see the License for the specific language governing rights and
   600  // limitations under the License.
   601  //
   602  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   603  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   604  // Copyright (c) 1991, 1993
   605  //	The Regents of the University of California.  All rights reserved.
   606  //
   607  // This code is derived from software contributed to Berkeley by
   608  // Berkeley Software Design, Inc.
   609  //
   610  // Redistribution and use in source and binary forms, with or without
   611  // modification, are permitted provided that the following conditions
   612  // are met:
   613  // 1. Redistributions of source code must retain the above copyright
   614  //    notice, this list of conditions and the following disclaimer.
   615  // 2. Redistributions in binary form must reproduce the above copyright
   616  //    notice, this list of conditions and the following disclaimer in the
   617  //    documentation and/or other materials provided with the distribution.
   618  // 3. All advertising materials mentioning features or use of this software
   619  //    must display the following acknowledgement:
   620  //	This product includes software developed by the University of
   621  //	California, Berkeley and its contributors.
   622  // 4. Neither the name of the University nor the names of its contributors
   623  //    may be used to endorse or promote products derived from this software
   624  //    without specific prior written permission.
   625  //
   626  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   627  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   628  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   629  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   630  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   631  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   632  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   633  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   634  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   635  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   636  // SUCH DAMAGE.
   637  //
   638  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   639  
   640  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   641  //
   642  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   643  //
   644  // This file contains Original Code and/or Modifications of Original Code
   645  // as defined in and that are subject to the Apple Public Source License
   646  // Version 2.0 (the 'License'). You may not use this file except in
   647  // compliance with the License. The rights granted to you under the License
   648  // may not be used to create, or enable the creation or redistribution of,
   649  // unlawful or unlicensed copies of an Apple operating system, or to
   650  // circumvent, violate, or enable the circumvention or violation of, any
   651  // terms of an Apple operating system software license agreement.
   652  //
   653  // Please obtain a copy of the License at
   654  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   655  //
   656  // The Original Code and all software distributed under the License are
   657  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   658  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   659  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   660  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   661  // Please see the License for the specific language governing rights and
   662  // limitations under the License.
   663  //
   664  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   665  
   666  // This file holds definitions relevent to the wait4 system call
   667  // and the alternate interfaces that use it (wait, wait3, waitpid).
   668  
   669  // [XSI] The type idtype_t shall be defined as an enumeration type whose
   670  // possible values shall include at least P_ALL, P_PID, and P_PGID.
   671  const ( /* wait.h:79:1: */
   672  	P_ALL  = 0
   673  	P_PID  = 1
   674  	P_PGID = 2
   675  )
   676  
   677  type ptrdiff_t = int64 /* <builtin>:3:26 */
   678  
   679  type size_t = uint64 /* <builtin>:9:23 */
   680  
   681  type wchar_t = int32 /* <builtin>:15:24 */
   682  
   683  // A null pointer constant.
   684  
   685  // Offset of member MEMBER in a struct of type TYPE.
   686  
   687  // Type whose alignment is supported in every context and is at least
   688  //    as great as that of any standard type not using alignment
   689  //    specifiers.
   690  type max_align_t = struct {
   691  	__max_align_ll int64
   692  	__max_align_ld float64
   693  } /* stddef.h:426:3 */
   694  
   695  type z_size_t = size_t /* zconf.h:248:21 */
   696  
   697  // Maximum value for memLevel in deflateInit2
   698  
   699  // Maximum value for windowBits in deflateInit2 and inflateInit2.
   700  // WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
   701  // created by gzip. (Files created by minigzip can still be extracted by
   702  // gzip.)
   703  
   704  // The memory requirements for deflate are (in bytes):
   705  //             (1 << (windowBits+2)) +  (1 << (memLevel+9))
   706  //  that is: 128K for windowBits=15  +  128K for memLevel = 8  (default values)
   707  //  plus a few kilobytes for small objects. For example, if you want to reduce
   708  //  the default memory requirements from 256K to 128K, compile with
   709  //      make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
   710  //  Of course this will generally degrade compression (there's no free lunch).
   711  //
   712  //    The memory requirements for inflate are (in bytes) 1 << windowBits
   713  //  that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
   714  //  for small objects.
   715  
   716  // Type declarations
   717  
   718  // The following definitions for FAR are needed only for MSDOS mixed
   719  // model programming (small or medium model with some far allocations).
   720  // This was tested only with MSC; for other MSDOS compilers you may have
   721  // to define NO_MEMCPY in zutil.h.  If you don't need the mixed model,
   722  // just define FAR to be empty.
   723  
   724  type Byte = uint8   /* zconf.h:391:24 */ // 8 bits
   725  type uInt = uint32  /* zconf.h:393:24 */ // 16 bits or more
   726  type uLong = uint64 /* zconf.h:394:24 */ // 32 bits or more
   727  
   728  type Bytef = Byte   /* zconf.h:400:22 */
   729  type charf = int8   /* zconf.h:402:19 */
   730  type intf = int32   /* zconf.h:403:19 */
   731  type uIntf = uInt   /* zconf.h:404:19 */
   732  type uLongf = uLong /* zconf.h:405:19 */
   733  
   734  type voidpc = uintptr /* zconf.h:408:23 */
   735  type voidpf = uintptr /* zconf.h:409:23 */
   736  type voidp = uintptr  /* zconf.h:410:23 */
   737  
   738  // Copyright (C) 1992-2021 Free Software Foundation, Inc.
   739  //
   740  // This file is part of GCC.
   741  //
   742  // GCC is free software; you can redistribute it and/or modify it under
   743  // the terms of the GNU General Public License as published by the Free
   744  // Software Foundation; either version 3, or (at your option) any later
   745  // version.
   746  //
   747  // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   748  // WARRANTY; without even the implied warranty of MERCHANTABILITY or
   749  // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   750  // for more details.
   751  //
   752  // Under Section 7 of GPL version 3, you are granted additional
   753  // permissions described in the GCC Runtime Library Exception, version
   754  // 3.1, as published by the Free Software Foundation.
   755  //
   756  // You should have received a copy of the GNU General Public License and
   757  // a copy of the GCC Runtime Library Exception along with this program;
   758  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   759  // <http://www.gnu.org/licenses/>.
   760  
   761  // This administrivia gets added to the beginning of limits.h
   762  //    if the system has its own version of limits.h.
   763  
   764  // We use _GCC_LIMITS_H_ because we want this not to match
   765  //    any macros that the system's limits.h uses for its own purposes.
   766  
   767  // Use "..." so that we find syslimits.h only in this same directory.
   768  // syslimits.h stands for the system's own limits.h file.
   769  //    If we can use it ok unmodified, then we install this text.
   770  //    If fixincludes fixes it, then the fixed version is installed
   771  //    instead of this text.
   772  
   773  // Copyright (c) 2000, 2004-2007, 2009 Apple Inc. All rights reserved.
   774  //
   775  // @APPLE_LICENSE_HEADER_START@
   776  //
   777  // This file contains Original Code and/or Modifications of Original Code
   778  // as defined in and that are subject to the Apple Public Source License
   779  // Version 2.0 (the 'License'). You may not use this file except in
   780  // compliance with the License. Please obtain a copy of the License at
   781  // http://www.opensource.apple.com/apsl/ and read it before using this
   782  // file.
   783  //
   784  // The Original Code and all software distributed under the License are
   785  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   786  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   787  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   788  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   789  // Please see the License for the specific language governing rights and
   790  // limitations under the License.
   791  //
   792  // @APPLE_LICENSE_HEADER_END@
   793  //	$NetBSD: limits.h,v 1.8 1996/10/21 05:10:50 jtc Exp $
   794  
   795  // Copyright (c) 1988, 1993
   796  //	The Regents of the University of California.  All rights reserved.
   797  //
   798  // Redistribution and use in source and binary forms, with or without
   799  // modification, are permitted provided that the following conditions
   800  // are met:
   801  // 1. Redistributions of source code must retain the above copyright
   802  //    notice, this list of conditions and the following disclaimer.
   803  // 2. Redistributions in binary form must reproduce the above copyright
   804  //    notice, this list of conditions and the following disclaimer in the
   805  //    documentation and/or other materials provided with the distribution.
   806  // 3. All advertising materials mentioning features or use of this software
   807  //    must display the following acknowledgement:
   808  //	This product includes software developed by the University of
   809  //	California, Berkeley and its contributors.
   810  // 4. Neither the name of the University nor the names of its contributors
   811  //    may be used to endorse or promote products derived from this software
   812  //    without specific prior written permission.
   813  //
   814  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   815  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   816  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   817  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   818  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   819  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   820  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   821  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   822  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   823  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   824  // SUCH DAMAGE.
   825  //
   826  //	@(#)limits.h	8.2 (Berkeley) 1/4/94
   827  
   828  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   829  //
   830  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   831  //
   832  // This file contains Original Code and/or Modifications of Original Code
   833  // as defined in and that are subject to the Apple Public Source License
   834  // Version 2.0 (the 'License'). You may not use this file except in
   835  // compliance with the License. The rights granted to you under the License
   836  // may not be used to create, or enable the creation or redistribution of,
   837  // unlawful or unlicensed copies of an Apple operating system, or to
   838  // circumvent, violate, or enable the circumvention or violation of, any
   839  // terms of an Apple operating system software license agreement.
   840  //
   841  // Please obtain a copy of the License at
   842  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   843  //
   844  // The Original Code and all software distributed under the License are
   845  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   846  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   847  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   848  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   849  // Please see the License for the specific language governing rights and
   850  // limitations under the License.
   851  //
   852  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   853  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   854  // Copyright (c) 1991, 1993
   855  //	The Regents of the University of California.  All rights reserved.
   856  //
   857  // This code is derived from software contributed to Berkeley by
   858  // Berkeley Software Design, Inc.
   859  //
   860  // Redistribution and use in source and binary forms, with or without
   861  // modification, are permitted provided that the following conditions
   862  // are met:
   863  // 1. Redistributions of source code must retain the above copyright
   864  //    notice, this list of conditions and the following disclaimer.
   865  // 2. Redistributions in binary form must reproduce the above copyright
   866  //    notice, this list of conditions and the following disclaimer in the
   867  //    documentation and/or other materials provided with the distribution.
   868  // 3. All advertising materials mentioning features or use of this software
   869  //    must display the following acknowledgement:
   870  //	This product includes software developed by the University of
   871  //	California, Berkeley and its contributors.
   872  // 4. Neither the name of the University nor the names of its contributors
   873  //    may be used to endorse or promote products derived from this software
   874  //    without specific prior written permission.
   875  //
   876  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   877  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   878  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   879  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   880  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   881  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   882  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   883  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   884  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   885  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   886  // SUCH DAMAGE.
   887  //
   888  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   889  
   890  // This SDK is designed to work with clang and specific versions of
   891  // gcc >= 4.0 with Apple's patch sets
   892  
   893  // Compatibility with compilers and environments that don't support compiler
   894  // feature checking function-like macros.
   895  
   896  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   897  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   898  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   899  // in between its arguments.  __CONCAT can also concatenate double-quoted
   900  // strings produced by the __STRING macro, but this only works with ANSI C.
   901  
   902  // __unused denotes variables and functions that may not be used, preventing
   903  // the compiler from warning about it if not used.
   904  
   905  // __used forces variables and functions to be included even if it appears
   906  // to the compiler that they are not used (and would thust be discarded).
   907  
   908  // __cold marks code used for debugging or that is rarely taken
   909  // and tells the compiler to optimize for size and outline code.
   910  
   911  // __deprecated causes the compiler to produce a warning when encountering
   912  // code using the deprecated functionality.
   913  // __deprecated_msg() does the same, and compilers that support it will print
   914  // a message along with the deprecation warning.
   915  // This may require turning on such warning with the -Wdeprecated flag.
   916  // __deprecated_enum_msg() should be used on enums, and compilers that support
   917  // it will print the deprecation warning.
   918  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   919  // interfaces in Kernel.framework used by KEXTs.
   920  
   921  // __unavailable causes the compiler to error out when encountering
   922  // code using the tagged function of variable.
   923  
   924  // Delete pseudo-keywords wherever they are not available or needed.
   925  
   926  // We use `__restrict' as a way to define the `restrict' type qualifier
   927  // without disturbing older software that is unaware of C99 keywords.
   928  
   929  // Compatibility with compilers and environments that don't support the
   930  // nullability feature.
   931  
   932  // __disable_tail_calls causes the compiler to not perform tail call
   933  // optimization inside the marked function.
   934  
   935  // __not_tail_called causes the compiler to prevent tail call optimization
   936  // on statically bound calls to the function.  It has no effect on indirect
   937  // calls.  Virtual functions, objective-c methods, and functions marked as
   938  // "always_inline" cannot be marked as __not_tail_called.
   939  
   940  // __result_use_check warns callers of a function that not using the function
   941  // return value is a bug, i.e. dismissing malloc() return value results in a
   942  // memory leak.
   943  
   944  // __swift_unavailable causes the compiler to mark a symbol as specifically
   945  // unavailable in Swift, regardless of any other availability in C.
   946  
   947  // __abortlike is the attribute to put on functions like abort() that are
   948  // typically used to mark assertions. These optimize the codegen
   949  // for outlining while still maintaining debugability.
   950  
   951  // Declaring inline functions within headers is error-prone due to differences
   952  // across various versions of the C language and extensions.  __header_inline
   953  // can be used to declare inline functions within system headers.  In cases
   954  // where you want to force inlining instead of letting the compiler make
   955  // the decision, you can use __header_always_inline.
   956  //
   957  // Be aware that using inline for functions which compilers may also provide
   958  // builtins can behave differently under various compilers.  If you intend to
   959  // provide an inline version of such a function, you may want to use a macro
   960  // instead.
   961  //
   962  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   963  // support c99 inline in some cases:
   964  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   965  
   966  // Compiler-dependent macros that bracket portions of code where the
   967  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   968  
   969  // Compiler-dependent macros to declare that functions take printf-like
   970  // or scanf-like arguments.  They are null except for versions of gcc
   971  // that are known to support the features properly.  Functions declared
   972  // with these attributes will cause compilation warnings if there is a
   973  // mismatch between the format string and subsequent function parameter
   974  // types.
   975  
   976  // Source compatibility only, ID string not emitted in object file
   977  
   978  // __alloc_size can be used to label function arguments that represent the
   979  // size of memory that the function allocates and returns. The one-argument
   980  // form labels a single argument that gives the allocation size (where the
   981  // arguments are numbered from 1):
   982  //
   983  // void	*malloc(size_t __size) __alloc_size(1);
   984  //
   985  // The two-argument form handles the case where the size is calculated as the
   986  // product of two arguments:
   987  //
   988  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   989  
   990  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   991  //
   992  // DEFAULT	By default newly complied code will get POSIX APIs plus
   993  //		Apple API extensions in scope.
   994  //
   995  //		Most users will use this compilation environment to avoid
   996  //		behavioral differences between 32 and 64 bit code.
   997  //
   998  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   999  //		API extensions in scope.
  1000  //
  1001  //		This is generally equivalent to the Tiger release compilation
  1002  //		environment, except that it cannot be applied to 64 bit code;
  1003  //		its use is discouraged.
  1004  //
  1005  //		We expect this environment to be deprecated in the future.
  1006  //
  1007  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  1008  //		available APIs to exactly the set of APIs defined by the
  1009  //		corresponding standard, based on the value defined.
  1010  //
  1011  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  1012  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
  1013  //
  1014  //		Apple API extensions are not visible in this environment,
  1015  //		which can cause Apple specific code to fail to compile,
  1016  //		or behave incorrectly if prototypes are not in scope or
  1017  //		warnings about missing prototypes are not enabled or ignored.
  1018  //
  1019  // In any compilation environment, for correct symbol resolution to occur,
  1020  // function prototypes must be in scope.  It is recommended that all Apple
  1021  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  1022  // compiler flags to their projects to be warned when a function is being
  1023  // used without a prototype in scope.
  1024  
  1025  // These settings are particular to each product.
  1026  // Platform: MacOSX
  1027  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
  1028  
  1029  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  1030  // legacy code to use the old symbol, thus maintaining binary compatibility
  1031  // while new code can use a standards compliant version of the same function.
  1032  //
  1033  // __DARWIN_ALIAS is used by itself if the function signature has not
  1034  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  1035  // if the signature has changed.  Because the __LP64__ environment
  1036  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  1037  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  1038  //
  1039  // As a special case, when XCode is used to target a specific version of the
  1040  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  1041  // will be defined by the compiler, with the digits representing major version
  1042  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
  1043  // pre-10.5, and it is the default compilation environment, revert the
  1044  // compilation environment to pre-__DARWIN_UNIX03.
  1045  
  1046  // symbol suffixes used for symbol versioning
  1047  
  1048  // symbol versioning macros
  1049  
  1050  // symbol release macros
  1051  // Copyright (c) 2010 Apple Inc. All rights reserved.
  1052  //
  1053  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1054  //
  1055  // This file contains Original Code and/or Modifications of Original Code
  1056  // as defined in and that are subject to the Apple Public Source License
  1057  // Version 2.0 (the 'License'). You may not use this file except in
  1058  // compliance with the License. The rights granted to you under the License
  1059  // may not be used to create, or enable the creation or redistribution of,
  1060  // unlawful or unlicensed copies of an Apple operating system, or to
  1061  // circumvent, violate, or enable the circumvention or violation of, any
  1062  // terms of an Apple operating system software license agreement.
  1063  //
  1064  // Please obtain a copy of the License at
  1065  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1066  //
  1067  // The Original Code and all software distributed under the License are
  1068  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1069  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1070  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1071  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1072  // Please see the License for the specific language governing rights and
  1073  // limitations under the License.
  1074  //
  1075  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1076  
  1077  // POSIX.1 requires that the macros we test be defined before any standard
  1078  // header file is included.  This permits us to convert values for feature
  1079  // testing, as necessary, using only _POSIX_C_SOURCE.
  1080  //
  1081  // Here's a quick run-down of the versions:
  1082  //  defined(_POSIX_SOURCE)		1003.1-1988
  1083  //  _POSIX_C_SOURCE == 1L		1003.1-1990
  1084  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
  1085  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
  1086  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
  1087  //					and the omnibus ISO/IEC 9945-1: 1996
  1088  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
  1089  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
  1090  //
  1091  // In addition, the X/Open Portability Guide, which is now the Single UNIX
  1092  // Specification, defines a feature-test macro which indicates the version of
  1093  // that specification, and which subsumes _POSIX_C_SOURCE.
  1094  
  1095  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  1096  
  1097  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  1098  
  1099  // Deal with various X/Open Portability Guides and Single UNIX Spec.
  1100  
  1101  // Deal with all versions of POSIX.  The ordering relative to the tests above is
  1102  // important.
  1103  
  1104  // POSIX C deprecation macros
  1105  // Copyright (c) 2010 Apple Inc. All rights reserved.
  1106  //
  1107  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1108  //
  1109  // This file contains Original Code and/or Modifications of Original Code
  1110  // as defined in and that are subject to the Apple Public Source License
  1111  // Version 2.0 (the 'License'). You may not use this file except in
  1112  // compliance with the License. The rights granted to you under the License
  1113  // may not be used to create, or enable the creation or redistribution of,
  1114  // unlawful or unlicensed copies of an Apple operating system, or to
  1115  // circumvent, violate, or enable the circumvention or violation of, any
  1116  // terms of an Apple operating system software license agreement.
  1117  //
  1118  // Please obtain a copy of the License at
  1119  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1120  //
  1121  // The Original Code and all software distributed under the License are
  1122  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1123  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1124  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1125  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1126  // Please see the License for the specific language governing rights and
  1127  // limitations under the License.
  1128  //
  1129  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1130  
  1131  // Set a single macro which will always be defined and can be used to determine
  1132  // the appropriate namespace.  For POSIX, these values will correspond to
  1133  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
  1134  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  1135  
  1136  // If the developer has neither requested a strict language mode nor a version
  1137  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  1138  // of __DARWIN_C_FULL.
  1139  
  1140  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  1141  // c99 still want long longs.  While not perfect, we allow long longs for
  1142  // g++.
  1143  
  1144  // ****************************************
  1145  //
  1146  //  Public darwin-specific feature macros
  1147  //
  1148  
  1149  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  1150  // structures modified for 64-bit inodes (like struct stat) will be used.
  1151  
  1152  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  1153  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  1154  // (and non-zero).  There is no struct stat64 either, as the regular
  1155  // struct stat will already be the 64-bit version.
  1156  
  1157  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  1158  // in 10.5 exists; no pre-10.5 variants are available.
  1159  
  1160  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  1161  // are available (the legacy BSD APIs are not available)
  1162  
  1163  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  1164  // and specifies the conformance level (3 is SUSv3)
  1165  
  1166  // This macro casts away the qualifier from the variable
  1167  //
  1168  // Note: use at your own risk, removing qualifiers can result in
  1169  // catastrophic run-time failures.
  1170  
  1171  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  1172  // used from other compilation units, but not other libraries or executables.
  1173  
  1174  // Architecture validation for current SDK
  1175  
  1176  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  1177  //
  1178  // This provides more advanced type checking on compilers supporting
  1179  // the proper extensions, even in C.
  1180  
  1181  // This is the `system' limits.h, independent of any particular
  1182  //  compiler.  GCC provides its own limits.h which can be found in
  1183  //  /usr/lib/gcc, although it is not very informative.
  1184  //  This file is public domain.
  1185  // Copyright (c) 1988, 1993
  1186  //	The Regents of the University of California.  All rights reserved.
  1187  //
  1188  // Redistribution and use in source and binary forms, with or without
  1189  // modification, are permitted provided that the following conditions
  1190  // are met:
  1191  // 1. Redistributions of source code must retain the above copyright
  1192  //    notice, this list of conditions and the following disclaimer.
  1193  // 2. Redistributions in binary form must reproduce the above copyright
  1194  //    notice, this list of conditions and the following disclaimer in the
  1195  //    documentation and/or other materials provided with the distribution.
  1196  // 3. All advertising materials mentioning features or use of this software
  1197  //    must display the following acknowledgement:
  1198  //	This product includes software developed by the University of
  1199  //	California, Berkeley and its contributors.
  1200  // 4. Neither the name of the University nor the names of its contributors
  1201  //    may be used to endorse or promote products derived from this software
  1202  //    without specific prior written permission.
  1203  //
  1204  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1205  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1206  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1207  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1208  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1209  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1210  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1211  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1212  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1213  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1214  // SUCH DAMAGE.
  1215  //
  1216  //	@(#)limits.h	8.3 (Berkeley) 1/4/94
  1217  
  1218  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1219  //
  1220  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1221  //
  1222  // This file contains Original Code and/or Modifications of Original Code
  1223  // as defined in and that are subject to the Apple Public Source License
  1224  // Version 2.0 (the 'License'). You may not use this file except in
  1225  // compliance with the License. The rights granted to you under the License
  1226  // may not be used to create, or enable the creation or redistribution of,
  1227  // unlawful or unlicensed copies of an Apple operating system, or to
  1228  // circumvent, violate, or enable the circumvention or violation of, any
  1229  // terms of an Apple operating system software license agreement.
  1230  //
  1231  // Please obtain a copy of the License at
  1232  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1233  //
  1234  // The Original Code and all software distributed under the License are
  1235  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1236  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1237  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1238  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1239  // Please see the License for the specific language governing rights and
  1240  // limitations under the License.
  1241  //
  1242  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1243  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1244  // Copyright (c) 1991, 1993
  1245  //	The Regents of the University of California.  All rights reserved.
  1246  //
  1247  // This code is derived from software contributed to Berkeley by
  1248  // Berkeley Software Design, Inc.
  1249  //
  1250  // Redistribution and use in source and binary forms, with or without
  1251  // modification, are permitted provided that the following conditions
  1252  // are met:
  1253  // 1. Redistributions of source code must retain the above copyright
  1254  //    notice, this list of conditions and the following disclaimer.
  1255  // 2. Redistributions in binary form must reproduce the above copyright
  1256  //    notice, this list of conditions and the following disclaimer in the
  1257  //    documentation and/or other materials provided with the distribution.
  1258  // 3. All advertising materials mentioning features or use of this software
  1259  //    must display the following acknowledgement:
  1260  //	This product includes software developed by the University of
  1261  //	California, Berkeley and its contributors.
  1262  // 4. Neither the name of the University nor the names of its contributors
  1263  //    may be used to endorse or promote products derived from this software
  1264  //    without specific prior written permission.
  1265  //
  1266  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1267  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1268  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1269  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1270  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1271  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1272  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1273  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1274  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1275  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1276  // SUCH DAMAGE.
  1277  //
  1278  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1279  
  1280  // Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
  1281  //
  1282  // @APPLE_LICENSE_HEADER_START@
  1283  //
  1284  // The contents of this file constitute Original Code as defined in and
  1285  // are subject to the Apple Public Source License Version 1.1 (the
  1286  // "License").  You may not use this file except in compliance with the
  1287  // License.  Please obtain a copy of the License at
  1288  // http://www.apple.com/publicsource and read it before using this file.
  1289  //
  1290  // This Original Code and all software distributed under the License are
  1291  // distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1292  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1293  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1294  // FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
  1295  // License for the specific language governing rights and limitations
  1296  // under the License.
  1297  //
  1298  // @APPLE_LICENSE_HEADER_END@
  1299  
  1300  // According to ANSI (section 2.2.4.2), the values below must be usable by
  1301  // #if preprocessing directives.  Additionally, the expression must have the
  1302  // same type as would an expression that is an object of the corresponding
  1303  // type converted according to the integral promotions.  The subtraction for
  1304  // INT_MIN and LONG_MIN is so the value is not unsigned; 2147483648 is an
  1305  // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
  1306  // These numbers work for pcc as well.  The UINT_MAX and ULONG_MAX values
  1307  // are written as hex so that GCC will be quiet about large integer constants.
  1308  
  1309  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  1310  //
  1311  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1312  //
  1313  // This file contains Original Code and/or Modifications of Original Code
  1314  // as defined in and that are subject to the Apple Public Source License
  1315  // Version 2.0 (the 'License'). You may not use this file except in
  1316  // compliance with the License. The rights granted to you under the License
  1317  // may not be used to create, or enable the creation or redistribution of,
  1318  // unlawful or unlicensed copies of an Apple operating system, or to
  1319  // circumvent, violate, or enable the circumvention or violation of, any
  1320  // terms of an Apple operating system software license agreement.
  1321  //
  1322  // Please obtain a copy of the License at
  1323  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1324  //
  1325  // The Original Code and all software distributed under the License are
  1326  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1327  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1328  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1329  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1330  // Please see the License for the specific language governing rights and
  1331  // limitations under the License.
  1332  //
  1333  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1334  //	$NetBSD: syslimits.h,v 1.15 1997/06/25 00:48:09 lukem Exp $
  1335  
  1336  // Copyright (c) 1988, 1993
  1337  //	The Regents of the University of California.  All rights reserved.
  1338  //
  1339  // Redistribution and use in source and binary forms, with or without
  1340  // modification, are permitted provided that the following conditions
  1341  // are met:
  1342  // 1. Redistributions of source code must retain the above copyright
  1343  //    notice, this list of conditions and the following disclaimer.
  1344  // 2. Redistributions in binary form must reproduce the above copyright
  1345  //    notice, this list of conditions and the following disclaimer in the
  1346  //    documentation and/or other materials provided with the distribution.
  1347  // 3. All advertising materials mentioning features or use of this software
  1348  //    must display the following acknowledgement:
  1349  //	This product includes software developed by the University of
  1350  //	California, Berkeley and its contributors.
  1351  // 4. Neither the name of the University nor the names of its contributors
  1352  //    may be used to endorse or promote products derived from this software
  1353  //    without specific prior written permission.
  1354  //
  1355  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1356  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1357  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1358  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1359  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1360  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1361  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1362  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1363  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1364  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1365  // SUCH DAMAGE.
  1366  //
  1367  //	@(#)syslimits.h	8.1 (Berkeley) 6/2/93
  1368  
  1369  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1370  //
  1371  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1372  //
  1373  // This file contains Original Code and/or Modifications of Original Code
  1374  // as defined in and that are subject to the Apple Public Source License
  1375  // Version 2.0 (the 'License'). You may not use this file except in
  1376  // compliance with the License. The rights granted to you under the License
  1377  // may not be used to create, or enable the creation or redistribution of,
  1378  // unlawful or unlicensed copies of an Apple operating system, or to
  1379  // circumvent, violate, or enable the circumvention or violation of, any
  1380  // terms of an Apple operating system software license agreement.
  1381  //
  1382  // Please obtain a copy of the License at
  1383  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1384  //
  1385  // The Original Code and all software distributed under the License are
  1386  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1387  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1388  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1389  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1390  // Please see the License for the specific language governing rights and
  1391  // limitations under the License.
  1392  //
  1393  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1394  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1395  // Copyright (c) 1991, 1993
  1396  //	The Regents of the University of California.  All rights reserved.
  1397  //
  1398  // This code is derived from software contributed to Berkeley by
  1399  // Berkeley Software Design, Inc.
  1400  //
  1401  // Redistribution and use in source and binary forms, with or without
  1402  // modification, are permitted provided that the following conditions
  1403  // are met:
  1404  // 1. Redistributions of source code must retain the above copyright
  1405  //    notice, this list of conditions and the following disclaimer.
  1406  // 2. Redistributions in binary form must reproduce the above copyright
  1407  //    notice, this list of conditions and the following disclaimer in the
  1408  //    documentation and/or other materials provided with the distribution.
  1409  // 3. All advertising materials mentioning features or use of this software
  1410  //    must display the following acknowledgement:
  1411  //	This product includes software developed by the University of
  1412  //	California, Berkeley and its contributors.
  1413  // 4. Neither the name of the University nor the names of its contributors
  1414  //    may be used to endorse or promote products derived from this software
  1415  //    without specific prior written permission.
  1416  //
  1417  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1418  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1419  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1420  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1421  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1422  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1423  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1424  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1425  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1426  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1427  // SUCH DAMAGE.
  1428  //
  1429  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1430  
  1431  // Note: CHILD_MAX *must* be less than hard_maxproc, which is set at
  1432  // compile time; you *cannot* set it higher than the hard limit!!
  1433  
  1434  // = ((PRIO_MAX - PRIO_MIN) / 2) + 1
  1435  // range: 0 - 39 [(2 * NZERO) - 1]
  1436  // 0 is not actually used
  1437  
  1438  // Actually for XSI Visible
  1439  
  1440  // Removed in Issue 6
  1441  
  1442  // NZERO to be defined here. TBD. See also sys/param.h
  1443  
  1444  // Copyright (C) 1991-2021 Free Software Foundation, Inc.
  1445  //
  1446  // This file is part of GCC.
  1447  //
  1448  // GCC is free software; you can redistribute it and/or modify it under
  1449  // the terms of the GNU General Public License as published by the Free
  1450  // Software Foundation; either version 3, or (at your option) any later
  1451  // version.
  1452  //
  1453  // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  1454  // WARRANTY; without even the implied warranty of MERCHANTABILITY or
  1455  // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  1456  // for more details.
  1457  //
  1458  // Under Section 7 of GPL version 3, you are granted additional
  1459  // permissions described in the GCC Runtime Library Exception, version
  1460  // 3.1, as published by the Free Software Foundation.
  1461  //
  1462  // You should have received a copy of the GNU General Public License and
  1463  // a copy of the GCC Runtime Library Exception along with this program;
  1464  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  1465  // <http://www.gnu.org/licenses/>.
  1466  
  1467  // Number of bits in a `char'.
  1468  
  1469  // Maximum length of a multibyte character.
  1470  
  1471  // Minimum and maximum values a `signed char' can hold.
  1472  
  1473  // Maximum value an `unsigned char' can hold.  (Minimum is 0).
  1474  
  1475  // Minimum and maximum values a `char' can hold.
  1476  
  1477  // Minimum and maximum values a `signed short int' can hold.
  1478  
  1479  // Maximum value an `unsigned short int' can hold.  (Minimum is 0).
  1480  
  1481  // Minimum and maximum values a `signed int' can hold.
  1482  
  1483  // Maximum value an `unsigned int' can hold.  (Minimum is 0).
  1484  
  1485  // Minimum and maximum values a `signed long int' can hold.
  1486  //    (Same as `int').
  1487  
  1488  // Maximum value an `unsigned long int' can hold.  (Minimum is 0).
  1489  
  1490  // Minimum and maximum values a `signed long long int' can hold.
  1491  
  1492  // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
  1493  
  1494  // Minimum and maximum values a `signed long long int' can hold.
  1495  
  1496  // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
  1497  
  1498  // This administrivia gets added to the end of limits.h
  1499  //    if the system has its own version of limits.h.
  1500  
  1501  type z_crc_t = uint32 /* zconf.h:429:17 */ // time()
  1502  
  1503  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1504  //
  1505  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1506  //
  1507  // This file contains Original Code and/or Modifications of Original Code
  1508  // as defined in and that are subject to the Apple Public Source License
  1509  // Version 2.0 (the 'License'). You may not use this file except in
  1510  // compliance with the License. The rights granted to you under the License
  1511  // may not be used to create, or enable the creation or redistribution of,
  1512  // unlawful or unlicensed copies of an Apple operating system, or to
  1513  // circumvent, violate, or enable the circumvention or violation of, any
  1514  // terms of an Apple operating system software license agreement.
  1515  //
  1516  // Please obtain a copy of the License at
  1517  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1518  //
  1519  // The Original Code and all software distributed under the License are
  1520  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1521  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1522  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1523  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1524  // Please see the License for the specific language governing rights and
  1525  // limitations under the License.
  1526  //
  1527  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1528  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1529  // Copyright (c) 1991, 1993
  1530  //	The Regents of the University of California.  All rights reserved.
  1531  //
  1532  // This code is derived from software contributed to Berkeley by
  1533  // Berkeley Software Design, Inc.
  1534  //
  1535  // Redistribution and use in source and binary forms, with or without
  1536  // modification, are permitted provided that the following conditions
  1537  // are met:
  1538  // 1. Redistributions of source code must retain the above copyright
  1539  //    notice, this list of conditions and the following disclaimer.
  1540  // 2. Redistributions in binary form must reproduce the above copyright
  1541  //    notice, this list of conditions and the following disclaimer in the
  1542  //    documentation and/or other materials provided with the distribution.
  1543  // 3. All advertising materials mentioning features or use of this software
  1544  //    must display the following acknowledgement:
  1545  //	This product includes software developed by the University of
  1546  //	California, Berkeley and its contributors.
  1547  // 4. Neither the name of the University nor the names of its contributors
  1548  //    may be used to endorse or promote products derived from this software
  1549  //    without specific prior written permission.
  1550  //
  1551  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1552  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1553  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1554  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1555  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1556  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1557  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1558  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1559  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1560  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1561  // SUCH DAMAGE.
  1562  //
  1563  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1564  
  1565  // Basic integral types.  Omit the typedef if
  1566  // not possible for a machine/compiler combination.
  1567  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1568  //
  1569  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1570  //
  1571  // This file contains Original Code and/or Modifications of Original Code
  1572  // as defined in and that are subject to the Apple Public Source License
  1573  // Version 2.0 (the 'License'). You may not use this file except in
  1574  // compliance with the License. The rights granted to you under the License
  1575  // may not be used to create, or enable the creation or redistribution of,
  1576  // unlawful or unlicensed copies of an Apple operating system, or to
  1577  // circumvent, violate, or enable the circumvention or violation of, any
  1578  // terms of an Apple operating system software license agreement.
  1579  //
  1580  // Please obtain a copy of the License at
  1581  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1582  //
  1583  // The Original Code and all software distributed under the License are
  1584  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1585  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1586  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1587  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1588  // Please see the License for the specific language governing rights and
  1589  // limitations under the License.
  1590  //
  1591  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1592  type int8_t = int8 /* _int8_t.h:30:33 */
  1593  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1594  //
  1595  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1596  //
  1597  // This file contains Original Code and/or Modifications of Original Code
  1598  // as defined in and that are subject to the Apple Public Source License
  1599  // Version 2.0 (the 'License'). You may not use this file except in
  1600  // compliance with the License. The rights granted to you under the License
  1601  // may not be used to create, or enable the creation or redistribution of,
  1602  // unlawful or unlicensed copies of an Apple operating system, or to
  1603  // circumvent, violate, or enable the circumvention or violation of, any
  1604  // terms of an Apple operating system software license agreement.
  1605  //
  1606  // Please obtain a copy of the License at
  1607  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1608  //
  1609  // The Original Code and all software distributed under the License are
  1610  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1611  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1612  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1613  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1614  // Please see the License for the specific language governing rights and
  1615  // limitations under the License.
  1616  //
  1617  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1618  type int16_t = int16 /* _int16_t.h:30:33 */
  1619  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1620  //
  1621  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1622  //
  1623  // This file contains Original Code and/or Modifications of Original Code
  1624  // as defined in and that are subject to the Apple Public Source License
  1625  // Version 2.0 (the 'License'). You may not use this file except in
  1626  // compliance with the License. The rights granted to you under the License
  1627  // may not be used to create, or enable the creation or redistribution of,
  1628  // unlawful or unlicensed copies of an Apple operating system, or to
  1629  // circumvent, violate, or enable the circumvention or violation of, any
  1630  // terms of an Apple operating system software license agreement.
  1631  //
  1632  // Please obtain a copy of the License at
  1633  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1634  //
  1635  // The Original Code and all software distributed under the License are
  1636  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1637  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1638  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1639  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1640  // Please see the License for the specific language governing rights and
  1641  // limitations under the License.
  1642  //
  1643  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1644  type int32_t = int32 /* _int32_t.h:30:33 */
  1645  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1646  //
  1647  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1648  //
  1649  // This file contains Original Code and/or Modifications of Original Code
  1650  // as defined in and that are subject to the Apple Public Source License
  1651  // Version 2.0 (the 'License'). You may not use this file except in
  1652  // compliance with the License. The rights granted to you under the License
  1653  // may not be used to create, or enable the creation or redistribution of,
  1654  // unlawful or unlicensed copies of an Apple operating system, or to
  1655  // circumvent, violate, or enable the circumvention or violation of, any
  1656  // terms of an Apple operating system software license agreement.
  1657  //
  1658  // Please obtain a copy of the License at
  1659  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1660  //
  1661  // The Original Code and all software distributed under the License are
  1662  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1663  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1664  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1665  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1666  // Please see the License for the specific language governing rights and
  1667  // limitations under the License.
  1668  //
  1669  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1670  type int64_t = int64 /* _int64_t.h:30:33 */
  1671  
  1672  // Copyright (c) 2016 Apple Inc. All rights reserved.
  1673  //
  1674  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1675  //
  1676  // This file contains Original Code and/or Modifications of Original Code
  1677  // as defined in and that are subject to the Apple Public Source License
  1678  // Version 2.0 (the 'License'). You may not use this file except in
  1679  // compliance with the License. The rights granted to you under the License
  1680  // may not be used to create, or enable the creation or redistribution of,
  1681  // unlawful or unlicensed copies of an Apple operating system, or to
  1682  // circumvent, violate, or enable the circumvention or violation of, any
  1683  // terms of an Apple operating system software license agreement.
  1684  //
  1685  // Please obtain a copy of the License at
  1686  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1687  //
  1688  // The Original Code and all software distributed under the License are
  1689  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1690  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1691  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1692  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1693  // Please see the License for the specific language governing rights and
  1694  // limitations under the License.
  1695  //
  1696  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1697  type u_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1698  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1699  //
  1700  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1701  //
  1702  // This file contains Original Code and/or Modifications of Original Code
  1703  // as defined in and that are subject to the Apple Public Source License
  1704  // Version 2.0 (the 'License'). You may not use this file except in
  1705  // compliance with the License. The rights granted to you under the License
  1706  // may not be used to create, or enable the creation or redistribution of,
  1707  // unlawful or unlicensed copies of an Apple operating system, or to
  1708  // circumvent, violate, or enable the circumvention or violation of, any
  1709  // terms of an Apple operating system software license agreement.
  1710  //
  1711  // Please obtain a copy of the License at
  1712  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1713  //
  1714  // The Original Code and all software distributed under the License are
  1715  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1716  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1717  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1718  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1719  // Please see the License for the specific language governing rights and
  1720  // limitations under the License.
  1721  //
  1722  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1723  type u_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1724  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1725  //
  1726  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1727  //
  1728  // This file contains Original Code and/or Modifications of Original Code
  1729  // as defined in and that are subject to the Apple Public Source License
  1730  // Version 2.0 (the 'License'). You may not use this file except in
  1731  // compliance with the License. The rights granted to you under the License
  1732  // may not be used to create, or enable the creation or redistribution of,
  1733  // unlawful or unlicensed copies of an Apple operating system, or to
  1734  // circumvent, violate, or enable the circumvention or violation of, any
  1735  // terms of an Apple operating system software license agreement.
  1736  //
  1737  // Please obtain a copy of the License at
  1738  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1739  //
  1740  // The Original Code and all software distributed under the License are
  1741  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1742  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1743  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1744  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1745  // Please see the License for the specific language governing rights and
  1746  // limitations under the License.
  1747  //
  1748  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1749  type u_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1750  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1751  //
  1752  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1753  //
  1754  // This file contains Original Code and/or Modifications of Original Code
  1755  // as defined in and that are subject to the Apple Public Source License
  1756  // Version 2.0 (the 'License'). You may not use this file except in
  1757  // compliance with the License. The rights granted to you under the License
  1758  // may not be used to create, or enable the creation or redistribution of,
  1759  // unlawful or unlicensed copies of an Apple operating system, or to
  1760  // circumvent, violate, or enable the circumvention or violation of, any
  1761  // terms of an Apple operating system software license agreement.
  1762  //
  1763  // Please obtain a copy of the License at
  1764  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1765  //
  1766  // The Original Code and all software distributed under the License are
  1767  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1768  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1769  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1770  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1771  // Please see the License for the specific language governing rights and
  1772  // limitations under the License.
  1773  //
  1774  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1775  type u_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1776  
  1777  type register_t = int64_t /* types.h:87:33 */
  1778  
  1779  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1780  //
  1781  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1782  //
  1783  // This file contains Original Code and/or Modifications of Original Code
  1784  // as defined in and that are subject to the Apple Public Source License
  1785  // Version 2.0 (the 'License'). You may not use this file except in
  1786  // compliance with the License. The rights granted to you under the License
  1787  // may not be used to create, or enable the creation or redistribution of,
  1788  // unlawful or unlicensed copies of an Apple operating system, or to
  1789  // circumvent, violate, or enable the circumvention or violation of, any
  1790  // terms of an Apple operating system software license agreement.
  1791  //
  1792  // Please obtain a copy of the License at
  1793  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1794  //
  1795  // The Original Code and all software distributed under the License are
  1796  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1797  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1798  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1799  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1800  // Please see the License for the specific language governing rights and
  1801  // limitations under the License.
  1802  //
  1803  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1804  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1805  //
  1806  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1807  //
  1808  // This file contains Original Code and/or Modifications of Original Code
  1809  // as defined in and that are subject to the Apple Public Source License
  1810  // Version 2.0 (the 'License'). You may not use this file except in
  1811  // compliance with the License. The rights granted to you under the License
  1812  // may not be used to create, or enable the creation or redistribution of,
  1813  // unlawful or unlicensed copies of an Apple operating system, or to
  1814  // circumvent, violate, or enable the circumvention or violation of, any
  1815  // terms of an Apple operating system software license agreement.
  1816  //
  1817  // Please obtain a copy of the License at
  1818  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1819  //
  1820  // The Original Code and all software distributed under the License are
  1821  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1822  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1823  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1824  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1825  // Please see the License for the specific language governing rights and
  1826  // limitations under the License.
  1827  //
  1828  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1829  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1830  
  1831  type intptr_t = int64 /* _intptr_t.h:32:33 */
  1832  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1833  //
  1834  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1835  //
  1836  // This file contains Original Code and/or Modifications of Original Code
  1837  // as defined in and that are subject to the Apple Public Source License
  1838  // Version 2.0 (the 'License'). You may not use this file except in
  1839  // compliance with the License. The rights granted to you under the License
  1840  // may not be used to create, or enable the creation or redistribution of,
  1841  // unlawful or unlicensed copies of an Apple operating system, or to
  1842  // circumvent, violate, or enable the circumvention or violation of, any
  1843  // terms of an Apple operating system software license agreement.
  1844  //
  1845  // Please obtain a copy of the License at
  1846  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1847  //
  1848  // The Original Code and all software distributed under the License are
  1849  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1850  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1851  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1852  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1853  // Please see the License for the specific language governing rights and
  1854  // limitations under the License.
  1855  //
  1856  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1857  type uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  1858  
  1859  // These types are used for reserving the largest possible size.
  1860  type user_addr_t = u_int64_t  /* types.h:97:33 */
  1861  type user_size_t = u_int64_t  /* types.h:98:33 */
  1862  type user_ssize_t = int64_t   /* types.h:99:33 */
  1863  type user_long_t = int64_t    /* types.h:100:33 */
  1864  type user_ulong_t = u_int64_t /* types.h:101:33 */
  1865  type user_time_t = int64_t    /* types.h:102:33 */
  1866  type user_off_t = int64_t     /* types.h:103:33 */
  1867  
  1868  // This defines the size of syscall arguments after copying into the kernel:
  1869  type syscall_arg_t = u_int64_t /* types.h:111:33 */
  1870  
  1871  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1872  //
  1873  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1874  //
  1875  // This file contains Original Code and/or Modifications of Original Code
  1876  // as defined in and that are subject to the Apple Public Source License
  1877  // Version 2.0 (the 'License'). You may not use this file except in
  1878  // compliance with the License. The rights granted to you under the License
  1879  // may not be used to create, or enable the creation or redistribution of,
  1880  // unlawful or unlicensed copies of an Apple operating system, or to
  1881  // circumvent, violate, or enable the circumvention or violation of, any
  1882  // terms of an Apple operating system software license agreement.
  1883  //
  1884  // Please obtain a copy of the License at
  1885  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1886  //
  1887  // The Original Code and all software distributed under the License are
  1888  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1889  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1890  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1891  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1892  // Please see the License for the specific language governing rights and
  1893  // limitations under the License.
  1894  //
  1895  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1896  
  1897  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1898  //
  1899  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1900  //
  1901  // This file contains Original Code and/or Modifications of Original Code
  1902  // as defined in and that are subject to the Apple Public Source License
  1903  // Version 2.0 (the 'License'). You may not use this file except in
  1904  // compliance with the License. The rights granted to you under the License
  1905  // may not be used to create, or enable the creation or redistribution of,
  1906  // unlawful or unlicensed copies of an Apple operating system, or to
  1907  // circumvent, violate, or enable the circumvention or violation of, any
  1908  // terms of an Apple operating system software license agreement.
  1909  //
  1910  // Please obtain a copy of the License at
  1911  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1912  //
  1913  // The Original Code and all software distributed under the License are
  1914  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1915  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1916  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1917  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1918  // Please see the License for the specific language governing rights and
  1919  // limitations under the License.
  1920  //
  1921  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1922  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1923  // Copyright (c) 1991, 1993
  1924  //	The Regents of the University of California.  All rights reserved.
  1925  //
  1926  // This code is derived from software contributed to Berkeley by
  1927  // Berkeley Software Design, Inc.
  1928  //
  1929  // Redistribution and use in source and binary forms, with or without
  1930  // modification, are permitted provided that the following conditions
  1931  // are met:
  1932  // 1. Redistributions of source code must retain the above copyright
  1933  //    notice, this list of conditions and the following disclaimer.
  1934  // 2. Redistributions in binary form must reproduce the above copyright
  1935  //    notice, this list of conditions and the following disclaimer in the
  1936  //    documentation and/or other materials provided with the distribution.
  1937  // 3. All advertising materials mentioning features or use of this software
  1938  //    must display the following acknowledgement:
  1939  //	This product includes software developed by the University of
  1940  //	California, Berkeley and its contributors.
  1941  // 4. Neither the name of the University nor the names of its contributors
  1942  //    may be used to endorse or promote products derived from this software
  1943  //    without specific prior written permission.
  1944  //
  1945  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1946  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1947  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1948  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1949  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1950  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1951  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1952  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1953  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1954  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1955  // SUCH DAMAGE.
  1956  //
  1957  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1958  
  1959  // pthread opaque structures
  1960  
  1961  type __darwin_pthread_handler_rec = struct {
  1962  	__routine uintptr
  1963  	__arg     uintptr
  1964  	__next    uintptr
  1965  } /* _pthread_types.h:57:1 */
  1966  
  1967  type _opaque_pthread_attr_t = struct {
  1968  	__sig    int64
  1969  	__opaque [56]int8
  1970  } /* _pthread_types.h:63:1 */
  1971  
  1972  type _opaque_pthread_cond_t = struct {
  1973  	__sig    int64
  1974  	__opaque [40]int8
  1975  } /* _pthread_types.h:68:1 */
  1976  
  1977  type _opaque_pthread_condattr_t = struct {
  1978  	__sig    int64
  1979  	__opaque [8]int8
  1980  } /* _pthread_types.h:73:1 */
  1981  
  1982  type _opaque_pthread_mutex_t = struct {
  1983  	__sig    int64
  1984  	__opaque [56]int8
  1985  } /* _pthread_types.h:78:1 */
  1986  
  1987  type _opaque_pthread_mutexattr_t = struct {
  1988  	__sig    int64
  1989  	__opaque [8]int8
  1990  } /* _pthread_types.h:83:1 */
  1991  
  1992  type _opaque_pthread_once_t = struct {
  1993  	__sig    int64
  1994  	__opaque [8]int8
  1995  } /* _pthread_types.h:88:1 */
  1996  
  1997  type _opaque_pthread_rwlock_t = struct {
  1998  	__sig    int64
  1999  	__opaque [192]int8
  2000  } /* _pthread_types.h:93:1 */
  2001  
  2002  type _opaque_pthread_rwlockattr_t = struct {
  2003  	__sig    int64
  2004  	__opaque [16]int8
  2005  } /* _pthread_types.h:98:1 */
  2006  
  2007  type _opaque_pthread_t = struct {
  2008  	__sig           int64
  2009  	__cleanup_stack uintptr
  2010  	__opaque        [8176]int8
  2011  } /* _pthread_types.h:103:1 */
  2012  
  2013  // Copyright (c) 2017 Apple Inc. All rights reserved.
  2014  //
  2015  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2016  //
  2017  // This file contains Original Code and/or Modifications of Original Code
  2018  // as defined in and that are subject to the Apple Public Source License
  2019  // Version 2.0 (the 'License'). You may not use this file except in
  2020  // compliance with the License. The rights granted to you under the License
  2021  // may not be used to create, or enable the creation or redistribution of,
  2022  // unlawful or unlicensed copies of an Apple operating system, or to
  2023  // circumvent, violate, or enable the circumvention or violation of, any
  2024  // terms of an Apple operating system software license agreement.
  2025  //
  2026  // Please obtain a copy of the License at
  2027  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2028  //
  2029  // The Original Code and all software distributed under the License are
  2030  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2031  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2032  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2033  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2034  // Please see the License for the specific language governing rights and
  2035  // limitations under the License.
  2036  //
  2037  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2038  type u_char = uint8 /* _u_char.h:30:25 */
  2039  // Copyright (c) 2017 Apple Inc. All rights reserved.
  2040  //
  2041  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2042  //
  2043  // This file contains Original Code and/or Modifications of Original Code
  2044  // as defined in and that are subject to the Apple Public Source License
  2045  // Version 2.0 (the 'License'). You may not use this file except in
  2046  // compliance with the License. The rights granted to you under the License
  2047  // may not be used to create, or enable the creation or redistribution of,
  2048  // unlawful or unlicensed copies of an Apple operating system, or to
  2049  // circumvent, violate, or enable the circumvention or violation of, any
  2050  // terms of an Apple operating system software license agreement.
  2051  //
  2052  // Please obtain a copy of the License at
  2053  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2054  //
  2055  // The Original Code and all software distributed under the License are
  2056  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2057  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2058  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2059  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2060  // Please see the License for the specific language governing rights and
  2061  // limitations under the License.
  2062  //
  2063  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2064  type u_short = uint16 /* _u_short.h:30:25 */
  2065  // Copyright (c) 2017 Apple Inc. All rights reserved.
  2066  //
  2067  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2068  //
  2069  // This file contains Original Code and/or Modifications of Original Code
  2070  // as defined in and that are subject to the Apple Public Source License
  2071  // Version 2.0 (the 'License'). You may not use this file except in
  2072  // compliance with the License. The rights granted to you under the License
  2073  // may not be used to create, or enable the creation or redistribution of,
  2074  // unlawful or unlicensed copies of an Apple operating system, or to
  2075  // circumvent, violate, or enable the circumvention or violation of, any
  2076  // terms of an Apple operating system software license agreement.
  2077  //
  2078  // Please obtain a copy of the License at
  2079  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2080  //
  2081  // The Original Code and all software distributed under the License are
  2082  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2083  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2084  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2085  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2086  // Please see the License for the specific language governing rights and
  2087  // limitations under the License.
  2088  //
  2089  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2090  type u_int = uint32  /* _u_int.h:30:25 */
  2091  type u_long = uint64 /* types.h:88:33 */
  2092  type ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  2093  type uint = uint32   /* types.h:92:33 */ // Sys V compatibility
  2094  
  2095  type u_quad_t = u_int64_t /* types.h:95:33 */ // quads
  2096  type quad_t = int64_t     /* types.h:96:33 */
  2097  type qaddr_t = uintptr    /* types.h:97:16 */
  2098  
  2099  // Copyright (c) 2017 Apple Inc. All rights reserved.
  2100  //
  2101  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2102  //
  2103  // This file contains Original Code and/or Modifications of Original Code
  2104  // as defined in and that are subject to the Apple Public Source License
  2105  // Version 2.0 (the 'License'). You may not use this file except in
  2106  // compliance with the License. The rights granted to you under the License
  2107  // may not be used to create, or enable the creation or redistribution of,
  2108  // unlawful or unlicensed copies of an Apple operating system, or to
  2109  // circumvent, violate, or enable the circumvention or violation of, any
  2110  // terms of an Apple operating system software license agreement.
  2111  //
  2112  // Please obtain a copy of the License at
  2113  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2114  //
  2115  // The Original Code and all software distributed under the License are
  2116  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2117  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2118  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2119  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2120  // Please see the License for the specific language governing rights and
  2121  // limitations under the License.
  2122  //
  2123  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2124  type caddr_t = uintptr /* _caddr_t.h:30:14 */
  2125  
  2126  type daddr_t = int32_t /* types.h:101:33 */ // disk address
  2127  
  2128  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2129  //
  2130  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2131  //
  2132  // This file contains Original Code and/or Modifications of Original Code
  2133  // as defined in and that are subject to the Apple Public Source License
  2134  // Version 2.0 (the 'License'). You may not use this file except in
  2135  // compliance with the License. The rights granted to you under the License
  2136  // may not be used to create, or enable the creation or redistribution of,
  2137  // unlawful or unlicensed copies of an Apple operating system, or to
  2138  // circumvent, violate, or enable the circumvention or violation of, any
  2139  // terms of an Apple operating system software license agreement.
  2140  //
  2141  // Please obtain a copy of the License at
  2142  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2143  //
  2144  // The Original Code and all software distributed under the License are
  2145  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2146  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2147  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2148  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2149  // Please see the License for the specific language governing rights and
  2150  // limitations under the License.
  2151  //
  2152  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2153  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2154  //
  2155  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2156  //
  2157  // This file contains Original Code and/or Modifications of Original Code
  2158  // as defined in and that are subject to the Apple Public Source License
  2159  // Version 2.0 (the 'License'). You may not use this file except in
  2160  // compliance with the License. The rights granted to you under the License
  2161  // may not be used to create, or enable the creation or redistribution of,
  2162  // unlawful or unlicensed copies of an Apple operating system, or to
  2163  // circumvent, violate, or enable the circumvention or violation of, any
  2164  // terms of an Apple operating system software license agreement.
  2165  //
  2166  // Please obtain a copy of the License at
  2167  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2168  //
  2169  // The Original Code and all software distributed under the License are
  2170  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2171  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2172  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2173  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2174  // Please see the License for the specific language governing rights and
  2175  // limitations under the License.
  2176  //
  2177  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2178  
  2179  type dev_t = int32 /* _dev_t.h:31:31 */ // device number
  2180  
  2181  type fixpt_t = u_int32_t /* types.h:105:33 */ // fixed point number
  2182  
  2183  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2184  //
  2185  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2186  //
  2187  // This file contains Original Code and/or Modifications of Original Code
  2188  // as defined in and that are subject to the Apple Public Source License
  2189  // Version 2.0 (the 'License'). You may not use this file except in
  2190  // compliance with the License. The rights granted to you under the License
  2191  // may not be used to create, or enable the creation or redistribution of,
  2192  // unlawful or unlicensed copies of an Apple operating system, or to
  2193  // circumvent, violate, or enable the circumvention or violation of, any
  2194  // terms of an Apple operating system software license agreement.
  2195  //
  2196  // Please obtain a copy of the License at
  2197  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2198  //
  2199  // The Original Code and all software distributed under the License are
  2200  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2201  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2202  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2203  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2204  // Please see the License for the specific language governing rights and
  2205  // limitations under the License.
  2206  //
  2207  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2208  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2209  //
  2210  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2211  //
  2212  // This file contains Original Code and/or Modifications of Original Code
  2213  // as defined in and that are subject to the Apple Public Source License
  2214  // Version 2.0 (the 'License'). You may not use this file except in
  2215  // compliance with the License. The rights granted to you under the License
  2216  // may not be used to create, or enable the creation or redistribution of,
  2217  // unlawful or unlicensed copies of an Apple operating system, or to
  2218  // circumvent, violate, or enable the circumvention or violation of, any
  2219  // terms of an Apple operating system software license agreement.
  2220  //
  2221  // Please obtain a copy of the License at
  2222  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2223  //
  2224  // The Original Code and all software distributed under the License are
  2225  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2226  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2227  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2228  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2229  // Please see the License for the specific language governing rights and
  2230  // limitations under the License.
  2231  //
  2232  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2233  
  2234  type blkcnt_t = int64 /* _blkcnt_t.h:31:34 */
  2235  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2236  //
  2237  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2238  //
  2239  // This file contains Original Code and/or Modifications of Original Code
  2240  // as defined in and that are subject to the Apple Public Source License
  2241  // Version 2.0 (the 'License'). You may not use this file except in
  2242  // compliance with the License. The rights granted to you under the License
  2243  // may not be used to create, or enable the creation or redistribution of,
  2244  // unlawful or unlicensed copies of an Apple operating system, or to
  2245  // circumvent, violate, or enable the circumvention or violation of, any
  2246  // terms of an Apple operating system software license agreement.
  2247  //
  2248  // Please obtain a copy of the License at
  2249  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2250  //
  2251  // The Original Code and all software distributed under the License are
  2252  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2253  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2254  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2255  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2256  // Please see the License for the specific language governing rights and
  2257  // limitations under the License.
  2258  //
  2259  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2260  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2261  //
  2262  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2263  //
  2264  // This file contains Original Code and/or Modifications of Original Code
  2265  // as defined in and that are subject to the Apple Public Source License
  2266  // Version 2.0 (the 'License'). You may not use this file except in
  2267  // compliance with the License. The rights granted to you under the License
  2268  // may not be used to create, or enable the creation or redistribution of,
  2269  // unlawful or unlicensed copies of an Apple operating system, or to
  2270  // circumvent, violate, or enable the circumvention or violation of, any
  2271  // terms of an Apple operating system software license agreement.
  2272  //
  2273  // Please obtain a copy of the License at
  2274  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2275  //
  2276  // The Original Code and all software distributed under the License are
  2277  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2278  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2279  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2280  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2281  // Please see the License for the specific language governing rights and
  2282  // limitations under the License.
  2283  //
  2284  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2285  
  2286  type blksize_t = int32 /* _blksize_t.h:31:35 */
  2287  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2288  //
  2289  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2290  //
  2291  // This file contains Original Code and/or Modifications of Original Code
  2292  // as defined in and that are subject to the Apple Public Source License
  2293  // Version 2.0 (the 'License'). You may not use this file except in
  2294  // compliance with the License. The rights granted to you under the License
  2295  // may not be used to create, or enable the creation or redistribution of,
  2296  // unlawful or unlicensed copies of an Apple operating system, or to
  2297  // circumvent, violate, or enable the circumvention or violation of, any
  2298  // terms of an Apple operating system software license agreement.
  2299  //
  2300  // Please obtain a copy of the License at
  2301  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2302  //
  2303  // The Original Code and all software distributed under the License are
  2304  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2305  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2306  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2307  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2308  // Please see the License for the specific language governing rights and
  2309  // limitations under the License.
  2310  //
  2311  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2312  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2313  //
  2314  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2315  //
  2316  // This file contains Original Code and/or Modifications of Original Code
  2317  // as defined in and that are subject to the Apple Public Source License
  2318  // Version 2.0 (the 'License'). You may not use this file except in
  2319  // compliance with the License. The rights granted to you under the License
  2320  // may not be used to create, or enable the creation or redistribution of,
  2321  // unlawful or unlicensed copies of an Apple operating system, or to
  2322  // circumvent, violate, or enable the circumvention or violation of, any
  2323  // terms of an Apple operating system software license agreement.
  2324  //
  2325  // Please obtain a copy of the License at
  2326  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2327  //
  2328  // The Original Code and all software distributed under the License are
  2329  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2330  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2331  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2332  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2333  // Please see the License for the specific language governing rights and
  2334  // limitations under the License.
  2335  //
  2336  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2337  
  2338  type gid_t = uint32 /* _gid_t.h:31:25 */
  2339  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2340  //
  2341  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2342  //
  2343  // This file contains Original Code and/or Modifications of Original Code
  2344  // as defined in and that are subject to the Apple Public Source License
  2345  // Version 2.0 (the 'License'). You may not use this file except in
  2346  // compliance with the License. The rights granted to you under the License
  2347  // may not be used to create, or enable the creation or redistribution of,
  2348  // unlawful or unlicensed copies of an Apple operating system, or to
  2349  // circumvent, violate, or enable the circumvention or violation of, any
  2350  // terms of an Apple operating system software license agreement.
  2351  //
  2352  // Please obtain a copy of the License at
  2353  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2354  //
  2355  // The Original Code and all software distributed under the License are
  2356  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2357  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2358  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2359  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2360  // Please see the License for the specific language governing rights and
  2361  // limitations under the License.
  2362  //
  2363  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2364  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2365  //
  2366  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2367  //
  2368  // This file contains Original Code and/or Modifications of Original Code
  2369  // as defined in and that are subject to the Apple Public Source License
  2370  // Version 2.0 (the 'License'). You may not use this file except in
  2371  // compliance with the License. The rights granted to you under the License
  2372  // may not be used to create, or enable the creation or redistribution of,
  2373  // unlawful or unlicensed copies of an Apple operating system, or to
  2374  // circumvent, violate, or enable the circumvention or violation of, any
  2375  // terms of an Apple operating system software license agreement.
  2376  //
  2377  // Please obtain a copy of the License at
  2378  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2379  //
  2380  // The Original Code and all software distributed under the License are
  2381  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2382  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2383  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2384  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2385  // Please see the License for the specific language governing rights and
  2386  // limitations under the License.
  2387  //
  2388  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2389  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2390  type in_addr_t = uint32 /* _in_addr_t.h:31:25 */ // base type for internet address
  2391  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2392  //
  2393  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2394  //
  2395  // This file contains Original Code and/or Modifications of Original Code
  2396  // as defined in and that are subject to the Apple Public Source License
  2397  // Version 2.0 (the 'License'). You may not use this file except in
  2398  // compliance with the License. The rights granted to you under the License
  2399  // may not be used to create, or enable the creation or redistribution of,
  2400  // unlawful or unlicensed copies of an Apple operating system, or to
  2401  // circumvent, violate, or enable the circumvention or violation of, any
  2402  // terms of an Apple operating system software license agreement.
  2403  //
  2404  // Please obtain a copy of the License at
  2405  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2406  //
  2407  // The Original Code and all software distributed under the License are
  2408  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2409  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2410  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2411  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2412  // Please see the License for the specific language governing rights and
  2413  // limitations under the License.
  2414  //
  2415  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2416  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2417  //
  2418  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2419  //
  2420  // This file contains Original Code and/or Modifications of Original Code
  2421  // as defined in and that are subject to the Apple Public Source License
  2422  // Version 2.0 (the 'License'). You may not use this file except in
  2423  // compliance with the License. The rights granted to you under the License
  2424  // may not be used to create, or enable the creation or redistribution of,
  2425  // unlawful or unlicensed copies of an Apple operating system, or to
  2426  // circumvent, violate, or enable the circumvention or violation of, any
  2427  // terms of an Apple operating system software license agreement.
  2428  //
  2429  // Please obtain a copy of the License at
  2430  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2431  //
  2432  // The Original Code and all software distributed under the License are
  2433  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2434  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2435  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2436  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2437  // Please see the License for the specific language governing rights and
  2438  // limitations under the License.
  2439  //
  2440  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2441  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2442  type in_port_t = uint16 /* _in_port_t.h:31:33 */
  2443  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2444  //
  2445  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2446  //
  2447  // This file contains Original Code and/or Modifications of Original Code
  2448  // as defined in and that are subject to the Apple Public Source License
  2449  // Version 2.0 (the 'License'). You may not use this file except in
  2450  // compliance with the License. The rights granted to you under the License
  2451  // may not be used to create, or enable the creation or redistribution of,
  2452  // unlawful or unlicensed copies of an Apple operating system, or to
  2453  // circumvent, violate, or enable the circumvention or violation of, any
  2454  // terms of an Apple operating system software license agreement.
  2455  //
  2456  // Please obtain a copy of the License at
  2457  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2458  //
  2459  // The Original Code and all software distributed under the License are
  2460  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2461  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2462  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2463  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2464  // Please see the License for the specific language governing rights and
  2465  // limitations under the License.
  2466  //
  2467  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2468  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2469  //
  2470  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2471  //
  2472  // This file contains Original Code and/or Modifications of Original Code
  2473  // as defined in and that are subject to the Apple Public Source License
  2474  // Version 2.0 (the 'License'). You may not use this file except in
  2475  // compliance with the License. The rights granted to you under the License
  2476  // may not be used to create, or enable the creation or redistribution of,
  2477  // unlawful or unlicensed copies of an Apple operating system, or to
  2478  // circumvent, violate, or enable the circumvention or violation of, any
  2479  // terms of an Apple operating system software license agreement.
  2480  //
  2481  // Please obtain a copy of the License at
  2482  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2483  //
  2484  // The Original Code and all software distributed under the License are
  2485  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2486  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2487  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2488  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2489  // Please see the License for the specific language governing rights and
  2490  // limitations under the License.
  2491  //
  2492  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2493  
  2494  type ino_t = uint64 /* _ino_t.h:31:33 */ // inode number
  2495  
  2496  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2497  //
  2498  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2499  //
  2500  // This file contains Original Code and/or Modifications of Original Code
  2501  // as defined in and that are subject to the Apple Public Source License
  2502  // Version 2.0 (the 'License'). You may not use this file except in
  2503  // compliance with the License. The rights granted to you under the License
  2504  // may not be used to create, or enable the creation or redistribution of,
  2505  // unlawful or unlicensed copies of an Apple operating system, or to
  2506  // circumvent, violate, or enable the circumvention or violation of, any
  2507  // terms of an Apple operating system software license agreement.
  2508  //
  2509  // Please obtain a copy of the License at
  2510  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2511  //
  2512  // The Original Code and all software distributed under the License are
  2513  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2514  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2515  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2516  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2517  // Please see the License for the specific language governing rights and
  2518  // limitations under the License.
  2519  //
  2520  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2521  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2522  //
  2523  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2524  //
  2525  // This file contains Original Code and/or Modifications of Original Code
  2526  // as defined in and that are subject to the Apple Public Source License
  2527  // Version 2.0 (the 'License'). You may not use this file except in
  2528  // compliance with the License. The rights granted to you under the License
  2529  // may not be used to create, or enable the creation or redistribution of,
  2530  // unlawful or unlicensed copies of an Apple operating system, or to
  2531  // circumvent, violate, or enable the circumvention or violation of, any
  2532  // terms of an Apple operating system software license agreement.
  2533  //
  2534  // Please obtain a copy of the License at
  2535  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2536  //
  2537  // The Original Code and all software distributed under the License are
  2538  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2539  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2540  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2541  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2542  // Please see the License for the specific language governing rights and
  2543  // limitations under the License.
  2544  //
  2545  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2546  
  2547  type ino64_t = uint64 /* _ino64_t.h:31:33 */ // 64bit inode number
  2548  
  2549  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2550  //
  2551  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2552  //
  2553  // This file contains Original Code and/or Modifications of Original Code
  2554  // as defined in and that are subject to the Apple Public Source License
  2555  // Version 2.0 (the 'License'). You may not use this file except in
  2556  // compliance with the License. The rights granted to you under the License
  2557  // may not be used to create, or enable the creation or redistribution of,
  2558  // unlawful or unlicensed copies of an Apple operating system, or to
  2559  // circumvent, violate, or enable the circumvention or violation of, any
  2560  // terms of an Apple operating system software license agreement.
  2561  //
  2562  // Please obtain a copy of the License at
  2563  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2564  //
  2565  // The Original Code and all software distributed under the License are
  2566  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2567  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2568  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2569  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2570  // Please see the License for the specific language governing rights and
  2571  // limitations under the License.
  2572  //
  2573  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2574  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2575  //
  2576  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2577  //
  2578  // This file contains Original Code and/or Modifications of Original Code
  2579  // as defined in and that are subject to the Apple Public Source License
  2580  // Version 2.0 (the 'License'). You may not use this file except in
  2581  // compliance with the License. The rights granted to you under the License
  2582  // may not be used to create, or enable the creation or redistribution of,
  2583  // unlawful or unlicensed copies of an Apple operating system, or to
  2584  // circumvent, violate, or enable the circumvention or violation of, any
  2585  // terms of an Apple operating system software license agreement.
  2586  //
  2587  // Please obtain a copy of the License at
  2588  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2589  //
  2590  // The Original Code and all software distributed under the License are
  2591  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2592  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2593  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2594  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2595  // Please see the License for the specific language governing rights and
  2596  // limitations under the License.
  2597  //
  2598  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2599  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2600  type key_t = int32 /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  2601  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2602  //
  2603  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2604  //
  2605  // This file contains Original Code and/or Modifications of Original Code
  2606  // as defined in and that are subject to the Apple Public Source License
  2607  // Version 2.0 (the 'License'). You may not use this file except in
  2608  // compliance with the License. The rights granted to you under the License
  2609  // may not be used to create, or enable the creation or redistribution of,
  2610  // unlawful or unlicensed copies of an Apple operating system, or to
  2611  // circumvent, violate, or enable the circumvention or violation of, any
  2612  // terms of an Apple operating system software license agreement.
  2613  //
  2614  // Please obtain a copy of the License at
  2615  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2616  //
  2617  // The Original Code and all software distributed under the License are
  2618  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2619  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2620  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2621  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2622  // Please see the License for the specific language governing rights and
  2623  // limitations under the License.
  2624  //
  2625  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2626  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2627  //
  2628  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2629  //
  2630  // This file contains Original Code and/or Modifications of Original Code
  2631  // as defined in and that are subject to the Apple Public Source License
  2632  // Version 2.0 (the 'License'). You may not use this file except in
  2633  // compliance with the License. The rights granted to you under the License
  2634  // may not be used to create, or enable the creation or redistribution of,
  2635  // unlawful or unlicensed copies of an Apple operating system, or to
  2636  // circumvent, violate, or enable the circumvention or violation of, any
  2637  // terms of an Apple operating system software license agreement.
  2638  //
  2639  // Please obtain a copy of the License at
  2640  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2641  //
  2642  // The Original Code and all software distributed under the License are
  2643  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2644  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2645  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2646  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2647  // Please see the License for the specific language governing rights and
  2648  // limitations under the License.
  2649  //
  2650  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2651  
  2652  type mode_t = uint16 /* _mode_t.h:31:33 */
  2653  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2654  //
  2655  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2656  //
  2657  // This file contains Original Code and/or Modifications of Original Code
  2658  // as defined in and that are subject to the Apple Public Source License
  2659  // Version 2.0 (the 'License'). You may not use this file except in
  2660  // compliance with the License. The rights granted to you under the License
  2661  // may not be used to create, or enable the creation or redistribution of,
  2662  // unlawful or unlicensed copies of an Apple operating system, or to
  2663  // circumvent, violate, or enable the circumvention or violation of, any
  2664  // terms of an Apple operating system software license agreement.
  2665  //
  2666  // Please obtain a copy of the License at
  2667  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2668  //
  2669  // The Original Code and all software distributed under the License are
  2670  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2671  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2672  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2673  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2674  // Please see the License for the specific language governing rights and
  2675  // limitations under the License.
  2676  //
  2677  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2678  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2679  //
  2680  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2681  //
  2682  // This file contains Original Code and/or Modifications of Original Code
  2683  // as defined in and that are subject to the Apple Public Source License
  2684  // Version 2.0 (the 'License'). You may not use this file except in
  2685  // compliance with the License. The rights granted to you under the License
  2686  // may not be used to create, or enable the creation or redistribution of,
  2687  // unlawful or unlicensed copies of an Apple operating system, or to
  2688  // circumvent, violate, or enable the circumvention or violation of, any
  2689  // terms of an Apple operating system software license agreement.
  2690  //
  2691  // Please obtain a copy of the License at
  2692  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2693  //
  2694  // The Original Code and all software distributed under the License are
  2695  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2696  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2697  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2698  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2699  // Please see the License for the specific language governing rights and
  2700  // limitations under the License.
  2701  //
  2702  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2703  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2704  type nlink_t = uint16 /* _nlink_t.h:31:27 */ // link count
  2705  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2706  //
  2707  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2708  //
  2709  // This file contains Original Code and/or Modifications of Original Code
  2710  // as defined in and that are subject to the Apple Public Source License
  2711  // Version 2.0 (the 'License'). You may not use this file except in
  2712  // compliance with the License. The rights granted to you under the License
  2713  // may not be used to create, or enable the creation or redistribution of,
  2714  // unlawful or unlicensed copies of an Apple operating system, or to
  2715  // circumvent, violate, or enable the circumvention or violation of, any
  2716  // terms of an Apple operating system software license agreement.
  2717  //
  2718  // Please obtain a copy of the License at
  2719  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2720  //
  2721  // The Original Code and all software distributed under the License are
  2722  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2723  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2724  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2725  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2726  // Please see the License for the specific language governing rights and
  2727  // limitations under the License.
  2728  //
  2729  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2730  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2731  //
  2732  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2733  //
  2734  // This file contains Original Code and/or Modifications of Original Code
  2735  // as defined in and that are subject to the Apple Public Source License
  2736  // Version 2.0 (the 'License'). You may not use this file except in
  2737  // compliance with the License. The rights granted to you under the License
  2738  // may not be used to create, or enable the creation or redistribution of,
  2739  // unlawful or unlicensed copies of an Apple operating system, or to
  2740  // circumvent, violate, or enable the circumvention or violation of, any
  2741  // terms of an Apple operating system software license agreement.
  2742  //
  2743  // Please obtain a copy of the License at
  2744  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2745  //
  2746  // The Original Code and all software distributed under the License are
  2747  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2748  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2749  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2750  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2751  // Please see the License for the specific language governing rights and
  2752  // limitations under the License.
  2753  //
  2754  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2755  
  2756  type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  2757  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2758  //
  2759  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2760  //
  2761  // This file contains Original Code and/or Modifications of Original Code
  2762  // as defined in and that are subject to the Apple Public Source License
  2763  // Version 2.0 (the 'License'). You may not use this file except in
  2764  // compliance with the License. The rights granted to you under the License
  2765  // may not be used to create, or enable the creation or redistribution of,
  2766  // unlawful or unlicensed copies of an Apple operating system, or to
  2767  // circumvent, violate, or enable the circumvention or violation of, any
  2768  // terms of an Apple operating system software license agreement.
  2769  //
  2770  // Please obtain a copy of the License at
  2771  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2772  //
  2773  // The Original Code and all software distributed under the License are
  2774  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2775  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2776  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2777  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2778  // Please see the License for the specific language governing rights and
  2779  // limitations under the License.
  2780  //
  2781  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2782  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2783  //
  2784  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2785  //
  2786  // This file contains Original Code and/or Modifications of Original Code
  2787  // as defined in and that are subject to the Apple Public Source License
  2788  // Version 2.0 (the 'License'). You may not use this file except in
  2789  // compliance with the License. The rights granted to you under the License
  2790  // may not be used to create, or enable the creation or redistribution of,
  2791  // unlawful or unlicensed copies of an Apple operating system, or to
  2792  // circumvent, violate, or enable the circumvention or violation of, any
  2793  // terms of an Apple operating system software license agreement.
  2794  //
  2795  // Please obtain a copy of the License at
  2796  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2797  //
  2798  // The Original Code and all software distributed under the License are
  2799  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2800  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2801  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2802  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2803  // Please see the License for the specific language governing rights and
  2804  // limitations under the License.
  2805  //
  2806  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2807  
  2808  type pid_t = int32 /* _pid_t.h:31:31 */
  2809  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2810  //
  2811  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2812  //
  2813  // This file contains Original Code and/or Modifications of Original Code
  2814  // as defined in and that are subject to the Apple Public Source License
  2815  // Version 2.0 (the 'License'). You may not use this file except in
  2816  // compliance with the License. The rights granted to you under the License
  2817  // may not be used to create, or enable the creation or redistribution of,
  2818  // unlawful or unlicensed copies of an Apple operating system, or to
  2819  // circumvent, violate, or enable the circumvention or violation of, any
  2820  // terms of an Apple operating system software license agreement.
  2821  //
  2822  // Please obtain a copy of the License at
  2823  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2824  //
  2825  // The Original Code and all software distributed under the License are
  2826  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2827  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2828  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2829  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2830  // Please see the License for the specific language governing rights and
  2831  // limitations under the License.
  2832  //
  2833  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2834  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2835  //
  2836  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2837  //
  2838  // This file contains Original Code and/or Modifications of Original Code
  2839  // as defined in and that are subject to the Apple Public Source License
  2840  // Version 2.0 (the 'License'). You may not use this file except in
  2841  // compliance with the License. The rights granted to you under the License
  2842  // may not be used to create, or enable the creation or redistribution of,
  2843  // unlawful or unlicensed copies of an Apple operating system, or to
  2844  // circumvent, violate, or enable the circumvention or violation of, any
  2845  // terms of an Apple operating system software license agreement.
  2846  //
  2847  // Please obtain a copy of the License at
  2848  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2849  //
  2850  // The Original Code and all software distributed under the License are
  2851  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2852  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2853  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2854  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2855  // Please see the License for the specific language governing rights and
  2856  // limitations under the License.
  2857  //
  2858  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2859  
  2860  type off_t = int64 /* _off_t.h:31:33 */
  2861  
  2862  type segsz_t = int32_t /* types.h:125:33 */ // segment size
  2863  type swblk_t = int32_t /* types.h:126:33 */ // swap offset
  2864  
  2865  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2866  //
  2867  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2868  //
  2869  // This file contains Original Code and/or Modifications of Original Code
  2870  // as defined in and that are subject to the Apple Public Source License
  2871  // Version 2.0 (the 'License'). You may not use this file except in
  2872  // compliance with the License. The rights granted to you under the License
  2873  // may not be used to create, or enable the creation or redistribution of,
  2874  // unlawful or unlicensed copies of an Apple operating system, or to
  2875  // circumvent, violate, or enable the circumvention or violation of, any
  2876  // terms of an Apple operating system software license agreement.
  2877  //
  2878  // Please obtain a copy of the License at
  2879  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2880  //
  2881  // The Original Code and all software distributed under the License are
  2882  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2883  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2884  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2885  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2886  // Please see the License for the specific language governing rights and
  2887  // limitations under the License.
  2888  //
  2889  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2890  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2891  //
  2892  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2893  //
  2894  // This file contains Original Code and/or Modifications of Original Code
  2895  // as defined in and that are subject to the Apple Public Source License
  2896  // Version 2.0 (the 'License'). You may not use this file except in
  2897  // compliance with the License. The rights granted to you under the License
  2898  // may not be used to create, or enable the creation or redistribution of,
  2899  // unlawful or unlicensed copies of an Apple operating system, or to
  2900  // circumvent, violate, or enable the circumvention or violation of, any
  2901  // terms of an Apple operating system software license agreement.
  2902  //
  2903  // Please obtain a copy of the License at
  2904  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2905  //
  2906  // The Original Code and all software distributed under the License are
  2907  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2908  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2909  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2910  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2911  // Please see the License for the specific language governing rights and
  2912  // limitations under the License.
  2913  //
  2914  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2915  
  2916  type uid_t = uint32 /* _uid_t.h:31:31 */
  2917  
  2918  // Major, minor numbers, dev_t's.
  2919  
  2920  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2921  //
  2922  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2923  //
  2924  // This file contains Original Code and/or Modifications of Original Code
  2925  // as defined in and that are subject to the Apple Public Source License
  2926  // Version 2.0 (the 'License'). You may not use this file except in
  2927  // compliance with the License. The rights granted to you under the License
  2928  // may not be used to create, or enable the creation or redistribution of,
  2929  // unlawful or unlicensed copies of an Apple operating system, or to
  2930  // circumvent, violate, or enable the circumvention or violation of, any
  2931  // terms of an Apple operating system software license agreement.
  2932  //
  2933  // Please obtain a copy of the License at
  2934  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2935  //
  2936  // The Original Code and all software distributed under the License are
  2937  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2938  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2939  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2940  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2941  // Please see the License for the specific language governing rights and
  2942  // limitations under the License.
  2943  //
  2944  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2945  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2946  //
  2947  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2948  //
  2949  // This file contains Original Code and/or Modifications of Original Code
  2950  // as defined in and that are subject to the Apple Public Source License
  2951  // Version 2.0 (the 'License'). You may not use this file except in
  2952  // compliance with the License. The rights granted to you under the License
  2953  // may not be used to create, or enable the creation or redistribution of,
  2954  // unlawful or unlicensed copies of an Apple operating system, or to
  2955  // circumvent, violate, or enable the circumvention or violation of, any
  2956  // terms of an Apple operating system software license agreement.
  2957  //
  2958  // Please obtain a copy of the License at
  2959  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2960  //
  2961  // The Original Code and all software distributed under the License are
  2962  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2963  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2964  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2965  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2966  // Please see the License for the specific language governing rights and
  2967  // limitations under the License.
  2968  //
  2969  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2970  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2971  type clock_t = uint64 /* _clock_t.h:31:33 */
  2972  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2973  //
  2974  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2975  //
  2976  // This file contains Original Code and/or Modifications of Original Code
  2977  // as defined in and that are subject to the Apple Public Source License
  2978  // Version 2.0 (the 'License'). You may not use this file except in
  2979  // compliance with the License. The rights granted to you under the License
  2980  // may not be used to create, or enable the creation or redistribution of,
  2981  // unlawful or unlicensed copies of an Apple operating system, or to
  2982  // circumvent, violate, or enable the circumvention or violation of, any
  2983  // terms of an Apple operating system software license agreement.
  2984  //
  2985  // Please obtain a copy of the License at
  2986  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2987  //
  2988  // The Original Code and all software distributed under the License are
  2989  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2990  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2991  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2992  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2993  // Please see the License for the specific language governing rights and
  2994  // limitations under the License.
  2995  //
  2996  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2997  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2998  //
  2999  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3000  //
  3001  // This file contains Original Code and/or Modifications of Original Code
  3002  // as defined in and that are subject to the Apple Public Source License
  3003  // Version 2.0 (the 'License'). You may not use this file except in
  3004  // compliance with the License. The rights granted to you under the License
  3005  // may not be used to create, or enable the creation or redistribution of,
  3006  // unlawful or unlicensed copies of an Apple operating system, or to
  3007  // circumvent, violate, or enable the circumvention or violation of, any
  3008  // terms of an Apple operating system software license agreement.
  3009  //
  3010  // Please obtain a copy of the License at
  3011  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3012  //
  3013  // The Original Code and all software distributed under the License are
  3014  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3015  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3016  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3017  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3018  // Please see the License for the specific language governing rights and
  3019  // limitations under the License.
  3020  //
  3021  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3022  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3023  //
  3024  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3025  //
  3026  // This file contains Original Code and/or Modifications of Original Code
  3027  // as defined in and that are subject to the Apple Public Source License
  3028  // Version 2.0 (the 'License'). You may not use this file except in
  3029  // compliance with the License. The rights granted to you under the License
  3030  // may not be used to create, or enable the creation or redistribution of,
  3031  // unlawful or unlicensed copies of an Apple operating system, or to
  3032  // circumvent, violate, or enable the circumvention or violation of, any
  3033  // terms of an Apple operating system software license agreement.
  3034  //
  3035  // Please obtain a copy of the License at
  3036  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3037  //
  3038  // The Original Code and all software distributed under the License are
  3039  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3040  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3041  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3042  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3043  // Please see the License for the specific language governing rights and
  3044  // limitations under the License.
  3045  //
  3046  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3047  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3048  type ssize_t = int64 /* _ssize_t.h:31:33 */
  3049  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3050  //
  3051  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3052  //
  3053  // This file contains Original Code and/or Modifications of Original Code
  3054  // as defined in and that are subject to the Apple Public Source License
  3055  // Version 2.0 (the 'License'). You may not use this file except in
  3056  // compliance with the License. The rights granted to you under the License
  3057  // may not be used to create, or enable the creation or redistribution of,
  3058  // unlawful or unlicensed copies of an Apple operating system, or to
  3059  // circumvent, violate, or enable the circumvention or violation of, any
  3060  // terms of an Apple operating system software license agreement.
  3061  //
  3062  // Please obtain a copy of the License at
  3063  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3064  //
  3065  // The Original Code and all software distributed under the License are
  3066  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3067  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3068  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3069  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3070  // Please see the License for the specific language governing rights and
  3071  // limitations under the License.
  3072  //
  3073  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3074  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3075  //
  3076  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3077  //
  3078  // This file contains Original Code and/or Modifications of Original Code
  3079  // as defined in and that are subject to the Apple Public Source License
  3080  // Version 2.0 (the 'License'). You may not use this file except in
  3081  // compliance with the License. The rights granted to you under the License
  3082  // may not be used to create, or enable the creation or redistribution of,
  3083  // unlawful or unlicensed copies of an Apple operating system, or to
  3084  // circumvent, violate, or enable the circumvention or violation of, any
  3085  // terms of an Apple operating system software license agreement.
  3086  //
  3087  // Please obtain a copy of the License at
  3088  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3089  //
  3090  // The Original Code and all software distributed under the License are
  3091  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3092  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3093  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3094  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3095  // Please see the License for the specific language governing rights and
  3096  // limitations under the License.
  3097  //
  3098  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3099  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3100  type time_t = int64 /* _time_t.h:31:33 */
  3101  
  3102  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3103  //
  3104  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3105  //
  3106  // This file contains Original Code and/or Modifications of Original Code
  3107  // as defined in and that are subject to the Apple Public Source License
  3108  // Version 2.0 (the 'License'). You may not use this file except in
  3109  // compliance with the License. The rights granted to you under the License
  3110  // may not be used to create, or enable the creation or redistribution of,
  3111  // unlawful or unlicensed copies of an Apple operating system, or to
  3112  // circumvent, violate, or enable the circumvention or violation of, any
  3113  // terms of an Apple operating system software license agreement.
  3114  //
  3115  // Please obtain a copy of the License at
  3116  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3117  //
  3118  // The Original Code and all software distributed under the License are
  3119  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3120  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3121  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3122  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3123  // Please see the License for the specific language governing rights and
  3124  // limitations under the License.
  3125  //
  3126  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3127  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3128  //
  3129  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3130  //
  3131  // This file contains Original Code and/or Modifications of Original Code
  3132  // as defined in and that are subject to the Apple Public Source License
  3133  // Version 2.0 (the 'License'). You may not use this file except in
  3134  // compliance with the License. The rights granted to you under the License
  3135  // may not be used to create, or enable the creation or redistribution of,
  3136  // unlawful or unlicensed copies of an Apple operating system, or to
  3137  // circumvent, violate, or enable the circumvention or violation of, any
  3138  // terms of an Apple operating system software license agreement.
  3139  //
  3140  // Please obtain a copy of the License at
  3141  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3142  //
  3143  // The Original Code and all software distributed under the License are
  3144  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3145  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3146  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3147  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3148  // Please see the License for the specific language governing rights and
  3149  // limitations under the License.
  3150  //
  3151  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3152  
  3153  type useconds_t = uint32 /* _useconds_t.h:31:33 */
  3154  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3155  //
  3156  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3157  //
  3158  // This file contains Original Code and/or Modifications of Original Code
  3159  // as defined in and that are subject to the Apple Public Source License
  3160  // Version 2.0 (the 'License'). You may not use this file except in
  3161  // compliance with the License. The rights granted to you under the License
  3162  // may not be used to create, or enable the creation or redistribution of,
  3163  // unlawful or unlicensed copies of an Apple operating system, or to
  3164  // circumvent, violate, or enable the circumvention or violation of, any
  3165  // terms of an Apple operating system software license agreement.
  3166  //
  3167  // Please obtain a copy of the License at
  3168  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3169  //
  3170  // The Original Code and all software distributed under the License are
  3171  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3172  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3173  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3174  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3175  // Please see the License for the specific language governing rights and
  3176  // limitations under the License.
  3177  //
  3178  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3179  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3180  //
  3181  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3182  //
  3183  // This file contains Original Code and/or Modifications of Original Code
  3184  // as defined in and that are subject to the Apple Public Source License
  3185  // Version 2.0 (the 'License'). You may not use this file except in
  3186  // compliance with the License. The rights granted to you under the License
  3187  // may not be used to create, or enable the creation or redistribution of,
  3188  // unlawful or unlicensed copies of an Apple operating system, or to
  3189  // circumvent, violate, or enable the circumvention or violation of, any
  3190  // terms of an Apple operating system software license agreement.
  3191  //
  3192  // Please obtain a copy of the License at
  3193  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3194  //
  3195  // The Original Code and all software distributed under the License are
  3196  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3197  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3198  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3199  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3200  // Please see the License for the specific language governing rights and
  3201  // limitations under the License.
  3202  //
  3203  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3204  
  3205  type suseconds_t = int32 /* _suseconds_t.h:31:33 */
  3206  
  3207  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3208  //
  3209  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3210  //
  3211  // This file contains Original Code and/or Modifications of Original Code
  3212  // as defined in and that are subject to the Apple Public Source License
  3213  // Version 2.0 (the 'License'). You may not use this file except in
  3214  // compliance with the License. The rights granted to you under the License
  3215  // may not be used to create, or enable the creation or redistribution of,
  3216  // unlawful or unlicensed copies of an Apple operating system, or to
  3217  // circumvent, violate, or enable the circumvention or violation of, any
  3218  // terms of an Apple operating system software license agreement.
  3219  //
  3220  // Please obtain a copy of the License at
  3221  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3222  //
  3223  // The Original Code and all software distributed under the License are
  3224  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3225  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3226  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3227  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3228  // Please see the License for the specific language governing rights and
  3229  // limitations under the License.
  3230  //
  3231  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3232  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3233  //
  3234  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3235  //
  3236  // This file contains Original Code and/or Modifications of Original Code
  3237  // as defined in and that are subject to the Apple Public Source License
  3238  // Version 2.0 (the 'License'). You may not use this file except in
  3239  // compliance with the License. The rights granted to you under the License
  3240  // may not be used to create, or enable the creation or redistribution of,
  3241  // unlawful or unlicensed copies of an Apple operating system, or to
  3242  // circumvent, violate, or enable the circumvention or violation of, any
  3243  // terms of an Apple operating system software license agreement.
  3244  //
  3245  // Please obtain a copy of the License at
  3246  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3247  //
  3248  // The Original Code and all software distributed under the License are
  3249  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3250  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3251  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3252  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3253  // Please see the License for the specific language governing rights and
  3254  // limitations under the License.
  3255  //
  3256  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3257  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3258  type rsize_t = uint64 /* _rsize_t.h:31:32 */
  3259  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3260  //
  3261  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3262  //
  3263  // This file contains Original Code and/or Modifications of Original Code
  3264  // as defined in and that are subject to the Apple Public Source License
  3265  // Version 2.0 (the 'License'). You may not use this file except in
  3266  // compliance with the License. The rights granted to you under the License
  3267  // may not be used to create, or enable the creation or redistribution of,
  3268  // unlawful or unlicensed copies of an Apple operating system, or to
  3269  // circumvent, violate, or enable the circumvention or violation of, any
  3270  // terms of an Apple operating system software license agreement.
  3271  //
  3272  // Please obtain a copy of the License at
  3273  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3274  //
  3275  // The Original Code and all software distributed under the License are
  3276  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3277  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3278  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3279  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3280  // Please see the License for the specific language governing rights and
  3281  // limitations under the License.
  3282  //
  3283  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3284  type errno_t = int32 /* _errno_t.h:30:32 */
  3285  
  3286  // This code is present here in order to maintain historical backward
  3287  // compatability, and is intended to be removed at some point in the
  3288  // future; please include <sys/select.h> instead.
  3289  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3290  //
  3291  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3292  //
  3293  // This file contains Original Code and/or Modifications of Original Code
  3294  // as defined in and that are subject to the Apple Public Source License
  3295  // Version 2.0 (the 'License'). You may not use this file except in
  3296  // compliance with the License. The rights granted to you under the License
  3297  // may not be used to create, or enable the creation or redistribution of,
  3298  // unlawful or unlicensed copies of an Apple operating system, or to
  3299  // circumvent, violate, or enable the circumvention or violation of, any
  3300  // terms of an Apple operating system software license agreement.
  3301  //
  3302  // Please obtain a copy of the License at
  3303  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3304  //
  3305  // The Original Code and all software distributed under the License are
  3306  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3307  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3308  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3309  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3310  // Please see the License for the specific language governing rights and
  3311  // limitations under the License.
  3312  //
  3313  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3314  
  3315  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3316  //
  3317  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3318  //
  3319  // This file contains Original Code and/or Modifications of Original Code
  3320  // as defined in and that are subject to the Apple Public Source License
  3321  // Version 2.0 (the 'License'). You may not use this file except in
  3322  // compliance with the License. The rights granted to you under the License
  3323  // may not be used to create, or enable the creation or redistribution of,
  3324  // unlawful or unlicensed copies of an Apple operating system, or to
  3325  // circumvent, violate, or enable the circumvention or violation of, any
  3326  // terms of an Apple operating system software license agreement.
  3327  //
  3328  // Please obtain a copy of the License at
  3329  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3330  //
  3331  // The Original Code and all software distributed under the License are
  3332  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3333  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3334  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3335  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3336  // Please see the License for the specific language governing rights and
  3337  // limitations under the License.
  3338  //
  3339  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3340  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3341  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3342  //
  3343  // @APPLE_LICENSE_HEADER_START@
  3344  //
  3345  // This file contains Original Code and/or Modifications of Original Code
  3346  // as defined in and that are subject to the Apple Public Source License
  3347  // Version 2.0 (the 'License'). You may not use this file except in
  3348  // compliance with the License. Please obtain a copy of the License at
  3349  // http://www.opensource.apple.com/apsl/ and read it before using this
  3350  // file.
  3351  //
  3352  // The Original Code and all software distributed under the License are
  3353  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3354  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3355  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3356  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3357  // Please see the License for the specific language governing rights and
  3358  // limitations under the License.
  3359  //
  3360  // @APPLE_LICENSE_HEADER_END@
  3361  
  3362  //
  3363  //     These macros are for use in OS header files. They enable function prototypes
  3364  //     and Objective-C methods to be tagged with the OS version in which they
  3365  //     were first available; and, if applicable, the OS version in which they
  3366  //     became deprecated.
  3367  //
  3368  //     The desktop Mac OS X and iOS each have different version numbers.
  3369  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  3370  //     and iOS version numbers.  For instance:
  3371  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  3372  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  3373  //     and first available in iOS 2.0 on the iPhone.
  3374  //
  3375  //     If a function is available on one platform, but not the other a _NA (not
  3376  //     applicable) parameter is used.  For instance:
  3377  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  3378  //     means that the function/method was first available on Mac OS X 10.3, and it
  3379  //     currently not implemented on the iPhone.
  3380  //
  3381  //     At some point, a function/method may be deprecated.  That means Apple
  3382  //     recommends applications stop using the function, either because there is a
  3383  //     better replacement or the functionality is being phased out.  Deprecated
  3384  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  3385  //     macro which specifies the OS version where the function became available
  3386  //     as well as the OS version in which it became deprecated.  For instance:
  3387  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  3388  //     means that the function/method was introduced in Mac OS X 10.0, then
  3389  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  3390  //     has never been available.
  3391  //
  3392  //     For these macros to function properly, a program must specify the OS version range
  3393  //     it is targeting.  The min OS version is specified as an option to the compiler:
  3394  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  3395  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  3396  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  3397  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  3398  //
  3399  //     Examples:
  3400  //
  3401  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  3402  //
  3403  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3404  //
  3405  //
  3406  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  3407  //
  3408  //             @interface MyClass : NSObject
  3409  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3410  //             @end
  3411  //
  3412  //
  3413  //         An enum available on the phone, but not available on Mac OS X:
  3414  //
  3415  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  3416  //                 enum { myEnum = 1 };
  3417  //             #endif
  3418  //            Note: this works when targeting the Mac OS X platform because
  3419  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  3420  //
  3421  //
  3422  //         An enum with values added in different iPhoneOS versions:
  3423  //
  3424  // 			enum {
  3425  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  3426  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  3427  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  3428  // 				...
  3429  // 		      Note: you do not want to use #if with enumeration values
  3430  // 			  when a client needs to see all values at compile time
  3431  // 			  and use runtime logic to only use the viable values.
  3432  //
  3433  //
  3434  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3435  //     source base that can be compiled to target a range of OS versions.  It is best
  3436  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3437  //     That is because you might get compiled on an old OS that does not define a later
  3438  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  3439  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  3440  //     way.
  3441  //
  3442  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3443  //             // code only compiled when targeting Mac OS X and not iPhone
  3444  //             // note use of 1050 instead of __MAC_10_5
  3445  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3446  //                 // code in here might run on pre-Leopard OS
  3447  //             #else
  3448  //                 // code here can assume Leopard or later
  3449  //             #endif
  3450  //         #endif
  3451  //
  3452  //
  3453  
  3454  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3455  // in an upcoming release. This soft deprecation is an intermediate step before formal
  3456  // deprecation to notify developers about the API before compiler warnings are generated.
  3457  // You can find all places in your code that use soft deprecated API by redefining the
  3458  // value of this macro to your current minimum deployment target, for example:
  3459  // (macOS)
  3460  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3461  // (iOS)
  3462  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3463  
  3464  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3465  
  3466  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3467  
  3468  //  DO NOT EDIT THIS FILE.
  3469  //
  3470  //     It has been auto-edited by fixincludes from:
  3471  //
  3472  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
  3473  //
  3474  //     This had to be done to correct non-standard usages in the
  3475  //     original, manufacturer supplied header file.
  3476  
  3477  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3478  //
  3479  // @APPLE_LICENSE_HEADER_START@
  3480  //
  3481  // This file contains Original Code and/or Modifications of Original Code
  3482  // as defined in and that are subject to the Apple Public Source License
  3483  // Version 2.0 (the 'License'). You may not use this file except in
  3484  // compliance with the License. Please obtain a copy of the License at
  3485  // http://www.opensource.apple.com/apsl/ and read it before using this
  3486  // file.
  3487  //
  3488  // The Original Code and all software distributed under the License are
  3489  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3490  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3491  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3492  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3493  // Please see the License for the specific language governing rights and
  3494  // limitations under the License.
  3495  //
  3496  // @APPLE_LICENSE_HEADER_END@
  3497  
  3498  //
  3499  //     File:       AvailabilityInternal.h
  3500  //
  3501  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3502  //
  3503  
  3504  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3505  
  3506  // make sure a default max version is set
  3507  
  3508  //
  3509  //  Macros for defining which versions/platform a given symbol can be used.
  3510  //
  3511  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3512  //
  3513  
  3514  // Evaluate to nothing for compilers that don't support availability.
  3515  
  3516  // Swift compiler version
  3517  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3518  // Example:
  3519  //
  3520  //  #if __swift_compiler_version_at_least(800, 2, 20)
  3521  //  - (nonnull NSString *)description;
  3522  //  #else
  3523  //  - (NSString *)description;
  3524  //  #endif
  3525  
  3526  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3527  
  3528  // for use to document app extension usage
  3529  
  3530  // for use marking APIs available info for Mac OSX
  3531  
  3532  // for use marking APIs available info for iOS
  3533  
  3534  // for use marking APIs available info for tvOS
  3535  
  3536  // for use marking APIs available info for Watch OS
  3537  
  3538  // for use marking APIs unavailable for swift
  3539  
  3540  //
  3541  //  Macros for defining which versions/platform a given symbol can be used.
  3542  //
  3543  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3544  //
  3545  //  * Note that these macros are only compatible with clang compilers that
  3546  //  * support the following target selection options:
  3547  //  *
  3548  //  * -mmacosx-version-min
  3549  //  * -miphoneos-version-min
  3550  //  * -mwatchos-version-min
  3551  //  * -mtvos-version-min
  3552  //
  3553  
  3554  // Evaluate to nothing for compilers that don't support availability.
  3555  
  3556  // If SPI decorations have not been defined elsewhere, disable them.
  3557  
  3558  // Select uses bit masks of file descriptors in longs.  These macros
  3559  // manipulate such bit fields (the filesystem macros use chars).  The
  3560  // extra protection here is to permit application redefinition above
  3561  // the default size.
  3562  
  3563  type fd_set1 = struct{ fds_bits [32]int32 } /* _fd_def.h:50:9 */
  3564  
  3565  // This code is present here in order to maintain historical backward
  3566  // compatability, and is intended to be removed at some point in the
  3567  // future; please include <sys/select.h> instead.
  3568  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3569  //
  3570  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3571  //
  3572  // This file contains Original Code and/or Modifications of Original Code
  3573  // as defined in and that are subject to the Apple Public Source License
  3574  // Version 2.0 (the 'License'). You may not use this file except in
  3575  // compliance with the License. The rights granted to you under the License
  3576  // may not be used to create, or enable the creation or redistribution of,
  3577  // unlawful or unlicensed copies of an Apple operating system, or to
  3578  // circumvent, violate, or enable the circumvention or violation of, any
  3579  // terms of an Apple operating system software license agreement.
  3580  //
  3581  // Please obtain a copy of the License at
  3582  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3583  //
  3584  // The Original Code and all software distributed under the License are
  3585  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3586  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3587  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3588  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3589  // Please see the License for the specific language governing rights and
  3590  // limitations under the License.
  3591  //
  3592  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3593  
  3594  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3595  //
  3596  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3597  //
  3598  // This file contains Original Code and/or Modifications of Original Code
  3599  // as defined in and that are subject to the Apple Public Source License
  3600  // Version 2.0 (the 'License'). You may not use this file except in
  3601  // compliance with the License. The rights granted to you under the License
  3602  // may not be used to create, or enable the creation or redistribution of,
  3603  // unlawful or unlicensed copies of an Apple operating system, or to
  3604  // circumvent, violate, or enable the circumvention or violation of, any
  3605  // terms of an Apple operating system software license agreement.
  3606  //
  3607  // Please obtain a copy of the License at
  3608  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3609  //
  3610  // The Original Code and all software distributed under the License are
  3611  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3612  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3613  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3614  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3615  // Please see the License for the specific language governing rights and
  3616  // limitations under the License.
  3617  //
  3618  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3619  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3620  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3621  //
  3622  // @APPLE_LICENSE_HEADER_START@
  3623  //
  3624  // This file contains Original Code and/or Modifications of Original Code
  3625  // as defined in and that are subject to the Apple Public Source License
  3626  // Version 2.0 (the 'License'). You may not use this file except in
  3627  // compliance with the License. Please obtain a copy of the License at
  3628  // http://www.opensource.apple.com/apsl/ and read it before using this
  3629  // file.
  3630  //
  3631  // The Original Code and all software distributed under the License are
  3632  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3633  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3634  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3635  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3636  // Please see the License for the specific language governing rights and
  3637  // limitations under the License.
  3638  //
  3639  // @APPLE_LICENSE_HEADER_END@
  3640  
  3641  //
  3642  //     These macros are for use in OS header files. They enable function prototypes
  3643  //     and Objective-C methods to be tagged with the OS version in which they
  3644  //     were first available; and, if applicable, the OS version in which they
  3645  //     became deprecated.
  3646  //
  3647  //     The desktop Mac OS X and iOS each have different version numbers.
  3648  //     The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  3649  //     and iOS version numbers.  For instance:
  3650  //         __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  3651  //     means the function/method was first available on Mac OS X 10.2 on the desktop
  3652  //     and first available in iOS 2.0 on the iPhone.
  3653  //
  3654  //     If a function is available on one platform, but not the other a _NA (not
  3655  //     applicable) parameter is used.  For instance:
  3656  //             __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  3657  //     means that the function/method was first available on Mac OS X 10.3, and it
  3658  //     currently not implemented on the iPhone.
  3659  //
  3660  //     At some point, a function/method may be deprecated.  That means Apple
  3661  //     recommends applications stop using the function, either because there is a
  3662  //     better replacement or the functionality is being phased out.  Deprecated
  3663  //     functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  3664  //     macro which specifies the OS version where the function became available
  3665  //     as well as the OS version in which it became deprecated.  For instance:
  3666  //         __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  3667  //     means that the function/method was introduced in Mac OS X 10.0, then
  3668  //     became deprecated beginning in Mac OS X 10.5.  On iOS the function
  3669  //     has never been available.
  3670  //
  3671  //     For these macros to function properly, a program must specify the OS version range
  3672  //     it is targeting.  The min OS version is specified as an option to the compiler:
  3673  //     -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  3674  //     when building for the iPhone.  The upper bound for the OS version is rarely needed,
  3675  //     but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  3676  //     Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  3677  //
  3678  //     Examples:
  3679  //
  3680  //         A function available in Mac OS X 10.5 and later, but not on the phone:
  3681  //
  3682  //             extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3683  //
  3684  //
  3685  //         An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  3686  //
  3687  //             @interface MyClass : NSObject
  3688  //             -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3689  //             @end
  3690  //
  3691  //
  3692  //         An enum available on the phone, but not available on Mac OS X:
  3693  //
  3694  //             #if __IPHONE_OS_VERSION_MIN_REQUIRED
  3695  //                 enum { myEnum = 1 };
  3696  //             #endif
  3697  //            Note: this works when targeting the Mac OS X platform because
  3698  //            __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  3699  //
  3700  //
  3701  //         An enum with values added in different iPhoneOS versions:
  3702  //
  3703  // 			enum {
  3704  // 			    myX  = 1,	// Usable on iPhoneOS 2.1 and later
  3705  // 			    myY  = 2,	// Usable on iPhoneOS 3.0 and later
  3706  // 			    myZ  = 3,	// Usable on iPhoneOS 3.0 and later
  3707  // 				...
  3708  // 		      Note: you do not want to use #if with enumeration values
  3709  // 			  when a client needs to see all values at compile time
  3710  // 			  and use runtime logic to only use the viable values.
  3711  //
  3712  //
  3713  //     It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3714  //     source base that can be compiled to target a range of OS versions.  It is best
  3715  //     to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3716  //     That is because you might get compiled on an old OS that does not define a later
  3717  //     OS version macro, and in the C preprocessor undefined values evaluate to zero
  3718  //     in expresssions, which could cause the #if expression to evaluate in an unexpected
  3719  //     way.
  3720  //
  3721  //         #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3722  //             // code only compiled when targeting Mac OS X and not iPhone
  3723  //             // note use of 1050 instead of __MAC_10_5
  3724  //             #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3725  //                 // code in here might run on pre-Leopard OS
  3726  //             #else
  3727  //                 // code here can assume Leopard or later
  3728  //             #endif
  3729  //         #endif
  3730  //
  3731  //
  3732  
  3733  // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3734  // in an upcoming release. This soft deprecation is an intermediate step before formal
  3735  // deprecation to notify developers about the API before compiler warnings are generated.
  3736  // You can find all places in your code that use soft deprecated API by redefining the
  3737  // value of this macro to your current minimum deployment target, for example:
  3738  // (macOS)
  3739  //   clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3740  // (iOS)
  3741  //   clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3742  
  3743  // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3744  
  3745  // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  3746  
  3747  //  DO NOT EDIT THIS FILE.
  3748  //
  3749  //     It has been auto-edited by fixincludes from:
  3750  //
  3751  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
  3752  //
  3753  //     This had to be done to correct non-standard usages in the
  3754  //     original, manufacturer supplied header file.
  3755  
  3756  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3757  //
  3758  // @APPLE_LICENSE_HEADER_START@
  3759  //
  3760  // This file contains Original Code and/or Modifications of Original Code
  3761  // as defined in and that are subject to the Apple Public Source License
  3762  // Version 2.0 (the 'License'). You may not use this file except in
  3763  // compliance with the License. Please obtain a copy of the License at
  3764  // http://www.opensource.apple.com/apsl/ and read it before using this
  3765  // file.
  3766  //
  3767  // The Original Code and all software distributed under the License are
  3768  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3769  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3770  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3771  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3772  // Please see the License for the specific language governing rights and
  3773  // limitations under the License.
  3774  //
  3775  // @APPLE_LICENSE_HEADER_END@
  3776  
  3777  //
  3778  //     File:       AvailabilityInternal.h
  3779  //
  3780  //     Contains:   implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3781  //
  3782  
  3783  // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3784  
  3785  // make sure a default max version is set
  3786  
  3787  //
  3788  //  Macros for defining which versions/platform a given symbol can be used.
  3789  //
  3790  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3791  //
  3792  
  3793  // Evaluate to nothing for compilers that don't support availability.
  3794  
  3795  // Swift compiler version
  3796  // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3797  // Example:
  3798  //
  3799  //  #if __swift_compiler_version_at_least(800, 2, 20)
  3800  //  - (nonnull NSString *)description;
  3801  //  #else
  3802  //  - (NSString *)description;
  3803  //  #endif
  3804  
  3805  // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3806  
  3807  // for use to document app extension usage
  3808  
  3809  // for use marking APIs available info for Mac OSX
  3810  
  3811  // for use marking APIs available info for iOS
  3812  
  3813  // for use marking APIs available info for tvOS
  3814  
  3815  // for use marking APIs available info for Watch OS
  3816  
  3817  // for use marking APIs unavailable for swift
  3818  
  3819  //
  3820  //  Macros for defining which versions/platform a given symbol can be used.
  3821  //
  3822  //  @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3823  //
  3824  //  * Note that these macros are only compatible with clang compilers that
  3825  //  * support the following target selection options:
  3826  //  *
  3827  //  * -mmacosx-version-min
  3828  //  * -miphoneos-version-min
  3829  //  * -mwatchos-version-min
  3830  //  * -mtvos-version-min
  3831  //
  3832  
  3833  // Evaluate to nothing for compilers that don't support availability.
  3834  
  3835  // If SPI decorations have not been defined elsewhere, disable them.
  3836  
  3837  // Select uses bit masks of file descriptors in longs.  These macros
  3838  // manipulate such bit fields (the filesystem macros use chars).  The
  3839  // extra protection here is to permit application redefinition above
  3840  // the default size.
  3841  
  3842  type fd_set = fd_set1 /* _fd_def.h:52:3 */
  3843  
  3844  // Use the built-in bzero function instead of the library version so that
  3845  // we do not pollute the namespace or introduce prototype warnings.
  3846  
  3847  type fd_mask = int32 /* types.h:189:25 */
  3848  
  3849  // Select uses bit masks of file descriptors in longs.  These macros
  3850  // manipulate such bit fields (the filesystem macros use chars).  The
  3851  // extra protection here is to permit application redefinition above
  3852  // the default size.
  3853  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3854  //
  3855  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3856  //
  3857  // This file contains Original Code and/or Modifications of Original Code
  3858  // as defined in and that are subject to the Apple Public Source License
  3859  // Version 2.0 (the 'License'). You may not use this file except in
  3860  // compliance with the License. The rights granted to you under the License
  3861  // may not be used to create, or enable the creation or redistribution of,
  3862  // unlawful or unlicensed copies of an Apple operating system, or to
  3863  // circumvent, violate, or enable the circumvention or violation of, any
  3864  // terms of an Apple operating system software license agreement.
  3865  //
  3866  // Please obtain a copy of the License at
  3867  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3868  //
  3869  // The Original Code and all software distributed under the License are
  3870  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3871  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3872  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3873  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3874  // Please see the License for the specific language governing rights and
  3875  // limitations under the License.
  3876  //
  3877  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3878  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3879  //
  3880  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3881  //
  3882  // This file contains Original Code and/or Modifications of Original Code
  3883  // as defined in and that are subject to the Apple Public Source License
  3884  // Version 2.0 (the 'License'). You may not use this file except in
  3885  // compliance with the License. The rights granted to you under the License
  3886  // may not be used to create, or enable the creation or redistribution of,
  3887  // unlawful or unlicensed copies of an Apple operating system, or to
  3888  // circumvent, violate, or enable the circumvention or violation of, any
  3889  // terms of an Apple operating system software license agreement.
  3890  //
  3891  // Please obtain a copy of the License at
  3892  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3893  //
  3894  // The Original Code and all software distributed under the License are
  3895  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3896  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3897  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3898  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3899  // Please see the License for the specific language governing rights and
  3900  // limitations under the License.
  3901  //
  3902  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3903  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3904  //
  3905  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3906  //
  3907  // This file contains Original Code and/or Modifications of Original Code
  3908  // as defined in and that are subject to the Apple Public Source License
  3909  // Version 2.0 (the 'License'). You may not use this file except in
  3910  // compliance with the License. The rights granted to you under the License
  3911  // may not be used to create, or enable the creation or redistribution of,
  3912  // unlawful or unlicensed copies of an Apple operating system, or to
  3913  // circumvent, violate, or enable the circumvention or violation of, any
  3914  // terms of an Apple operating system software license agreement.
  3915  //
  3916  // Please obtain a copy of the License at
  3917  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3918  //
  3919  // The Original Code and all software distributed under the License are
  3920  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3921  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3922  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3923  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3924  // Please see the License for the specific language governing rights and
  3925  // limitations under the License.
  3926  //
  3927  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3928  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3929  //
  3930  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3931  //
  3932  // This file contains Original Code and/or Modifications of Original Code
  3933  // as defined in and that are subject to the Apple Public Source License
  3934  // Version 2.0 (the 'License'). You may not use this file except in
  3935  // compliance with the License. The rights granted to you under the License
  3936  // may not be used to create, or enable the creation or redistribution of,
  3937  // unlawful or unlicensed copies of an Apple operating system, or to
  3938  // circumvent, violate, or enable the circumvention or violation of, any
  3939  // terms of an Apple operating system software license agreement.
  3940  //
  3941  // Please obtain a copy of the License at
  3942  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3943  //
  3944  // The Original Code and all software distributed under the License are
  3945  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3946  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3947  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3948  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3949  // Please see the License for the specific language governing rights and
  3950  // limitations under the License.
  3951  //
  3952  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3953  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3954  //
  3955  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3956  //
  3957  // This file contains Original Code and/or Modifications of Original Code
  3958  // as defined in and that are subject to the Apple Public Source License
  3959  // Version 2.0 (the 'License'). You may not use this file except in
  3960  // compliance with the License. The rights granted to you under the License
  3961  // may not be used to create, or enable the creation or redistribution of,
  3962  // unlawful or unlicensed copies of an Apple operating system, or to
  3963  // circumvent, violate, or enable the circumvention or violation of, any
  3964  // terms of an Apple operating system software license agreement.
  3965  //
  3966  // Please obtain a copy of the License at
  3967  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3968  //
  3969  // The Original Code and all software distributed under the License are
  3970  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3971  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3972  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3973  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3974  // Please see the License for the specific language governing rights and
  3975  // limitations under the License.
  3976  //
  3977  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3978  
  3979  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3980  //
  3981  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3982  //
  3983  // This file contains Original Code and/or Modifications of Original Code
  3984  // as defined in and that are subject to the Apple Public Source License
  3985  // Version 2.0 (the 'License'). You may not use this file except in
  3986  // compliance with the License. The rights granted to you under the License
  3987  // may not be used to create, or enable the creation or redistribution of,
  3988  // unlawful or unlicensed copies of an Apple operating system, or to
  3989  // circumvent, violate, or enable the circumvention or violation of, any
  3990  // terms of an Apple operating system software license agreement.
  3991  //
  3992  // Please obtain a copy of the License at
  3993  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3994  //
  3995  // The Original Code and all software distributed under the License are
  3996  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3997  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3998  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3999  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4000  // Please see the License for the specific language governing rights and
  4001  // limitations under the License.
  4002  //
  4003  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4004  
  4005  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4006  //
  4007  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4008  //
  4009  // This file contains Original Code and/or Modifications of Original Code
  4010  // as defined in and that are subject to the Apple Public Source License
  4011  // Version 2.0 (the 'License'). You may not use this file except in
  4012  // compliance with the License. The rights granted to you under the License
  4013  // may not be used to create, or enable the creation or redistribution of,
  4014  // unlawful or unlicensed copies of an Apple operating system, or to
  4015  // circumvent, violate, or enable the circumvention or violation of, any
  4016  // terms of an Apple operating system software license agreement.
  4017  //
  4018  // Please obtain a copy of the License at
  4019  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4020  //
  4021  // The Original Code and all software distributed under the License are
  4022  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4023  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4024  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4025  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4026  // Please see the License for the specific language governing rights and
  4027  // limitations under the License.
  4028  //
  4029  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4030  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4031  //
  4032  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4033  //
  4034  // This file contains Original Code and/or Modifications of Original Code
  4035  // as defined in and that are subject to the Apple Public Source License
  4036  // Version 2.0 (the 'License'). You may not use this file except in
  4037  // compliance with the License. The rights granted to you under the License
  4038  // may not be used to create, or enable the creation or redistribution of,
  4039  // unlawful or unlicensed copies of an Apple operating system, or to
  4040  // circumvent, violate, or enable the circumvention or violation of, any
  4041  // terms of an Apple operating system software license agreement.
  4042  //
  4043  // Please obtain a copy of the License at
  4044  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4045  //
  4046  // The Original Code and all software distributed under the License are
  4047  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4048  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4049  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4050  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4051  // Please see the License for the specific language governing rights and
  4052  // limitations under the License.
  4053  //
  4054  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4055  
  4056  type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  4057  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4058  //
  4059  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4060  //
  4061  // This file contains Original Code and/or Modifications of Original Code
  4062  // as defined in and that are subject to the Apple Public Source License
  4063  // Version 2.0 (the 'License'). You may not use this file except in
  4064  // compliance with the License. The rights granted to you under the License
  4065  // may not be used to create, or enable the creation or redistribution of,
  4066  // unlawful or unlicensed copies of an Apple operating system, or to
  4067  // circumvent, violate, or enable the circumvention or violation of, any
  4068  // terms of an Apple operating system software license agreement.
  4069  //
  4070  // Please obtain a copy of the License at
  4071  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4072  //
  4073  // The Original Code and all software distributed under the License are
  4074  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4075  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4076  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4077  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4078  // Please see the License for the specific language governing rights and
  4079  // limitations under the License.
  4080  //
  4081  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4082  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4083  //
  4084  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4085  //
  4086  // This file contains Original Code and/or Modifications of Original Code
  4087  // as defined in and that are subject to the Apple Public Source License
  4088  // Version 2.0 (the 'License'). You may not use this file except in
  4089  // compliance with the License. The rights granted to you under the License
  4090  // may not be used to create, or enable the creation or redistribution of,
  4091  // unlawful or unlicensed copies of an Apple operating system, or to
  4092  // circumvent, violate, or enable the circumvention or violation of, any
  4093  // terms of an Apple operating system software license agreement.
  4094  //
  4095  // Please obtain a copy of the License at
  4096  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4097  //
  4098  // The Original Code and all software distributed under the License are
  4099  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4100  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4101  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4102  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4103  // Please see the License for the specific language governing rights and
  4104  // limitations under the License.
  4105  //
  4106  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4107  
  4108  type pthread_cond_t = _opaque_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  4109  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4110  //
  4111  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4112  //
  4113  // This file contains Original Code and/or Modifications of Original Code
  4114  // as defined in and that are subject to the Apple Public Source License
  4115  // Version 2.0 (the 'License'). You may not use this file except in
  4116  // compliance with the License. The rights granted to you under the License
  4117  // may not be used to create, or enable the creation or redistribution of,
  4118  // unlawful or unlicensed copies of an Apple operating system, or to
  4119  // circumvent, violate, or enable the circumvention or violation of, any
  4120  // terms of an Apple operating system software license agreement.
  4121  //
  4122  // Please obtain a copy of the License at
  4123  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4124  //
  4125  // The Original Code and all software distributed under the License are
  4126  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4127  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4128  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4129  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4130  // Please see the License for the specific language governing rights and
  4131  // limitations under the License.
  4132  //
  4133  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4134  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4135  //
  4136  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4137  //
  4138  // This file contains Original Code and/or Modifications of Original Code
  4139  // as defined in and that are subject to the Apple Public Source License
  4140  // Version 2.0 (the 'License'). You may not use this file except in
  4141  // compliance with the License. The rights granted to you under the License
  4142  // may not be used to create, or enable the creation or redistribution of,
  4143  // unlawful or unlicensed copies of an Apple operating system, or to
  4144  // circumvent, violate, or enable the circumvention or violation of, any
  4145  // terms of an Apple operating system software license agreement.
  4146  //
  4147  // Please obtain a copy of the License at
  4148  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4149  //
  4150  // The Original Code and all software distributed under the License are
  4151  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4152  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4153  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4154  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4155  // Please see the License for the specific language governing rights and
  4156  // limitations under the License.
  4157  //
  4158  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4159  
  4160  type pthread_condattr_t = _opaque_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  4161  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4162  //
  4163  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4164  //
  4165  // This file contains Original Code and/or Modifications of Original Code
  4166  // as defined in and that are subject to the Apple Public Source License
  4167  // Version 2.0 (the 'License'). You may not use this file except in
  4168  // compliance with the License. The rights granted to you under the License
  4169  // may not be used to create, or enable the creation or redistribution of,
  4170  // unlawful or unlicensed copies of an Apple operating system, or to
  4171  // circumvent, violate, or enable the circumvention or violation of, any
  4172  // terms of an Apple operating system software license agreement.
  4173  //
  4174  // Please obtain a copy of the License at
  4175  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4176  //
  4177  // The Original Code and all software distributed under the License are
  4178  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4179  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4180  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4181  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4182  // Please see the License for the specific language governing rights and
  4183  // limitations under the License.
  4184  //
  4185  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4186  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4187  //
  4188  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4189  //
  4190  // This file contains Original Code and/or Modifications of Original Code
  4191  // as defined in and that are subject to the Apple Public Source License
  4192  // Version 2.0 (the 'License'). You may not use this file except in
  4193  // compliance with the License. The rights granted to you under the License
  4194  // may not be used to create, or enable the creation or redistribution of,
  4195  // unlawful or unlicensed copies of an Apple operating system, or to
  4196  // circumvent, violate, or enable the circumvention or violation of, any
  4197  // terms of an Apple operating system software license agreement.
  4198  //
  4199  // Please obtain a copy of the License at
  4200  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4201  //
  4202  // The Original Code and all software distributed under the License are
  4203  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4204  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4205  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4206  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4207  // Please see the License for the specific language governing rights and
  4208  // limitations under the License.
  4209  //
  4210  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4211  
  4212  type pthread_mutex_t = _opaque_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  4213  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4214  //
  4215  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4216  //
  4217  // This file contains Original Code and/or Modifications of Original Code
  4218  // as defined in and that are subject to the Apple Public Source License
  4219  // Version 2.0 (the 'License'). You may not use this file except in
  4220  // compliance with the License. The rights granted to you under the License
  4221  // may not be used to create, or enable the creation or redistribution of,
  4222  // unlawful or unlicensed copies of an Apple operating system, or to
  4223  // circumvent, violate, or enable the circumvention or violation of, any
  4224  // terms of an Apple operating system software license agreement.
  4225  //
  4226  // Please obtain a copy of the License at
  4227  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4228  //
  4229  // The Original Code and all software distributed under the License are
  4230  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4231  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4232  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4233  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4234  // Please see the License for the specific language governing rights and
  4235  // limitations under the License.
  4236  //
  4237  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4238  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4239  //
  4240  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4241  //
  4242  // This file contains Original Code and/or Modifications of Original Code
  4243  // as defined in and that are subject to the Apple Public Source License
  4244  // Version 2.0 (the 'License'). You may not use this file except in
  4245  // compliance with the License. The rights granted to you under the License
  4246  // may not be used to create, or enable the creation or redistribution of,
  4247  // unlawful or unlicensed copies of an Apple operating system, or to
  4248  // circumvent, violate, or enable the circumvention or violation of, any
  4249  // terms of an Apple operating system software license agreement.
  4250  //
  4251  // Please obtain a copy of the License at
  4252  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4253  //
  4254  // The Original Code and all software distributed under the License are
  4255  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4256  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4257  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4258  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4259  // Please see the License for the specific language governing rights and
  4260  // limitations under the License.
  4261  //
  4262  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4263  
  4264  type pthread_mutexattr_t = _opaque_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  4265  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4266  //
  4267  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4268  //
  4269  // This file contains Original Code and/or Modifications of Original Code
  4270  // as defined in and that are subject to the Apple Public Source License
  4271  // Version 2.0 (the 'License'). You may not use this file except in
  4272  // compliance with the License. The rights granted to you under the License
  4273  // may not be used to create, or enable the creation or redistribution of,
  4274  // unlawful or unlicensed copies of an Apple operating system, or to
  4275  // circumvent, violate, or enable the circumvention or violation of, any
  4276  // terms of an Apple operating system software license agreement.
  4277  //
  4278  // Please obtain a copy of the License at
  4279  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4280  //
  4281  // The Original Code and all software distributed under the License are
  4282  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4283  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4284  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4285  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4286  // Please see the License for the specific language governing rights and
  4287  // limitations under the License.
  4288  //
  4289  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4290  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4291  //
  4292  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4293  //
  4294  // This file contains Original Code and/or Modifications of Original Code
  4295  // as defined in and that are subject to the Apple Public Source License
  4296  // Version 2.0 (the 'License'). You may not use this file except in
  4297  // compliance with the License. The rights granted to you under the License
  4298  // may not be used to create, or enable the creation or redistribution of,
  4299  // unlawful or unlicensed copies of an Apple operating system, or to
  4300  // circumvent, violate, or enable the circumvention or violation of, any
  4301  // terms of an Apple operating system software license agreement.
  4302  //
  4303  // Please obtain a copy of the License at
  4304  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4305  //
  4306  // The Original Code and all software distributed under the License are
  4307  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4308  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4309  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4310  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4311  // Please see the License for the specific language governing rights and
  4312  // limitations under the License.
  4313  //
  4314  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4315  
  4316  type pthread_once_t = _opaque_pthread_once_t /* _pthread_once_t.h:31:33 */
  4317  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4318  //
  4319  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4320  //
  4321  // This file contains Original Code and/or Modifications of Original Code
  4322  // as defined in and that are subject to the Apple Public Source License
  4323  // Version 2.0 (the 'License'). You may not use this file except in
  4324  // compliance with the License. The rights granted to you under the License
  4325  // may not be used to create, or enable the creation or redistribution of,
  4326  // unlawful or unlicensed copies of an Apple operating system, or to
  4327  // circumvent, violate, or enable the circumvention or violation of, any
  4328  // terms of an Apple operating system software license agreement.
  4329  //
  4330  // Please obtain a copy of the License at
  4331  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4332  //
  4333  // The Original Code and all software distributed under the License are
  4334  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4335  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4336  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4337  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4338  // Please see the License for the specific language governing rights and
  4339  // limitations under the License.
  4340  //
  4341  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4342  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4343  //
  4344  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4345  //
  4346  // This file contains Original Code and/or Modifications of Original Code
  4347  // as defined in and that are subject to the Apple Public Source License
  4348  // Version 2.0 (the 'License'). You may not use this file except in
  4349  // compliance with the License. The rights granted to you under the License
  4350  // may not be used to create, or enable the creation or redistribution of,
  4351  // unlawful or unlicensed copies of an Apple operating system, or to
  4352  // circumvent, violate, or enable the circumvention or violation of, any
  4353  // terms of an Apple operating system software license agreement.
  4354  //
  4355  // Please obtain a copy of the License at
  4356  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4357  //
  4358  // The Original Code and all software distributed under the License are
  4359  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4360  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4361  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4362  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4363  // Please see the License for the specific language governing rights and
  4364  // limitations under the License.
  4365  //
  4366  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4367  
  4368  type pthread_rwlock_t = _opaque_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  4369  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4370  //
  4371  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4372  //
  4373  // This file contains Original Code and/or Modifications of Original Code
  4374  // as defined in and that are subject to the Apple Public Source License
  4375  // Version 2.0 (the 'License'). You may not use this file except in
  4376  // compliance with the License. The rights granted to you under the License
  4377  // may not be used to create, or enable the creation or redistribution of,
  4378  // unlawful or unlicensed copies of an Apple operating system, or to
  4379  // circumvent, violate, or enable the circumvention or violation of, any
  4380  // terms of an Apple operating system software license agreement.
  4381  //
  4382  // Please obtain a copy of the License at
  4383  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4384  //
  4385  // The Original Code and all software distributed under the License are
  4386  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4387  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4388  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4389  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4390  // Please see the License for the specific language governing rights and
  4391  // limitations under the License.
  4392  //
  4393  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4394  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4395  //
  4396  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4397  //
  4398  // This file contains Original Code and/or Modifications of Original Code
  4399  // as defined in and that are subject to the Apple Public Source License
  4400  // Version 2.0 (the 'License'). You may not use this file except in
  4401  // compliance with the License. The rights granted to you under the License
  4402  // may not be used to create, or enable the creation or redistribution of,
  4403  // unlawful or unlicensed copies of an Apple operating system, or to
  4404  // circumvent, violate, or enable the circumvention or violation of, any
  4405  // terms of an Apple operating system software license agreement.
  4406  //
  4407  // Please obtain a copy of the License at
  4408  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4409  //
  4410  // The Original Code and all software distributed under the License are
  4411  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4412  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4413  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4414  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4415  // Please see the License for the specific language governing rights and
  4416  // limitations under the License.
  4417  //
  4418  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4419  
  4420  type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  4421  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4422  //
  4423  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4424  //
  4425  // This file contains Original Code and/or Modifications of Original Code
  4426  // as defined in and that are subject to the Apple Public Source License
  4427  // Version 2.0 (the 'License'). You may not use this file except in
  4428  // compliance with the License. The rights granted to you under the License
  4429  // may not be used to create, or enable the creation or redistribution of,
  4430  // unlawful or unlicensed copies of an Apple operating system, or to
  4431  // circumvent, violate, or enable the circumvention or violation of, any
  4432  // terms of an Apple operating system software license agreement.
  4433  //
  4434  // Please obtain a copy of the License at
  4435  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4436  //
  4437  // The Original Code and all software distributed under the License are
  4438  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4439  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4440  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4441  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4442  // Please see the License for the specific language governing rights and
  4443  // limitations under the License.
  4444  //
  4445  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4446  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4447  //
  4448  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4449  //
  4450  // This file contains Original Code and/or Modifications of Original Code
  4451  // as defined in and that are subject to the Apple Public Source License
  4452  // Version 2.0 (the 'License'). You may not use this file except in
  4453  // compliance with the License. The rights granted to you under the License
  4454  // may not be used to create, or enable the creation or redistribution of,
  4455  // unlawful or unlicensed copies of an Apple operating system, or to
  4456  // circumvent, violate, or enable the circumvention or violation of, any
  4457  // terms of an Apple operating system software license agreement.
  4458  //
  4459  // Please obtain a copy of the License at
  4460  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4461  //
  4462  // The Original Code and all software distributed under the License are
  4463  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4464  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4465  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4466  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4467  // Please see the License for the specific language governing rights and
  4468  // limitations under the License.
  4469  //
  4470  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4471  
  4472  type pthread_t = uintptr /* _pthread_t.h:31:28 */
  4473  
  4474  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4475  //
  4476  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4477  //
  4478  // This file contains Original Code and/or Modifications of Original Code
  4479  // as defined in and that are subject to the Apple Public Source License
  4480  // Version 2.0 (the 'License'). You may not use this file except in
  4481  // compliance with the License. The rights granted to you under the License
  4482  // may not be used to create, or enable the creation or redistribution of,
  4483  // unlawful or unlicensed copies of an Apple operating system, or to
  4484  // circumvent, violate, or enable the circumvention or violation of, any
  4485  // terms of an Apple operating system software license agreement.
  4486  //
  4487  // Please obtain a copy of the License at
  4488  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4489  //
  4490  // The Original Code and all software distributed under the License are
  4491  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4492  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4493  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4494  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4495  // Please see the License for the specific language governing rights and
  4496  // limitations under the License.
  4497  //
  4498  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4499  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4500  //
  4501  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4502  //
  4503  // This file contains Original Code and/or Modifications of Original Code
  4504  // as defined in and that are subject to the Apple Public Source License
  4505  // Version 2.0 (the 'License'). You may not use this file except in
  4506  // compliance with the License. The rights granted to you under the License
  4507  // may not be used to create, or enable the creation or redistribution of,
  4508  // unlawful or unlicensed copies of an Apple operating system, or to
  4509  // circumvent, violate, or enable the circumvention or violation of, any
  4510  // terms of an Apple operating system software license agreement.
  4511  //
  4512  // Please obtain a copy of the License at
  4513  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4514  //
  4515  // The Original Code and all software distributed under the License are
  4516  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4517  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4518  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4519  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4520  // Please see the License for the specific language governing rights and
  4521  // limitations under the License.
  4522  //
  4523  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4524  
  4525  type pthread_key_t = uint64 /* _pthread_key_t.h:31:32 */
  4526  
  4527  // statvfs and fstatvfs
  4528  
  4529  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4530  //
  4531  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4532  //
  4533  // This file contains Original Code and/or Modifications of Original Code
  4534  // as defined in and that are subject to the Apple Public Source License
  4535  // Version 2.0 (the 'License'). You may not use this file except in
  4536  // compliance with the License. The rights granted to you under the License
  4537  // may not be used to create, or enable the creation or redistribution of,
  4538  // unlawful or unlicensed copies of an Apple operating system, or to
  4539  // circumvent, violate, or enable the circumvention or violation of, any
  4540  // terms of an Apple operating system software license agreement.
  4541  //
  4542  // Please obtain a copy of the License at
  4543  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4544  //
  4545  // The Original Code and all software distributed under the License are
  4546  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4547  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4548  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4549  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4550  // Please see the License for the specific language governing rights and
  4551  // limitations under the License.
  4552  //
  4553  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4554  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4555  //
  4556  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4557  //
  4558  // This file contains Original Code and/or Modifications of Original Code
  4559  // as defined in and that are subject to the Apple Public Source License
  4560  // Version 2.0 (the 'License'). You may not use this file except in
  4561  // compliance with the License. The rights granted to you under the License
  4562  // may not be used to create, or enable the creation or redistribution of,
  4563  // unlawful or unlicensed copies of an Apple operating system, or to
  4564  // circumvent, violate, or enable the circumvention or violation of, any
  4565  // terms of an Apple operating system software license agreement.
  4566  //
  4567  // Please obtain a copy of the License at
  4568  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4569  //
  4570  // The Original Code and all software distributed under the License are
  4571  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4572  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4573  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4574  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4575  // Please see the License for the specific language governing rights and
  4576  // limitations under the License.
  4577  //
  4578  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4579  
  4580  type fsblkcnt_t = uint32 /* _fsblkcnt_t.h:31:41 */
  4581  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4582  //
  4583  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4584  //
  4585  // This file contains Original Code and/or Modifications of Original Code
  4586  // as defined in and that are subject to the Apple Public Source License
  4587  // Version 2.0 (the 'License'). You may not use this file except in
  4588  // compliance with the License. The rights granted to you under the License
  4589  // may not be used to create, or enable the creation or redistribution of,
  4590  // unlawful or unlicensed copies of an Apple operating system, or to
  4591  // circumvent, violate, or enable the circumvention or violation of, any
  4592  // terms of an Apple operating system software license agreement.
  4593  //
  4594  // Please obtain a copy of the License at
  4595  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4596  //
  4597  // The Original Code and all software distributed under the License are
  4598  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4599  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4600  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4601  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4602  // Please see the License for the specific language governing rights and
  4603  // limitations under the License.
  4604  //
  4605  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4606  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4607  //
  4608  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4609  //
  4610  // This file contains Original Code and/or Modifications of Original Code
  4611  // as defined in and that are subject to the Apple Public Source License
  4612  // Version 2.0 (the 'License'). You may not use this file except in
  4613  // compliance with the License. The rights granted to you under the License
  4614  // may not be used to create, or enable the creation or redistribution of,
  4615  // unlawful or unlicensed copies of an Apple operating system, or to
  4616  // circumvent, violate, or enable the circumvention or violation of, any
  4617  // terms of an Apple operating system software license agreement.
  4618  //
  4619  // Please obtain a copy of the License at
  4620  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4621  //
  4622  // The Original Code and all software distributed under the License are
  4623  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4624  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4625  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4626  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4627  // Please see the License for the specific language governing rights and
  4628  // limitations under the License.
  4629  //
  4630  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4631  
  4632  type fsfilcnt_t = uint32 /* _fsfilcnt_t.h:31:41 */
  4633  
  4634  // Define the standard macros for the user,
  4635  //    if this invocation was from the user program.
  4636  
  4637  // Define va_list, if desired, from __gnuc_va_list.
  4638  // We deliberately do not define va_list when called from
  4639  //    stdio.h, because ANSI C says that stdio.h is not supposed to define
  4640  //    va_list.  stdio.h needs to have access to that data type,
  4641  //    but must not use that name.  It should use the name __gnuc_va_list,
  4642  //    which is safe because it is reserved for the implementation.
  4643  
  4644  // The macro _VA_LIST_ is the same thing used by this file in Ultrix.
  4645  //    But on BSD NET2 we must not test or define or undef it.
  4646  //    (Note that the comments in NET 2's ansi.h
  4647  //    are incorrect for _VA_LIST_--see stdio.h!)
  4648  // The macro _VA_LIST_DEFINED is used in Windows NT 3.5
  4649  // The macro _VA_LIST is used in SCO Unix 3.2.
  4650  // The macro _VA_LIST_T_H is used in the Bull dpx2
  4651  // The macro __va_list__ is used by BeOS.
  4652  type va_list = uintptr /* stdarg.h:99:24 */
  4653  
  4654  // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
  4655  //
  4656  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4657  //
  4658  // This file contains Original Code and/or Modifications of Original Code
  4659  // as defined in and that are subject to the Apple Public Source License
  4660  // Version 2.0 (the 'License'). You may not use this file except in
  4661  // compliance with the License. The rights granted to you under the License
  4662  // may not be used to create, or enable the creation or redistribution of,
  4663  // unlawful or unlicensed copies of an Apple operating system, or to
  4664  // circumvent, violate, or enable the circumvention or violation of, any
  4665  // terms of an Apple operating system software license agreement.
  4666  //
  4667  // Please obtain a copy of the License at
  4668  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4669  //
  4670  // The Original Code and all software distributed under the License are
  4671  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4672  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4673  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4674  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4675  // Please see the License for the specific language governing rights and
  4676  // limitations under the License.
  4677  //
  4678  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4679  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  4680  // Copyright (c) 1989, 1993
  4681  //	The Regents of the University of California.  All rights reserved.
  4682  //
  4683  // Redistribution and use in source and binary forms, with or without
  4684  // modification, are permitted provided that the following conditions
  4685  // are met:
  4686  // 1. Redistributions of source code must retain the above copyright
  4687  //    notice, this list of conditions and the following disclaimer.
  4688  // 2. Redistributions in binary form must reproduce the above copyright
  4689  //    notice, this list of conditions and the following disclaimer in the
  4690  //    documentation and/or other materials provided with the distribution.
  4691  // 3. All advertising materials mentioning features or use of this software
  4692  //    must display the following acknowledgement:
  4693  //	This product includes software developed by the University of
  4694  //	California, Berkeley and its contributors.
  4695  // 4. Neither the name of the University nor the names of its contributors
  4696  //    may be used to endorse or promote products derived from this software
  4697  //    without specific prior written permission.
  4698  //
  4699  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4700  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4701  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4702  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4703  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4704  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4705  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4706  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4707  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4708  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4709  // SUCH DAMAGE.
  4710  //
  4711  //	@(#)unistd.h	8.2 (Berkeley) 1/7/94
  4712  
  4713  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4714  //
  4715  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4716  //
  4717  // This file contains Original Code and/or Modifications of Original Code
  4718  // as defined in and that are subject to the Apple Public Source License
  4719  // Version 2.0 (the 'License'). You may not use this file except in
  4720  // compliance with the License. The rights granted to you under the License
  4721  // may not be used to create, or enable the creation or redistribution of,
  4722  // unlawful or unlicensed copies of an Apple operating system, or to
  4723  // circumvent, violate, or enable the circumvention or violation of, any
  4724  // terms of an Apple operating system software license agreement.
  4725  //
  4726  // Please obtain a copy of the License at
  4727  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4728  //
  4729  // The Original Code and all software distributed under the License are
  4730  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4731  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4732  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4733  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4734  // Please see the License for the specific language governing rights and
  4735  // limitations under the License.
  4736  //
  4737  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4738  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4739  // Copyright (c) 1991, 1993
  4740  //	The Regents of the University of California.  All rights reserved.
  4741  //
  4742  // This code is derived from software contributed to Berkeley by
  4743  // Berkeley Software Design, Inc.
  4744  //
  4745  // Redistribution and use in source and binary forms, with or without
  4746  // modification, are permitted provided that the following conditions
  4747  // are met:
  4748  // 1. Redistributions of source code must retain the above copyright
  4749  //    notice, this list of conditions and the following disclaimer.
  4750  // 2. Redistributions in binary form must reproduce the above copyright
  4751  //    notice, this list of conditions and the following disclaimer in the
  4752  //    documentation and/or other materials provided with the distribution.
  4753  // 3. All advertising materials mentioning features or use of this software
  4754  //    must display the following acknowledgement:
  4755  //	This product includes software developed by the University of
  4756  //	California, Berkeley and its contributors.
  4757  // 4. Neither the name of the University nor the names of its contributors
  4758  //    may be used to endorse or promote products derived from this software
  4759  //    without specific prior written permission.
  4760  //
  4761  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4762  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4763  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4764  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4765  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4766  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4767  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4768  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4769  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4770  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4771  // SUCH DAMAGE.
  4772  //
  4773  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4774  
  4775  // Although we have saved user/group IDs, we do not use them in setuid
  4776  // as described in POSIX 1003.1, because the feature does not work for
  4777  // root.  We use the saved IDs in seteuid/setegid, which are not currently
  4778  // part of the POSIX 1003.1 specification.
  4779  
  4780  // execution-time symbolic constants
  4781  // may disable terminal special characters
  4782  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4783  //
  4784  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4785  //
  4786  // This file contains Original Code and/or Modifications of Original Code
  4787  // as defined in and that are subject to the Apple Public Source License
  4788  // Version 2.0 (the 'License'). You may not use this file except in
  4789  // compliance with the License. The rights granted to you under the License
  4790  // may not be used to create, or enable the creation or redistribution of,
  4791  // unlawful or unlicensed copies of an Apple operating system, or to
  4792  // circumvent, violate, or enable the circumvention or violation of, any
  4793  // terms of an Apple operating system software license agreement.
  4794  //
  4795  // Please obtain a copy of the License at
  4796  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4797  //
  4798  // The Original Code and all software distributed under the License are
  4799  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4800  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4801  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4802  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4803  // Please see the License for the specific language governing rights and
  4804  // limitations under the License.
  4805  //
  4806  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4807  
  4808  // access function
  4809  
  4810  // Extended access functions.
  4811  // Note that we depend on these matching the definitions in sys/kauth.h,
  4812  // but with the bits shifted left by 8.
  4813  
  4814  // whence values for lseek(2)
  4815  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4816  //
  4817  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4818  //
  4819  // This file contains Original Code and/or Modifications of Original Code
  4820  // as defined in and that are subject to the Apple Public Source License
  4821  // Version 2.0 (the 'License'). You may not use this file except in
  4822  // compliance with the License. The rights granted to you under the License
  4823  // may not be used to create, or enable the creation or redistribution of,
  4824  // unlawful or unlicensed copies of an Apple operating system, or to
  4825  // circumvent, violate, or enable the circumvention or violation of, any
  4826  // terms of an Apple operating system software license agreement.
  4827  //
  4828  // Please obtain a copy of the License at
  4829  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4830  //
  4831  // The Original Code and all software distributed under the License are
  4832  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4833  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4834  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4835  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4836  // Please see the License for the specific language governing rights and
  4837  // limitations under the License.
  4838  //
  4839  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4840  
  4841  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4842  //
  4843  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4844  //
  4845  // This file contains Original Code and/or Modifications of Original Code
  4846  // as defined in and that are subject to the Apple Public Source License
  4847  // Version 2.0 (the 'License'). You may not use this file except in
  4848  // compliance with the License. The rights granted to you under the License
  4849  // may not be used to create, or enable the creation or redistribution of,
  4850  // unlawful or unlicensed copies of an Apple operating system, or to
  4851  // circumvent, violate, or enable the circumvention or violation of, any
  4852  // terms of an Apple operating system software license agreement.
  4853  //
  4854  // Please obtain a copy of the License at
  4855  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4856  //
  4857  // The Original Code and all software distributed under the License are
  4858  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4859  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4860  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4861  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4862  // Please see the License for the specific language governing rights and
  4863  // limitations under the License.
  4864  //
  4865  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4866  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4867  // Copyright (c) 1991, 1993
  4868  //	The Regents of the University of California.  All rights reserved.
  4869  //
  4870  // This code is derived from software contributed to Berkeley by
  4871  // Berkeley Software Design, Inc.
  4872  //
  4873  // Redistribution and use in source and binary forms, with or without
  4874  // modification, are permitted provided that the following conditions
  4875  // are met:
  4876  // 1. Redistributions of source code must retain the above copyright
  4877  //    notice, this list of conditions and the following disclaimer.
  4878  // 2. Redistributions in binary form must reproduce the above copyright
  4879  //    notice, this list of conditions and the following disclaimer in the
  4880  //    documentation and/or other materials provided with the distribution.
  4881  // 3. All advertising materials mentioning features or use of this software
  4882  //    must display the following acknowledgement:
  4883  //	This product includes software developed by the University of
  4884  //	California, Berkeley and its contributors.
  4885  // 4. Neither the name of the University nor the names of its contributors
  4886  //    may be used to endorse or promote products derived from this software
  4887  //    without specific prior written permission.
  4888  //
  4889  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4890  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4891  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4892  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4893  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4894  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4895  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4896  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4897  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4898  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4899  // SUCH DAMAGE.
  4900  //
  4901  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4902  
  4903  // whence values for lseek(2)
  4904  
  4905  // whence values for lseek(2); renamed by POSIX 1003.1
  4906  
  4907  type accessx_descriptor = struct {
  4908  	ad_name_offset uint32
  4909  	ad_flags       int32
  4910  	ad_pad         [2]int32
  4911  } /* unistd.h:132:1 */
  4912  
  4913  // configurable pathname variables
  4914  
  4915  // configurable system strings
  4916  
  4917  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4918  //
  4919  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4920  //
  4921  // This file contains Original Code and/or Modifications of Original Code
  4922  // as defined in and that are subject to the Apple Public Source License
  4923  // Version 2.0 (the 'License'). You may not use this file except in
  4924  // compliance with the License. The rights granted to you under the License
  4925  // may not be used to create, or enable the creation or redistribution of,
  4926  // unlawful or unlicensed copies of an Apple operating system, or to
  4927  // circumvent, violate, or enable the circumvention or violation of, any
  4928  // terms of an Apple operating system software license agreement.
  4929  //
  4930  // Please obtain a copy of the License at
  4931  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4932  //
  4933  // The Original Code and all software distributed under the License are
  4934  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4935  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4936  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4937  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4938  // Please see the License for the specific language governing rights and
  4939  // limitations under the License.
  4940  //
  4941  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4942  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4943  //
  4944  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4945  //
  4946  // This file contains Original Code and/or Modifications of Original Code
  4947  // as defined in and that are subject to the Apple Public Source License
  4948  // Version 2.0 (the 'License'). You may not use this file except in
  4949  // compliance with the License. The rights granted to you under the License
  4950  // may not be used to create, or enable the creation or redistribution of,
  4951  // unlawful or unlicensed copies of an Apple operating system, or to
  4952  // circumvent, violate, or enable the circumvention or violation of, any
  4953  // terms of an Apple operating system software license agreement.
  4954  //
  4955  // Please obtain a copy of the License at
  4956  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4957  //
  4958  // The Original Code and all software distributed under the License are
  4959  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4960  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4961  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4962  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4963  // Please see the License for the specific language governing rights and
  4964  // limitations under the License.
  4965  //
  4966  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4967  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4968  //
  4969  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4970  //
  4971  // This file contains Original Code and/or Modifications of Original Code
  4972  // as defined in and that are subject to the Apple Public Source License
  4973  // Version 2.0 (the 'License'). You may not use this file except in
  4974  // compliance with the License. The rights granted to you under the License
  4975  // may not be used to create, or enable the creation or redistribution of,
  4976  // unlawful or unlicensed copies of an Apple operating system, or to
  4977  // circumvent, violate, or enable the circumvention or violation of, any
  4978  // terms of an Apple operating system software license agreement.
  4979  //
  4980  // Please obtain a copy of the License at
  4981  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4982  //
  4983  // The Original Code and all software distributed under the License are
  4984  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4985  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4986  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4987  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4988  // Please see the License for the specific language governing rights and
  4989  // limitations under the License.
  4990  //
  4991  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4992  
  4993  type uint64_t = uint64 /* _uint64_t.h:31:28 */
  4994  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4995  //
  4996  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4997  //
  4998  // This file contains Original Code and/or Modifications of Original Code
  4999  // as defined in and that are subject to the Apple Public Source License
  5000  // Version 2.0 (the 'License'). You may not use this file except in
  5001  // compliance with the License. The rights granted to you under the License
  5002  // may not be used to create, or enable the creation or redistribution of,
  5003  // unlawful or unlicensed copies of an Apple operating system, or to
  5004  // circumvent, violate, or enable the circumvention or violation of, any
  5005  // terms of an Apple operating system software license agreement.
  5006  //
  5007  // Please obtain a copy of the License at
  5008  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5009  //
  5010  // The Original Code and all software distributed under the License are
  5011  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5012  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5013  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5014  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5015  // Please see the License for the specific language governing rights and
  5016  // limitations under the License.
  5017  //
  5018  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5019  
  5020  type uint32_t = uint32 /* _uint32_t.h:31:22 */
  5021  
  5022  // Darwin extensions
  5023  
  5024  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  5025  //
  5026  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5027  //
  5028  // This file contains Original Code and/or Modifications of Original Code
  5029  // as defined in and that are subject to the Apple Public Source License
  5030  // Version 2.0 (the 'License'). You may not use this file except in
  5031  // compliance with the License. The rights granted to you under the License
  5032  // may not be used to create, or enable the creation or redistribution of,
  5033  // unlawful or unlicensed copies of an Apple operating system, or to
  5034  // circumvent, violate, or enable the circumvention or violation of, any
  5035  // terms of an Apple operating system software license agreement.
  5036  //
  5037  // Please obtain a copy of the License at
  5038  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5039  //
  5040  // The Original Code and all software distributed under the License are
  5041  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5042  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5043  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5044  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5045  // Please see the License for the specific language governing rights and
  5046  // limitations under the License.
  5047  //
  5048  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5049  // Copyright (c) 1992, 1993
  5050  //	The Regents of the University of California.  All rights reserved.
  5051  //
  5052  // Redistribution and use in source and binary forms, with or without
  5053  // modification, are permitted provided that the following conditions
  5054  // are met:
  5055  // 1. Redistributions of source code must retain the above copyright
  5056  //    notice, this list of conditions and the following disclaimer.
  5057  // 2. Redistributions in binary form must reproduce the above copyright
  5058  //    notice, this list of conditions and the following disclaimer in the
  5059  //    documentation and/or other materials provided with the distribution.
  5060  // 3. All advertising materials mentioning features or use of this software
  5061  //    must display the following acknowledgement:
  5062  //	This product includes software developed by the University of
  5063  //	California, Berkeley and its contributors.
  5064  // 4. Neither the name of the University nor the names of its contributors
  5065  //    may be used to endorse or promote products derived from this software
  5066  //    without specific prior written permission.
  5067  //
  5068  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5069  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5070  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5071  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5072  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5073  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5074  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5075  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5076  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5077  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5078  // SUCH DAMAGE.
  5079  //
  5080  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  5081  
  5082  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  5083  //
  5084  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5085  //
  5086  // This file contains Original Code and/or Modifications of Original Code
  5087  // as defined in and that are subject to the Apple Public Source License
  5088  // Version 2.0 (the 'License'). You may not use this file except in
  5089  // compliance with the License. The rights granted to you under the License
  5090  // may not be used to create, or enable the creation or redistribution of,
  5091  // unlawful or unlicensed copies of an Apple operating system, or to
  5092  // circumvent, violate, or enable the circumvention or violation of, any
  5093  // terms of an Apple operating system software license agreement.
  5094  //
  5095  // Please obtain a copy of the License at
  5096  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5097  //
  5098  // The Original Code and all software distributed under the License are
  5099  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5100  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5101  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5102  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5103  // Please see the License for the specific language governing rights and
  5104  // limitations under the License.
  5105  //
  5106  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5107  
  5108  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  5109  //
  5110  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5111  //
  5112  // This file contains Original Code and/or Modifications of Original Code
  5113  // as defined in and that are subject to the Apple Public Source License
  5114  // Version 2.0 (the 'License'). You may not use this file except in
  5115  // compliance with the License. The rights granted to you under the License
  5116  // may not be used to create, or enable the creation or redistribution of,
  5117  // unlawful or unlicensed copies of an Apple operating system, or to
  5118  // circumvent, violate, or enable the circumvention or violation of, any
  5119  // terms of an Apple operating system software license agreement.
  5120  //
  5121  // Please obtain a copy of the License at
  5122  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5123  //
  5124  // The Original Code and all software distributed under the License are
  5125  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5126  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5127  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5128  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5129  // Please see the License for the specific language governing rights and
  5130  // limitations under the License.
  5131  //
  5132  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5133  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5134  // Copyright (c) 1991, 1993
  5135  //	The Regents of the University of California.  All rights reserved.
  5136  //
  5137  // This code is derived from software contributed to Berkeley by
  5138  // Berkeley Software Design, Inc.
  5139  //
  5140  // Redistribution and use in source and binary forms, with or without
  5141  // modification, are permitted provided that the following conditions
  5142  // are met:
  5143  // 1. Redistributions of source code must retain the above copyright
  5144  //    notice, this list of conditions and the following disclaimer.
  5145  // 2. Redistributions in binary form must reproduce the above copyright
  5146  //    notice, this list of conditions and the following disclaimer in the
  5147  //    documentation and/or other materials provided with the distribution.
  5148  // 3. All advertising materials mentioning features or use of this software
  5149  //    must display the following acknowledgement:
  5150  //	This product includes software developed by the University of
  5151  //	California, Berkeley and its contributors.
  5152  // 4. Neither the name of the University nor the names of its contributors
  5153  //    may be used to endorse or promote products derived from this software
  5154  //    without specific prior written permission.
  5155  //
  5156  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5157  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5158  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5159  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5160  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5161  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5162  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5163  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5164  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5165  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5166  // SUCH DAMAGE.
  5167  //
  5168  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  5169  
  5170  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5171  //
  5172  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5173  //
  5174  // This file contains Original Code and/or Modifications of Original Code
  5175  // as defined in and that are subject to the Apple Public Source License
  5176  // Version 2.0 (the 'License'). You may not use this file except in
  5177  // compliance with the License. The rights granted to you under the License
  5178  // may not be used to create, or enable the creation or redistribution of,
  5179  // unlawful or unlicensed copies of an Apple operating system, or to
  5180  // circumvent, violate, or enable the circumvention or violation of, any
  5181  // terms of an Apple operating system software license agreement.
  5182  //
  5183  // Please obtain a copy of the License at
  5184  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5185  //
  5186  // The Original Code and all software distributed under the License are
  5187  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5188  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5189  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5190  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5191  // Please see the License for the specific language governing rights and
  5192  // limitations under the License.
  5193  //
  5194  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5195  
  5196  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  5197  // The timespec structure shall be defined as described in <time.h>
  5198  // The <sys/select.h> header shall define the timeval structure.
  5199  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5200  //
  5201  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5202  //
  5203  // This file contains Original Code and/or Modifications of Original Code
  5204  // as defined in and that are subject to the Apple Public Source License
  5205  // Version 2.0 (the 'License'). You may not use this file except in
  5206  // compliance with the License. The rights granted to you under the License
  5207  // may not be used to create, or enable the creation or redistribution of,
  5208  // unlawful or unlicensed copies of an Apple operating system, or to
  5209  // circumvent, violate, or enable the circumvention or violation of, any
  5210  // terms of an Apple operating system software license agreement.
  5211  //
  5212  // Please obtain a copy of the License at
  5213  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5214  //
  5215  // The Original Code and all software distributed under the License are
  5216  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5217  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5218  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5219  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5220  // Please see the License for the specific language governing rights and
  5221  // limitations under the License.
  5222  //
  5223  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5224  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5225  //
  5226  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5227  //
  5228  // This file contains Original Code and/or Modifications of Original Code
  5229  // as defined in and that are subject to the Apple Public Source License
  5230  // Version 2.0 (the 'License'). You may not use this file except in
  5231  // compliance with the License. The rights granted to you under the License
  5232  // may not be used to create, or enable the creation or redistribution of,
  5233  // unlawful or unlicensed copies of an Apple operating system, or to
  5234  // circumvent, violate, or enable the circumvention or violation of, any
  5235  // terms of an Apple operating system software license agreement.
  5236  //
  5237  // Please obtain a copy of the License at
  5238  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5239  //
  5240  // The Original Code and all software distributed under the License are
  5241  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5242  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5243  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5244  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5245  // Please see the License for the specific language governing rights and
  5246  // limitations under the License.
  5247  //
  5248  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5249  
  5250  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5251  //
  5252  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5253  //
  5254  // This file contains Original Code and/or Modifications of Original Code
  5255  // as defined in and that are subject to the Apple Public Source License
  5256  // Version 2.0 (the 'License'). You may not use this file except in
  5257  // compliance with the License. The rights granted to you under the License
  5258  // may not be used to create, or enable the creation or redistribution of,
  5259  // unlawful or unlicensed copies of an Apple operating system, or to
  5260  // circumvent, violate, or enable the circumvention or violation of, any
  5261  // terms of an Apple operating system software license agreement.
  5262  //
  5263  // Please obtain a copy of the License at
  5264  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5265  //
  5266  // The Original Code and all software distributed under the License are
  5267  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5268  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5269  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5270  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5271  // Please see the License for the specific language governing rights and
  5272  // limitations under the License.
  5273  //
  5274  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5275  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5276  
  5277  type timespec = struct {
  5278  	tv_sec  int64
  5279  	tv_nsec int64
  5280  } /* _timespec.h:33:1 */
  5281  
  5282  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5283  //
  5284  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5285  //
  5286  // This file contains Original Code and/or Modifications of Original Code
  5287  // as defined in and that are subject to the Apple Public Source License
  5288  // Version 2.0 (the 'License'). You may not use this file except in
  5289  // compliance with the License. The rights granted to you under the License
  5290  // may not be used to create, or enable the creation or redistribution of,
  5291  // unlawful or unlicensed copies of an Apple operating system, or to
  5292  // circumvent, violate, or enable the circumvention or violation of, any
  5293  // terms of an Apple operating system software license agreement.
  5294  //
  5295  // Please obtain a copy of the License at
  5296  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5297  //
  5298  // The Original Code and all software distributed under the License are
  5299  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5300  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5301  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5302  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5303  // Please see the License for the specific language governing rights and
  5304  // limitations under the License.
  5305  //
  5306  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5307  
  5308  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5309  //
  5310  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5311  //
  5312  // This file contains Original Code and/or Modifications of Original Code
  5313  // as defined in and that are subject to the Apple Public Source License
  5314  // Version 2.0 (the 'License'). You may not use this file except in
  5315  // compliance with the License. The rights granted to you under the License
  5316  // may not be used to create, or enable the creation or redistribution of,
  5317  // unlawful or unlicensed copies of an Apple operating system, or to
  5318  // circumvent, violate, or enable the circumvention or violation of, any
  5319  // terms of an Apple operating system software license agreement.
  5320  //
  5321  // Please obtain a copy of the License at
  5322  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5323  //
  5324  // The Original Code and all software distributed under the License are
  5325  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5326  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5327  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5328  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5329  // Please see the License for the specific language governing rights and
  5330  // limitations under the License.
  5331  //
  5332  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5333  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5334  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5335  //
  5336  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5337  //
  5338  // This file contains Original Code and/or Modifications of Original Code
  5339  // as defined in and that are subject to the Apple Public Source License
  5340  // Version 2.0 (the 'License'). You may not use this file except in
  5341  // compliance with the License. The rights granted to you under the License
  5342  // may not be used to create, or enable the creation or redistribution of,
  5343  // unlawful or unlicensed copies of an Apple operating system, or to
  5344  // circumvent, violate, or enable the circumvention or violation of, any
  5345  // terms of an Apple operating system software license agreement.
  5346  //
  5347  // Please obtain a copy of the License at
  5348  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5349  //
  5350  // The Original Code and all software distributed under the License are
  5351  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5352  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5353  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5354  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5355  // Please see the License for the specific language governing rights and
  5356  // limitations under the License.
  5357  //
  5358  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5359  
  5360  type timeval = struct {
  5361  	tv_sec  int64
  5362  	tv_usec int32
  5363  	_       [4]byte
  5364  } /* _timeval.h:34:1 */
  5365  
  5366  // The time_t and suseconds_t types shall be defined as described in
  5367  // <sys/types.h>
  5368  // The sigset_t type shall be defined as described in <signal.h>
  5369  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5370  //
  5371  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5372  //
  5373  // This file contains Original Code and/or Modifications of Original Code
  5374  // as defined in and that are subject to the Apple Public Source License
  5375  // Version 2.0 (the 'License'). You may not use this file except in
  5376  // compliance with the License. The rights granted to you under the License
  5377  // may not be used to create, or enable the creation or redistribution of,
  5378  // unlawful or unlicensed copies of an Apple operating system, or to
  5379  // circumvent, violate, or enable the circumvention or violation of, any
  5380  // terms of an Apple operating system software license agreement.
  5381  //
  5382  // Please obtain a copy of the License at
  5383  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5384  //
  5385  // The Original Code and all software distributed under the License are
  5386  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5387  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5388  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5389  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5390  // Please see the License for the specific language governing rights and
  5391  // limitations under the License.
  5392  //
  5393  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5394  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5395  //
  5396  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5397  //
  5398  // This file contains Original Code and/or Modifications of Original Code
  5399  // as defined in and that are subject to the Apple Public Source License
  5400  // Version 2.0 (the 'License'). You may not use this file except in
  5401  // compliance with the License. The rights granted to you under the License
  5402  // may not be used to create, or enable the creation or redistribution of,
  5403  // unlawful or unlicensed copies of an Apple operating system, or to
  5404  // circumvent, violate, or enable the circumvention or violation of, any
  5405  // terms of an Apple operating system software license agreement.
  5406  //
  5407  // Please obtain a copy of the License at
  5408  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5409  //
  5410  // The Original Code and all software distributed under the License are
  5411  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5412  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5413  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5414  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5415  // Please see the License for the specific language governing rights and
  5416  // limitations under the License.
  5417  //
  5418  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5419  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5420  //
  5421  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5422  //
  5423  // This file contains Original Code and/or Modifications of Original Code
  5424  // as defined in and that are subject to the Apple Public Source License
  5425  // Version 2.0 (the 'License'). You may not use this file except in
  5426  // compliance with the License. The rights granted to you under the License
  5427  // may not be used to create, or enable the creation or redistribution of,
  5428  // unlawful or unlicensed copies of an Apple operating system, or to
  5429  // circumvent, violate, or enable the circumvention or violation of, any
  5430  // terms of an Apple operating system software license agreement.
  5431  //
  5432  // Please obtain a copy of the License at
  5433  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5434  //
  5435  // The Original Code and all software distributed under the License are
  5436  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5437  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5438  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5439  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5440  // Please see the License for the specific language governing rights and
  5441  // limitations under the License.
  5442  //
  5443  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5444  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5445  //
  5446  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5447  //
  5448  // This file contains Original Code and/or Modifications of Original Code
  5449  // as defined in and that are subject to the Apple Public Source License
  5450  // Version 2.0 (the 'License'). You may not use this file except in
  5451  // compliance with the License. The rights granted to you under the License
  5452  // may not be used to create, or enable the creation or redistribution of,
  5453  // unlawful or unlicensed copies of an Apple operating system, or to
  5454  // circumvent, violate, or enable the circumvention or violation of, any
  5455  // terms of an Apple operating system software license agreement.
  5456  //
  5457  // Please obtain a copy of the License at
  5458  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5459  //
  5460  // The Original Code and all software distributed under the License are
  5461  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5462  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5463  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5464  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5465  // Please see the License for the specific language governing rights and
  5466  // limitations under the License.
  5467  //
  5468  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5469  
  5470  type sigset_t = uint32 /* _sigset_t.h:31:41 */
  5471  
  5472  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5473  //
  5474  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5475  //
  5476  // This file contains Original Code and/or Modifications of Original Code
  5477  // as defined in and that are subject to the Apple Public Source License
  5478  // Version 2.0 (the 'License'). You may not use this file except in
  5479  // compliance with the License. The rights granted to you under the License
  5480  // may not be used to create, or enable the creation or redistribution of,
  5481  // unlawful or unlicensed copies of an Apple operating system, or to
  5482  // circumvent, violate, or enable the circumvention or violation of, any
  5483  // terms of an Apple operating system software license agreement.
  5484  //
  5485  // Please obtain a copy of the License at
  5486  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5487  //
  5488  // The Original Code and all software distributed under the License are
  5489  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5490  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5491  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5492  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5493  // Please see the License for the specific language governing rights and
  5494  // limitations under the License.
  5495  //
  5496  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5497  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5498  //
  5499  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5500  //
  5501  // This file contains Original Code and/or Modifications of Original Code
  5502  // as defined in and that are subject to the Apple Public Source License
  5503  // Version 2.0 (the 'License'). You may not use this file except in
  5504  // compliance with the License. The rights granted to you under the License
  5505  // may not be used to create, or enable the creation or redistribution of,
  5506  // unlawful or unlicensed copies of an Apple operating system, or to
  5507  // circumvent, violate, or enable the circumvention or violation of, any
  5508  // terms of an Apple operating system software license agreement.
  5509  //
  5510  // Please obtain a copy of the License at
  5511  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5512  //
  5513  // The Original Code and all software distributed under the License are
  5514  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5515  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5516  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5517  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5518  // Please see the License for the specific language governing rights and
  5519  // limitations under the License.
  5520  //
  5521  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5522  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5523  //
  5524  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5525  //
  5526  // This file contains Original Code and/or Modifications of Original Code
  5527  // as defined in and that are subject to the Apple Public Source License
  5528  // Version 2.0 (the 'License'). You may not use this file except in
  5529  // compliance with the License. The rights granted to you under the License
  5530  // may not be used to create, or enable the creation or redistribution of,
  5531  // unlawful or unlicensed copies of an Apple operating system, or to
  5532  // circumvent, violate, or enable the circumvention or violation of, any
  5533  // terms of an Apple operating system software license agreement.
  5534  //
  5535  // Please obtain a copy of the License at
  5536  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5537  //
  5538  // The Original Code and all software distributed under the License are
  5539  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5540  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5541  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5542  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5543  // Please see the License for the specific language governing rights and
  5544  // limitations under the License.
  5545  //
  5546  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5547  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5548  //
  5549  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5550  //
  5551  // This file contains Original Code and/or Modifications of Original Code
  5552  // as defined in and that are subject to the Apple Public Source License
  5553  // Version 2.0 (the 'License'). You may not use this file except in
  5554  // compliance with the License. The rights granted to you under the License
  5555  // may not be used to create, or enable the creation or redistribution of,
  5556  // unlawful or unlicensed copies of an Apple operating system, or to
  5557  // circumvent, violate, or enable the circumvention or violation of, any
  5558  // terms of an Apple operating system software license agreement.
  5559  //
  5560  // Please obtain a copy of the License at
  5561  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5562  //
  5563  // The Original Code and all software distributed under the License are
  5564  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5565  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5566  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5567  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5568  // Please see the License for the specific language governing rights and
  5569  // limitations under the License.
  5570  //
  5571  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5572  
  5573  type uuid_t = [16]uint8 /* _uuid_t.h:31:25 */
  5574  
  5575  // MVS linker does not support external names larger than 8 bytes
  5576  
  5577  //
  5578  //     The 'zlib' compression library provides in-memory compression and
  5579  //   decompression functions, including integrity checks of the uncompressed data.
  5580  //   This version of the library supports only one compression method (deflation)
  5581  //   but other algorithms will be added later and will have the same stream
  5582  //   interface.
  5583  //
  5584  //     Compression can be done in a single step if the buffers are large enough,
  5585  //   or can be done by repeated calls of the compression function.  In the latter
  5586  //   case, the application must provide more input and/or consume the output
  5587  //   (providing more output space) before each call.
  5588  //
  5589  //     The compressed data format used by default by the in-memory functions is
  5590  //   the zlib format, which is a zlib wrapper documented in RFC 1950, wrapped
  5591  //   around a deflate stream, which is itself documented in RFC 1951.
  5592  //
  5593  //     The library also supports reading and writing files in gzip (.gz) format
  5594  //   with an interface similar to that of stdio using the functions that start
  5595  //   with "gz".  The gzip format is different from the zlib format.  gzip is a
  5596  //   gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
  5597  //
  5598  //     This library can optionally read and write gzip and raw deflate streams in
  5599  //   memory as well.
  5600  //
  5601  //     The zlib format was designed to be compact and fast for use in memory
  5602  //   and on communications channels.  The gzip format was designed for single-
  5603  //   file compression on file systems, has a larger header than zlib to maintain
  5604  //   directory information, and uses a different, slower check method than zlib.
  5605  //
  5606  //     The library does not install any signal handler.  The decoder checks
  5607  //   the consistency of the compressed data, so the library should never crash
  5608  //   even in the case of corrupted input.
  5609  
  5610  type alloc_func = uintptr /* zlib.h:81:16 */
  5611  type free_func = uintptr  /* zlib.h:82:16 */
  5612  
  5613  type z_stream_s = struct {
  5614  	next_in   uintptr
  5615  	avail_in  uInt
  5616  	_         [4]byte
  5617  	total_in  uLong
  5618  	next_out  uintptr
  5619  	avail_out uInt
  5620  	_         [4]byte
  5621  	total_out uLong
  5622  	msg       uintptr
  5623  	state     uintptr
  5624  	zalloc    alloc_func
  5625  	zfree     free_func
  5626  	opaque    voidpf
  5627  	data_type int32
  5628  	_         [4]byte
  5629  	adler     uLong
  5630  	reserved  uLong
  5631  } /* zlib.h:86:9 */
  5632  
  5633  type z_stream = z_stream_s /* zlib.h:106:3 */
  5634  
  5635  type z_streamp = uintptr /* zlib.h:108:22 */
  5636  
  5637  //
  5638  //      gzip header information passed to and from zlib routines.  See RFC 1952
  5639  //   for more details on the meanings of these fields.
  5640  type gz_header_s = struct {
  5641  	text      int32
  5642  	_         [4]byte
  5643  	time      uLong
  5644  	xflags    int32
  5645  	os        int32
  5646  	extra     uintptr
  5647  	extra_len uInt
  5648  	extra_max uInt
  5649  	name      uintptr
  5650  	name_max  uInt
  5651  	_         [4]byte
  5652  	comment   uintptr
  5653  	comm_max  uInt
  5654  	hcrc      int32
  5655  	done      int32
  5656  	_         [4]byte
  5657  } /* zlib.h:114:9 */
  5658  
  5659  //
  5660  //      gzip header information passed to and from zlib routines.  See RFC 1952
  5661  //   for more details on the meanings of these fields.
  5662  type gz_header = gz_header_s /* zlib.h:129:3 */
  5663  
  5664  type gz_headerp = uintptr /* zlib.h:131:23 */
  5665  //
  5666  //      inflateGetHeader() requests that gzip header information be stored in the
  5667  //    provided gz_header structure.  inflateGetHeader() may be called after
  5668  //    inflateInit2() or inflateReset(), and before the first call of inflate().
  5669  //    As inflate() processes the gzip stream, head->done is zero until the header
  5670  //    is completed, at which time head->done is set to one.  If a zlib stream is
  5671  //    being decoded, then head->done is set to -1 to indicate that there will be
  5672  //    no gzip header information forthcoming.  Note that Z_BLOCK or Z_TREES can be
  5673  //    used to force inflate() to return immediately after header processing is
  5674  //    complete and before any actual data is decompressed.
  5675  //
  5676  //      The text, time, xflags, and os fields are filled in with the gzip header
  5677  //    contents.  hcrc is set to true if there is a header CRC.  (The header CRC
  5678  //    was valid if done is set to one.) If extra is not Z_NULL, then extra_max
  5679  //    contains the maximum number of bytes to write to extra.  Once done is true,
  5680  //    extra_len contains the actual extra field length, and extra contains the
  5681  //    extra field, or that field truncated if extra_max is less than extra_len.
  5682  //    If name is not Z_NULL, then up to name_max characters are written there,
  5683  //    terminated with a zero unless the length is greater than name_max.  If
  5684  //    comment is not Z_NULL, then up to comm_max characters are written there,
  5685  //    terminated with a zero unless the length is greater than comm_max.  When any
  5686  //    of extra, name, or comment are not Z_NULL and the respective field is not
  5687  //    present in the header, then that field is set to Z_NULL to signal its
  5688  //    absence.  This allows the use of deflateSetHeader() with the returned
  5689  //    structure to duplicate the header.  However if those fields are set to
  5690  //    allocated memory, then the application will need to save those pointers
  5691  //    elsewhere so that they can be eventually freed.
  5692  //
  5693  //      If inflateGetHeader is not used, then the header information is simply
  5694  //    discarded.  The header is always checked for validity, including the header
  5695  //    CRC if present.  inflateReset() will reset the process to discard the header
  5696  //    information.  The application would need to call inflateGetHeader() again to
  5697  //    retrieve the header from the next gzip stream.
  5698  //
  5699  //      inflateGetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
  5700  //    stream state was inconsistent.
  5701  
  5702  //
  5703  // ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
  5704  //                                         unsigned char FAR *window));
  5705  //
  5706  //      Initialize the internal stream state for decompression using inflateBack()
  5707  //    calls.  The fields zalloc, zfree and opaque in strm must be initialized
  5708  //    before the call.  If zalloc and zfree are Z_NULL, then the default library-
  5709  //    derived memory allocation routines are used.  windowBits is the base two
  5710  //    logarithm of the window size, in the range 8..15.  window is a caller
  5711  //    supplied buffer of that size.  Except for special applications where it is
  5712  //    assured that deflate was used with small window sizes, windowBits must be 15
  5713  //    and a 32K byte window must be supplied to be able to decompress general
  5714  //    deflate streams.
  5715  //
  5716  //      See inflateBack() for the usage of these routines.
  5717  //
  5718  //      inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
  5719  //    the parameters are invalid, Z_MEM_ERROR if the internal state could not be
  5720  //    allocated, or Z_VERSION_ERROR if the version of the library does not match
  5721  //    the version of the header file.
  5722  
  5723  type in_func = uintptr  /* zlib.h:1092:18 */
  5724  type out_func = uintptr /* zlib.h:1094:13 */
  5725  //
  5726  //      Same as uncompress, except that sourceLen is a pointer, where the
  5727  //    length of the source is *sourceLen.  On return, *sourceLen is the number of
  5728  //    source bytes consumed.
  5729  
  5730  // gzip file access functions
  5731  
  5732  //
  5733  //      This library supports reading and writing files in gzip (.gz) format with
  5734  //    an interface similar to that of stdio, using the functions that start with
  5735  //    "gz".  The gzip format is different from the zlib format.  gzip is a gzip
  5736  //    wrapper, documented in RFC 1952, wrapped around a deflate stream.
  5737  
  5738  type gzFile_s = struct {
  5739  	have uint32
  5740  	_    [4]byte
  5741  	next uintptr
  5742  	pos  off_t
  5743  } /* zlib.h:1300:9 */
  5744  
  5745  //
  5746  //      Same as uncompress, except that sourceLen is a pointer, where the
  5747  //    length of the source is *sourceLen.  On return, *sourceLen is the number of
  5748  //    source bytes consumed.
  5749  
  5750  // gzip file access functions
  5751  
  5752  //
  5753  //      This library supports reading and writing files in gzip (.gz) format with
  5754  //    an interface similar to that of stdio, using the functions that start with
  5755  //    "gz".  The gzip format is different from the zlib format.  gzip is a gzip
  5756  //    wrapper, documented in RFC 1952, wrapped around a deflate stream.
  5757  
  5758  type gzFile = uintptr /* zlib.h:1300:25 */
  5759  
  5760  type fpos_t = int64 /* _stdio.h:81:25 */
  5761  
  5762  // NB: to fit things in six character monocase externals, the stdio
  5763  // code uses the prefix `__s' for stdio objects, typically followed
  5764  // by a three-character attempt at a mnemonic.
  5765  
  5766  // stdio buffers
  5767  type __sbuf = struct {
  5768  	_base uintptr
  5769  	_size int32
  5770  	_     [4]byte
  5771  } /* _stdio.h:92:1 */
  5772  
  5773  // stdio state variables.
  5774  //
  5775  // The following always hold:
  5776  //
  5777  //	if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR),
  5778  //		_lbfsize is -_bf._size, else _lbfsize is 0
  5779  //	if _flags&__SRD, _w is 0
  5780  //	if _flags&__SWR, _r is 0
  5781  //
  5782  // This ensures that the getc and putc macros (or inline functions) never
  5783  // try to write or read from a file that is in `read' or `write' mode.
  5784  // (Moreover, they can, and do, automatically switch from read mode to
  5785  // write mode, and back, on "r+" and "w+" files.)
  5786  //
  5787  // _lbfsize is used only to make the inline line-buffered output stream
  5788  // code as compact as possible.
  5789  //
  5790  // _ub, _up, and _ur are used when ungetc() pushes back more characters
  5791  // than fit in the current _bf, or when ungetc() pushes back a character
  5792  // that does not match the previous one in _bf.  When this happens,
  5793  // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
  5794  // _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
  5795  //
  5796  // NB: see WARNING above before changing the layout of this structure!
  5797  type __sFILE = struct {
  5798  	_p     uintptr
  5799  	_r     int32
  5800  	_w     int32
  5801  	_flags int16
  5802  	_file  int16
  5803  	_      [4]byte
  5804  	_bf    struct {
  5805  		_base uintptr
  5806  		_size int32
  5807  		_     [4]byte
  5808  	}
  5809  	_lbfsize int32
  5810  	_        [4]byte
  5811  	_cookie  uintptr
  5812  	_close   uintptr
  5813  	_read    uintptr
  5814  	_seek    uintptr
  5815  	_write   uintptr
  5816  	_ub      struct {
  5817  		_base uintptr
  5818  		_size int32
  5819  		_     [4]byte
  5820  	}
  5821  	_extra uintptr
  5822  	_ur    int32
  5823  	_ubuf  [3]uint8
  5824  	_nbuf  [1]uint8
  5825  	_lb    struct {
  5826  		_base uintptr
  5827  		_size int32
  5828  		_     [4]byte
  5829  	}
  5830  	_blksize int32
  5831  	_        [4]byte
  5832  	_offset  fpos_t
  5833  } /* _stdio.h:126:9 */
  5834  
  5835  // stdio state variables.
  5836  //
  5837  // The following always hold:
  5838  //
  5839  //	if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR),
  5840  //		_lbfsize is -_bf._size, else _lbfsize is 0
  5841  //	if _flags&__SRD, _w is 0
  5842  //	if _flags&__SWR, _r is 0
  5843  //
  5844  // This ensures that the getc and putc macros (or inline functions) never
  5845  // try to write or read from a file that is in `read' or `write' mode.
  5846  // (Moreover, they can, and do, automatically switch from read mode to
  5847  // write mode, and back, on "r+" and "w+" files.)
  5848  //
  5849  // _lbfsize is used only to make the inline line-buffered output stream
  5850  // code as compact as possible.
  5851  //
  5852  // _ub, _up, and _ur are used when ungetc() pushes back more characters
  5853  // than fit in the current _bf, or when ungetc() pushes back a character
  5854  // that does not match the previous one in _bf.  When this happens,
  5855  // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
  5856  // _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
  5857  //
  5858  // NB: see WARNING above before changing the layout of this structure!
  5859  type FILE = __sFILE /* _stdio.h:157:3 */
  5860  
  5861  // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
  5862  //
  5863  // @APPLE_LICENSE_HEADER_START@
  5864  //
  5865  // This file contains Original Code and/or Modifications of Original Code
  5866  // as defined in and that are subject to the Apple Public Source License
  5867  // Version 2.0 (the 'License'). You may not use this file except in
  5868  // compliance with the License. Please obtain a copy of the License at
  5869  // http://www.opensource.apple.com/apsl/ and read it before using this
  5870  // file.
  5871  //
  5872  // The Original Code and all software distributed under the License are
  5873  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5874  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5875  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5876  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5877  // Please see the License for the specific language governing rights and
  5878  // limitations under the License.
  5879  //
  5880  // @APPLE_LICENSE_HEADER_END@
  5881  // -
  5882  // Copyright (c) 1990, 1993
  5883  //	The Regents of the University of California.  All rights reserved.
  5884  //
  5885  // Redistribution and use in source and binary forms, with or without
  5886  // modification, are permitted provided that the following conditions
  5887  // are met:
  5888  // 1. Redistributions of source code must retain the above copyright
  5889  //    notice, this list of conditions and the following disclaimer.
  5890  // 2. Redistributions in binary form must reproduce the above copyright
  5891  //    notice, this list of conditions and the following disclaimer in the
  5892  //    documentation and/or other materials provided with the distribution.
  5893  // 3. All advertising materials mentioning features or use of this software
  5894  //    must display the following acknowledgement:
  5895  //	This product includes software developed by the University of
  5896  //	California, Berkeley and its contributors.
  5897  // 4. Neither the name of the University nor the names of its contributors
  5898  //    may be used to endorse or promote products derived from this software
  5899  //    without specific prior written permission.
  5900  //
  5901  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5902  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5903  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5904  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5905  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5906  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5907  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5908  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5909  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5910  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5911  // SUCH DAMAGE.
  5912  //
  5913  //	@(#)string.h	8.1 (Berkeley) 6/2/93
  5914  
  5915  // Security checking functions.
  5916  // Copyright (c) 2017 Apple Inc. All rights reserved.
  5917  //
  5918  // @APPLE_LICENSE_HEADER_START@
  5919  //
  5920  // This file contains Original Code and/or Modifications of Original Code
  5921  // as defined in and that are subject to the Apple Public Source License
  5922  // Version 2.0 (the 'License'). You may not use this file except in
  5923  // compliance with the License. Please obtain a copy of the License at
  5924  // http://www.opensource.apple.com/apsl/ and read it before using this
  5925  // file.
  5926  //
  5927  // The Original Code and all software distributed under the License are
  5928  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5929  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5930  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5931  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5932  // Please see the License for the specific language governing rights and
  5933  // limitations under the License.
  5934  //
  5935  // @APPLE_LICENSE_HEADER_END@
  5936  
  5937  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  5938  //
  5939  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5940  //
  5941  // This file contains Original Code and/or Modifications of Original Code
  5942  // as defined in and that are subject to the Apple Public Source License
  5943  // Version 2.0 (the 'License'). You may not use this file except in
  5944  // compliance with the License. The rights granted to you under the License
  5945  // may not be used to create, or enable the creation or redistribution of,
  5946  // unlawful or unlicensed copies of an Apple operating system, or to
  5947  // circumvent, violate, or enable the circumvention or violation of, any
  5948  // terms of an Apple operating system software license agreement.
  5949  //
  5950  // Please obtain a copy of the License at
  5951  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5952  //
  5953  // The Original Code and all software distributed under the License are
  5954  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5955  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5956  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5957  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5958  // Please see the License for the specific language governing rights and
  5959  // limitations under the License.
  5960  //
  5961  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5962  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5963  // Copyright (c) 1991, 1993
  5964  //	The Regents of the University of California.  All rights reserved.
  5965  //
  5966  // This code is derived from software contributed to Berkeley by
  5967  // Berkeley Software Design, Inc.
  5968  //
  5969  // Redistribution and use in source and binary forms, with or without
  5970  // modification, are permitted provided that the following conditions
  5971  // are met:
  5972  // 1. Redistributions of source code must retain the above copyright
  5973  //    notice, this list of conditions and the following disclaimer.
  5974  // 2. Redistributions in binary form must reproduce the above copyright
  5975  //    notice, this list of conditions and the following disclaimer in the
  5976  //    documentation and/or other materials provided with the distribution.
  5977  // 3. All advertising materials mentioning features or use of this software
  5978  //    must display the following acknowledgement:
  5979  //	This product includes software developed by the University of
  5980  //	California, Berkeley and its contributors.
  5981  // 4. Neither the name of the University nor the names of its contributors
  5982  //    may be used to endorse or promote products derived from this software
  5983  //    without specific prior written permission.
  5984  //
  5985  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5986  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5987  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5988  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5989  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5990  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5991  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5992  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5993  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5994  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5995  // SUCH DAMAGE.
  5996  //
  5997  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  5998  
  5999  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6000  //
  6001  // @APPLE_LICENSE_HEADER_START@
  6002  //
  6003  // This file contains Original Code and/or Modifications of Original Code
  6004  // as defined in and that are subject to the Apple Public Source License
  6005  // Version 2.0 (the 'License'). You may not use this file except in
  6006  // compliance with the License. Please obtain a copy of the License at
  6007  // http://www.opensource.apple.com/apsl/ and read it before using this
  6008  // file.
  6009  //
  6010  // The Original Code and all software distributed under the License are
  6011  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6012  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6013  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6014  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6015  // Please see the License for the specific language governing rights and
  6016  // limitations under the License.
  6017  //
  6018  // @APPLE_LICENSE_HEADER_END@
  6019  
  6020  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
  6021  //
  6022  // @APPLE_LICENSE_HEADER_START@
  6023  //
  6024  // This file contains Original Code and/or Modifications of Original Code
  6025  // as defined in and that are subject to the Apple Public Source License
  6026  // Version 2.0 (the 'License'). You may not use this file except in
  6027  // compliance with the License. Please obtain a copy of the License at
  6028  // http://www.opensource.apple.com/apsl/ and read it before using this
  6029  // file.
  6030  //
  6031  // The Original Code and all software distributed under the License are
  6032  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6033  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6034  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6035  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6036  // Please see the License for the specific language governing rights and
  6037  // limitations under the License.
  6038  //
  6039  // @APPLE_LICENSE_HEADER_END@
  6040  
  6041  // bcopy and bzero
  6042  
  6043  // Removed in Issue 7
  6044  
  6045  // void	bcopy(const void *src, void *dst, size_t len)
  6046  
  6047  // void	bzero(void *s, size_t n)
  6048  
  6049  // Security checking functions.
  6050  // Copyright (c) 2007,2017 Apple Inc. All rights reserved.
  6051  //
  6052  // @APPLE_LICENSE_HEADER_START@
  6053  //
  6054  // This file contains Original Code and/or Modifications of Original Code
  6055  // as defined in and that are subject to the Apple Public Source License
  6056  // Version 2.0 (the 'License'). You may not use this file except in
  6057  // compliance with the License. Please obtain a copy of the License at
  6058  // http://www.opensource.apple.com/apsl/ and read it before using this
  6059  // file.
  6060  //
  6061  // The Original Code and all software distributed under the License are
  6062  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6063  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6064  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6065  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6066  // Please see the License for the specific language governing rights and
  6067  // limitations under the License.
  6068  //
  6069  // @APPLE_LICENSE_HEADER_END@
  6070  
  6071  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6072  //
  6073  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6074  //
  6075  // This file contains Original Code and/or Modifications of Original Code
  6076  // as defined in and that are subject to the Apple Public Source License
  6077  // Version 2.0 (the 'License'). You may not use this file except in
  6078  // compliance with the License. The rights granted to you under the License
  6079  // may not be used to create, or enable the creation or redistribution of,
  6080  // unlawful or unlicensed copies of an Apple operating system, or to
  6081  // circumvent, violate, or enable the circumvention or violation of, any
  6082  // terms of an Apple operating system software license agreement.
  6083  //
  6084  // Please obtain a copy of the License at
  6085  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6086  //
  6087  // The Original Code and all software distributed under the License are
  6088  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6089  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6090  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6091  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6092  // Please see the License for the specific language governing rights and
  6093  // limitations under the License.
  6094  //
  6095  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6096  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6097  // Copyright (c) 1991, 1993
  6098  //	The Regents of the University of California.  All rights reserved.
  6099  //
  6100  // This code is derived from software contributed to Berkeley by
  6101  // Berkeley Software Design, Inc.
  6102  //
  6103  // Redistribution and use in source and binary forms, with or without
  6104  // modification, are permitted provided that the following conditions
  6105  // are met:
  6106  // 1. Redistributions of source code must retain the above copyright
  6107  //    notice, this list of conditions and the following disclaimer.
  6108  // 2. Redistributions in binary form must reproduce the above copyright
  6109  //    notice, this list of conditions and the following disclaimer in the
  6110  //    documentation and/or other materials provided with the distribution.
  6111  // 3. All advertising materials mentioning features or use of this software
  6112  //    must display the following acknowledgement:
  6113  //	This product includes software developed by the University of
  6114  //	California, Berkeley and its contributors.
  6115  // 4. Neither the name of the University nor the names of its contributors
  6116  //    may be used to endorse or promote products derived from this software
  6117  //    without specific prior written permission.
  6118  //
  6119  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6120  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6121  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6122  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6123  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6124  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6125  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6126  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6127  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6128  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6129  // SUCH DAMAGE.
  6130  //
  6131  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6132  
  6133  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6134  //
  6135  // @APPLE_LICENSE_HEADER_START@
  6136  //
  6137  // This file contains Original Code and/or Modifications of Original Code
  6138  // as defined in and that are subject to the Apple Public Source License
  6139  // Version 2.0 (the 'License'). You may not use this file except in
  6140  // compliance with the License. Please obtain a copy of the License at
  6141  // http://www.opensource.apple.com/apsl/ and read it before using this
  6142  // file.
  6143  //
  6144  // The Original Code and all software distributed under the License are
  6145  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6146  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6147  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6148  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6149  // Please see the License for the specific language governing rights and
  6150  // limitations under the License.
  6151  //
  6152  // @APPLE_LICENSE_HEADER_END@
  6153  
  6154  // Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
  6155  //
  6156  // @APPLE_LICENSE_HEADER_START@
  6157  //
  6158  // This file contains Original Code and/or Modifications of Original Code
  6159  // as defined in and that are subject to the Apple Public Source License
  6160  // Version 2.0 (the 'License'). You may not use this file except in
  6161  // compliance with the License. Please obtain a copy of the License at
  6162  // http://www.opensource.apple.com/apsl/ and read it before using this
  6163  // file.
  6164  //
  6165  // The Original Code and all software distributed under the License are
  6166  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6167  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6168  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6169  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6170  // Please see the License for the specific language governing rights and
  6171  // limitations under the License.
  6172  //
  6173  // @APPLE_LICENSE_HEADER_END@
  6174  
  6175  // <rdar://problem/12622659>
  6176  
  6177  // memccpy, memcpy, mempcpy, memmove, memset, strcpy, strlcpy, stpcpy,
  6178  //    strncpy, stpncpy, strcat, strlcat, and strncat
  6179  
  6180  // void *memcpy(void *dst, const void *src, size_t n)
  6181  
  6182  // void *memmove(void *dst, const void *src, size_t len)
  6183  
  6184  // void *memset(void *b, int c, size_t len)
  6185  
  6186  // char *strcpy(char *dst, const char *src)
  6187  
  6188  // char *stpcpy(char *dst, const char *src)
  6189  
  6190  // char *stpncpy(char *dst, const char *src, size_t n)
  6191  
  6192  // char *strncpy(char *dst, const char *src, size_t n)
  6193  
  6194  // char *strcat(char *s1, const char *s2)
  6195  
  6196  // char *strncat(char *s1, const char *s2, size_t n)
  6197  
  6198  // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
  6199  //
  6200  // @APPLE_LICENSE_HEADER_START@
  6201  //
  6202  // This file contains Original Code and/or Modifications of Original Code
  6203  // as defined in and that are subject to the Apple Public Source License
  6204  // Version 2.0 (the 'License'). You may not use this file except in
  6205  // compliance with the License. Please obtain a copy of the License at
  6206  // http://www.opensource.apple.com/apsl/ and read it before using this
  6207  // file.
  6208  //
  6209  // The Original Code and all software distributed under the License are
  6210  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6211  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6212  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6213  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6214  // Please see the License for the specific language governing rights and
  6215  // limitations under the License.
  6216  //
  6217  // @APPLE_LICENSE_HEADER_END@
  6218  // -
  6219  // Copyright (c) 1990, 1993
  6220  //	The Regents of the University of California.  All rights reserved.
  6221  //
  6222  // Redistribution and use in source and binary forms, with or without
  6223  // modification, are permitted provided that the following conditions
  6224  // are met:
  6225  // 1. Redistributions of source code must retain the above copyright
  6226  //    notice, this list of conditions and the following disclaimer.
  6227  // 2. Redistributions in binary form must reproduce the above copyright
  6228  //    notice, this list of conditions and the following disclaimer in the
  6229  //    documentation and/or other materials provided with the distribution.
  6230  // 3. All advertising materials mentioning features or use of this software
  6231  //    must display the following acknowledgement:
  6232  //	This product includes software developed by the University of
  6233  //	California, Berkeley and its contributors.
  6234  // 4. Neither the name of the University nor the names of its contributors
  6235  //    may be used to endorse or promote products derived from this software
  6236  //    without specific prior written permission.
  6237  //
  6238  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6239  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6240  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6241  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6242  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6243  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6244  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6245  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6246  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6247  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6248  // SUCH DAMAGE.
  6249  //
  6250  //	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
  6251  
  6252  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6253  //
  6254  // @APPLE_LICENSE_HEADER_START@
  6255  //
  6256  // This file contains Original Code and/or Modifications of Original Code
  6257  // as defined in and that are subject to the Apple Public Source License
  6258  // Version 2.0 (the 'License'). You may not use this file except in
  6259  // compliance with the License. Please obtain a copy of the License at
  6260  // http://www.opensource.apple.com/apsl/ and read it before using this
  6261  // file.
  6262  //
  6263  // The Original Code and all software distributed under the License are
  6264  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6265  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6266  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6267  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6268  // Please see the License for the specific language governing rights and
  6269  // limitations under the License.
  6270  //
  6271  // @APPLE_LICENSE_HEADER_END@
  6272  
  6273  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6274  //
  6275  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6276  //
  6277  // This file contains Original Code and/or Modifications of Original Code
  6278  // as defined in and that are subject to the Apple Public Source License
  6279  // Version 2.0 (the 'License'). You may not use this file except in
  6280  // compliance with the License. The rights granted to you under the License
  6281  // may not be used to create, or enable the creation or redistribution of,
  6282  // unlawful or unlicensed copies of an Apple operating system, or to
  6283  // circumvent, violate, or enable the circumvention or violation of, any
  6284  // terms of an Apple operating system software license agreement.
  6285  //
  6286  // Please obtain a copy of the License at
  6287  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6288  //
  6289  // The Original Code and all software distributed under the License are
  6290  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6291  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6292  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6293  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6294  // Please see the License for the specific language governing rights and
  6295  // limitations under the License.
  6296  //
  6297  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6298  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6299  // Copyright (c) 1991, 1993
  6300  //	The Regents of the University of California.  All rights reserved.
  6301  //
  6302  // This code is derived from software contributed to Berkeley by
  6303  // Berkeley Software Design, Inc.
  6304  //
  6305  // Redistribution and use in source and binary forms, with or without
  6306  // modification, are permitted provided that the following conditions
  6307  // are met:
  6308  // 1. Redistributions of source code must retain the above copyright
  6309  //    notice, this list of conditions and the following disclaimer.
  6310  // 2. Redistributions in binary form must reproduce the above copyright
  6311  //    notice, this list of conditions and the following disclaimer in the
  6312  //    documentation and/or other materials provided with the distribution.
  6313  // 3. All advertising materials mentioning features or use of this software
  6314  //    must display the following acknowledgement:
  6315  //	This product includes software developed by the University of
  6316  //	California, Berkeley and its contributors.
  6317  // 4. Neither the name of the University nor the names of its contributors
  6318  //    may be used to endorse or promote products derived from this software
  6319  //    without specific prior written permission.
  6320  //
  6321  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6322  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6323  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6324  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6325  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6326  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6327  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6328  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6329  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6330  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6331  // SUCH DAMAGE.
  6332  //
  6333  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6334  
  6335  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  6336  //
  6337  // @APPLE_LICENSE_HEADER_START@
  6338  //
  6339  // This file contains Original Code and/or Modifications of Original Code
  6340  // as defined in and that are subject to the Apple Public Source License
  6341  // Version 2.0 (the 'License'). You may not use this file except in
  6342  // compliance with the License. Please obtain a copy of the License at
  6343  // http://www.opensource.apple.com/apsl/ and read it before using this
  6344  // file.
  6345  //
  6346  // The Original Code and all software distributed under the License are
  6347  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6348  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6349  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6350  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6351  // Please see the License for the specific language governing rights and
  6352  // limitations under the License.
  6353  //
  6354  // @APPLE_LICENSE_HEADER_END@
  6355  
  6356  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  6357  //
  6358  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6359  //
  6360  // This file contains Original Code and/or Modifications of Original Code
  6361  // as defined in and that are subject to the Apple Public Source License
  6362  // Version 2.0 (the 'License'). You may not use this file except in
  6363  // compliance with the License. The rights granted to you under the License
  6364  // may not be used to create, or enable the creation or redistribution of,
  6365  // unlawful or unlicensed copies of an Apple operating system, or to
  6366  // circumvent, violate, or enable the circumvention or violation of, any
  6367  // terms of an Apple operating system software license agreement.
  6368  //
  6369  // Please obtain a copy of the License at
  6370  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6371  //
  6372  // The Original Code and all software distributed under the License are
  6373  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6374  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6375  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6376  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6377  // Please see the License for the specific language governing rights and
  6378  // limitations under the License.
  6379  //
  6380  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6381  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  6382  // Copyright (c) 1982, 1986, 1989, 1993, 1994
  6383  //	The Regents of the University of California.  All rights reserved.
  6384  //
  6385  // Redistribution and use in source and binary forms, with or without
  6386  // modification, are permitted provided that the following conditions
  6387  // are met:
  6388  // 1. Redistributions of source code must retain the above copyright
  6389  //    notice, this list of conditions and the following disclaimer.
  6390  // 2. Redistributions in binary form must reproduce the above copyright
  6391  //    notice, this list of conditions and the following disclaimer in the
  6392  //    documentation and/or other materials provided with the distribution.
  6393  // 3. All advertising materials mentioning features or use of this software
  6394  //    must display the following acknowledgement:
  6395  //	This product includes software developed by the University of
  6396  //	California, Berkeley and its contributors.
  6397  // 4. Neither the name of the University nor the names of its contributors
  6398  //    may be used to endorse or promote products derived from this software
  6399  //    without specific prior written permission.
  6400  //
  6401  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6402  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6403  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6404  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6405  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6406  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6407  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6408  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6409  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6410  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6411  // SUCH DAMAGE.
  6412  //
  6413  //	@(#)wait.h	8.2 (Berkeley) 7/10/94
  6414  
  6415  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6416  //
  6417  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6418  //
  6419  // This file contains Original Code and/or Modifications of Original Code
  6420  // as defined in and that are subject to the Apple Public Source License
  6421  // Version 2.0 (the 'License'). You may not use this file except in
  6422  // compliance with the License. The rights granted to you under the License
  6423  // may not be used to create, or enable the creation or redistribution of,
  6424  // unlawful or unlicensed copies of an Apple operating system, or to
  6425  // circumvent, violate, or enable the circumvention or violation of, any
  6426  // terms of an Apple operating system software license agreement.
  6427  //
  6428  // Please obtain a copy of the License at
  6429  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6430  //
  6431  // The Original Code and all software distributed under the License are
  6432  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6433  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6434  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6435  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6436  // Please see the License for the specific language governing rights and
  6437  // limitations under the License.
  6438  //
  6439  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6440  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6441  // Copyright (c) 1991, 1993
  6442  //	The Regents of the University of California.  All rights reserved.
  6443  //
  6444  // This code is derived from software contributed to Berkeley by
  6445  // Berkeley Software Design, Inc.
  6446  //
  6447  // Redistribution and use in source and binary forms, with or without
  6448  // modification, are permitted provided that the following conditions
  6449  // are met:
  6450  // 1. Redistributions of source code must retain the above copyright
  6451  //    notice, this list of conditions and the following disclaimer.
  6452  // 2. Redistributions in binary form must reproduce the above copyright
  6453  //    notice, this list of conditions and the following disclaimer in the
  6454  //    documentation and/or other materials provided with the distribution.
  6455  // 3. All advertising materials mentioning features or use of this software
  6456  //    must display the following acknowledgement:
  6457  //	This product includes software developed by the University of
  6458  //	California, Berkeley and its contributors.
  6459  // 4. Neither the name of the University nor the names of its contributors
  6460  //    may be used to endorse or promote products derived from this software
  6461  //    without specific prior written permission.
  6462  //
  6463  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6464  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6465  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6466  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6467  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6468  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6469  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6470  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6471  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6472  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6473  // SUCH DAMAGE.
  6474  //
  6475  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6476  
  6477  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6478  //
  6479  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6480  //
  6481  // This file contains Original Code and/or Modifications of Original Code
  6482  // as defined in and that are subject to the Apple Public Source License
  6483  // Version 2.0 (the 'License'). You may not use this file except in
  6484  // compliance with the License. The rights granted to you under the License
  6485  // may not be used to create, or enable the creation or redistribution of,
  6486  // unlawful or unlicensed copies of an Apple operating system, or to
  6487  // circumvent, violate, or enable the circumvention or violation of, any
  6488  // terms of an Apple operating system software license agreement.
  6489  //
  6490  // Please obtain a copy of the License at
  6491  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6492  //
  6493  // The Original Code and all software distributed under the License are
  6494  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6495  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6496  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6497  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6498  // Please see the License for the specific language governing rights and
  6499  // limitations under the License.
  6500  //
  6501  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6502  
  6503  // This file holds definitions relevent to the wait4 system call
  6504  // and the alternate interfaces that use it (wait, wait3, waitpid).
  6505  
  6506  // [XSI] The type idtype_t shall be defined as an enumeration type whose
  6507  // possible values shall include at least P_ALL, P_PID, and P_PGID.
  6508  type idtype_t = uint32 /* wait.h:83:3 */
  6509  
  6510  // [XSI] The id_t and pid_t types shall be defined as described
  6511  // in <sys/types.h>
  6512  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6513  //
  6514  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6515  //
  6516  // This file contains Original Code and/or Modifications of Original Code
  6517  // as defined in and that are subject to the Apple Public Source License
  6518  // Version 2.0 (the 'License'). You may not use this file except in
  6519  // compliance with the License. The rights granted to you under the License
  6520  // may not be used to create, or enable the creation or redistribution of,
  6521  // unlawful or unlicensed copies of an Apple operating system, or to
  6522  // circumvent, violate, or enable the circumvention or violation of, any
  6523  // terms of an Apple operating system software license agreement.
  6524  //
  6525  // Please obtain a copy of the License at
  6526  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6527  //
  6528  // The Original Code and all software distributed under the License are
  6529  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6530  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6531  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6532  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6533  // Please see the License for the specific language governing rights and
  6534  // limitations under the License.
  6535  //
  6536  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6537  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6538  //
  6539  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6540  //
  6541  // This file contains Original Code and/or Modifications of Original Code
  6542  // as defined in and that are subject to the Apple Public Source License
  6543  // Version 2.0 (the 'License'). You may not use this file except in
  6544  // compliance with the License. The rights granted to you under the License
  6545  // may not be used to create, or enable the creation or redistribution of,
  6546  // unlawful or unlicensed copies of an Apple operating system, or to
  6547  // circumvent, violate, or enable the circumvention or violation of, any
  6548  // terms of an Apple operating system software license agreement.
  6549  //
  6550  // Please obtain a copy of the License at
  6551  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6552  //
  6553  // The Original Code and all software distributed under the License are
  6554  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6555  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6556  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6557  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6558  // Please see the License for the specific language governing rights and
  6559  // limitations under the License.
  6560  //
  6561  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6562  
  6563  // [XSI] The siginfo_t type shall be defined as described in <signal.h>
  6564  // [XSI] The rusage structure shall be defined as described in <sys/resource.h>
  6565  // [XSI] Inclusion of the <sys/wait.h> header may also make visible all
  6566  // symbols from <signal.h> and <sys/resource.h>
  6567  //
  6568  // NOTE:	This requirement is currently being satisfied by the direct
  6569  //		inclusion of <sys/signal.h> and <sys/resource.h>, below.
  6570  //
  6571  //		Software should not depend on the exposure of anything other
  6572  //		than the types siginfo_t and struct rusage as a result of
  6573  //		this inclusion.  If you depend on any types or manifest
  6574  //		values othe than siginfo_t and struct rusage from either of
  6575  //		those files, you should explicitly include them yourself, as
  6576  //		well, or in future releases your stware may not compile
  6577  //		without modification.
  6578  // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  6579  //
  6580  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6581  //
  6582  // This file contains Original Code and/or Modifications of Original Code
  6583  // as defined in and that are subject to the Apple Public Source License
  6584  // Version 2.0 (the 'License'). You may not use this file except in
  6585  // compliance with the License. The rights granted to you under the License
  6586  // may not be used to create, or enable the creation or redistribution of,
  6587  // unlawful or unlicensed copies of an Apple operating system, or to
  6588  // circumvent, violate, or enable the circumvention or violation of, any
  6589  // terms of an Apple operating system software license agreement.
  6590  //
  6591  // Please obtain a copy of the License at
  6592  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6593  //
  6594  // The Original Code and all software distributed under the License are
  6595  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6596  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6597  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6598  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6599  // Please see the License for the specific language governing rights and
  6600  // limitations under the License.
  6601  //
  6602  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6603  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  6604  // Copyright (c) 1982, 1986, 1989, 1991, 1993
  6605  //	The Regents of the University of California.  All rights reserved.
  6606  // (c) UNIX System Laboratories, Inc.
  6607  // All or some portions of this file are derived from material licensed
  6608  // to the University of California by American Telephone and Telegraph
  6609  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  6610  // the permission of UNIX System Laboratories, Inc.
  6611  //
  6612  // Redistribution and use in source and binary forms, with or without
  6613  // modification, are permitted provided that the following conditions
  6614  // are met:
  6615  // 1. Redistributions of source code must retain the above copyright
  6616  //    notice, this list of conditions and the following disclaimer.
  6617  // 2. Redistributions in binary form must reproduce the above copyright
  6618  //    notice, this list of conditions and the following disclaimer in the
  6619  //    documentation and/or other materials provided with the distribution.
  6620  // 3. All advertising materials mentioning features or use of this software
  6621  //    must display the following acknowledgement:
  6622  //	This product includes software developed by the University of
  6623  //	California, Berkeley and its contributors.
  6624  // 4. Neither the name of the University nor the names of its contributors
  6625  //    may be used to endorse or promote products derived from this software
  6626  //    without specific prior written permission.
  6627  //
  6628  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6629  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6630  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6631  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6632  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6633  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6634  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6635  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6636  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6637  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6638  // SUCH DAMAGE.
  6639  //
  6640  //	@(#)signal.h	8.2 (Berkeley) 1/21/94
  6641  
  6642  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6643  //
  6644  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6645  //
  6646  // This file contains Original Code and/or Modifications of Original Code
  6647  // as defined in and that are subject to the Apple Public Source License
  6648  // Version 2.0 (the 'License'). You may not use this file except in
  6649  // compliance with the License. The rights granted to you under the License
  6650  // may not be used to create, or enable the creation or redistribution of,
  6651  // unlawful or unlicensed copies of an Apple operating system, or to
  6652  // circumvent, violate, or enable the circumvention or violation of, any
  6653  // terms of an Apple operating system software license agreement.
  6654  //
  6655  // Please obtain a copy of the License at
  6656  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6657  //
  6658  // The Original Code and all software distributed under the License are
  6659  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6660  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6661  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6662  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6663  // Please see the License for the specific language governing rights and
  6664  // limitations under the License.
  6665  //
  6666  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6667  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6668  // Copyright (c) 1991, 1993
  6669  //	The Regents of the University of California.  All rights reserved.
  6670  //
  6671  // This code is derived from software contributed to Berkeley by
  6672  // Berkeley Software Design, Inc.
  6673  //
  6674  // Redistribution and use in source and binary forms, with or without
  6675  // modification, are permitted provided that the following conditions
  6676  // are met:
  6677  // 1. Redistributions of source code must retain the above copyright
  6678  //    notice, this list of conditions and the following disclaimer.
  6679  // 2. Redistributions in binary form must reproduce the above copyright
  6680  //    notice, this list of conditions and the following disclaimer in the
  6681  //    documentation and/or other materials provided with the distribution.
  6682  // 3. All advertising materials mentioning features or use of this software
  6683  //    must display the following acknowledgement:
  6684  //	This product includes software developed by the University of
  6685  //	California, Berkeley and its contributors.
  6686  // 4. Neither the name of the University nor the names of its contributors
  6687  //    may be used to endorse or promote products derived from this software
  6688  //    without specific prior written permission.
  6689  //
  6690  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6691  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6692  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6693  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6694  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6695  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6696  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6697  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6698  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6699  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6700  // SUCH DAMAGE.
  6701  //
  6702  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6703  
  6704  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  6705  //
  6706  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6707  //
  6708  // This file contains Original Code and/or Modifications of Original Code
  6709  // as defined in and that are subject to the Apple Public Source License
  6710  // Version 2.0 (the 'License'). You may not use this file except in
  6711  // compliance with the License. The rights granted to you under the License
  6712  // may not be used to create, or enable the creation or redistribution of,
  6713  // unlawful or unlicensed copies of an Apple operating system, or to
  6714  // circumvent, violate, or enable the circumvention or violation of, any
  6715  // terms of an Apple operating system software license agreement.
  6716  //
  6717  // Please obtain a copy of the License at
  6718  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6719  //
  6720  // The Original Code and all software distributed under the License are
  6721  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6722  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6723  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6724  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6725  // Please see the License for the specific language governing rights and
  6726  // limitations under the License.
  6727  //
  6728  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6729  
  6730  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6731  //
  6732  // @APPLE_LICENSE_HEADER_START@
  6733  //
  6734  // This file contains Original Code and/or Modifications of Original Code
  6735  // as defined in and that are subject to the Apple Public Source License
  6736  // Version 2.0 (the 'License'). You may not use this file except in
  6737  // compliance with the License. Please obtain a copy of the License at
  6738  // http://www.opensource.apple.com/apsl/ and read it before using this
  6739  // file.
  6740  //
  6741  // The Original Code and all software distributed under the License are
  6742  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6743  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6744  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6745  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6746  // Please see the License for the specific language governing rights and
  6747  // limitations under the License.
  6748  //
  6749  // @APPLE_LICENSE_HEADER_END@
  6750  
  6751  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  6752  //
  6753  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6754  //
  6755  // This file contains Original Code and/or Modifications of Original Code
  6756  // as defined in and that are subject to the Apple Public Source License
  6757  // Version 2.0 (the 'License'). You may not use this file except in
  6758  // compliance with the License. The rights granted to you under the License
  6759  // may not be used to create, or enable the creation or redistribution of,
  6760  // unlawful or unlicensed copies of an Apple operating system, or to
  6761  // circumvent, violate, or enable the circumvention or violation of, any
  6762  // terms of an Apple operating system software license agreement.
  6763  //
  6764  // Please obtain a copy of the License at
  6765  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6766  //
  6767  // The Original Code and all software distributed under the License are
  6768  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6769  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6770  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6771  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6772  // Please see the License for the specific language governing rights and
  6773  // limitations under the License.
  6774  //
  6775  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6776  
  6777  // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  6778  //
  6779  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6780  //
  6781  // This file contains Original Code and/or Modifications of Original Code
  6782  // as defined in and that are subject to the Apple Public Source License
  6783  // Version 2.0 (the 'License'). You may not use this file except in
  6784  // compliance with the License. The rights granted to you under the License
  6785  // may not be used to create, or enable the creation or redistribution of,
  6786  // unlawful or unlicensed copies of an Apple operating system, or to
  6787  // circumvent, violate, or enable the circumvention or violation of, any
  6788  // terms of an Apple operating system software license agreement.
  6789  //
  6790  // Please obtain a copy of the License at
  6791  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6792  //
  6793  // The Original Code and all software distributed under the License are
  6794  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6795  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6796  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6797  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6798  // Please see the License for the specific language governing rights and
  6799  // limitations under the License.
  6800  //
  6801  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6802  // Copyright (c) 1992 NeXT Computer, Inc.
  6803  //
  6804  
  6805  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6806  //
  6807  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6808  //
  6809  // This file contains Original Code and/or Modifications of Original Code
  6810  // as defined in and that are subject to the Apple Public Source License
  6811  // Version 2.0 (the 'License'). You may not use this file except in
  6812  // compliance with the License. The rights granted to you under the License
  6813  // may not be used to create, or enable the creation or redistribution of,
  6814  // unlawful or unlicensed copies of an Apple operating system, or to
  6815  // circumvent, violate, or enable the circumvention or violation of, any
  6816  // terms of an Apple operating system software license agreement.
  6817  //
  6818  // Please obtain a copy of the License at
  6819  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6820  //
  6821  // The Original Code and all software distributed under the License are
  6822  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6823  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6824  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6825  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6826  // Please see the License for the specific language governing rights and
  6827  // limitations under the License.
  6828  //
  6829  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6830  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6831  // Copyright (c) 1991, 1993
  6832  //	The Regents of the University of California.  All rights reserved.
  6833  //
  6834  // This code is derived from software contributed to Berkeley by
  6835  // Berkeley Software Design, Inc.
  6836  //
  6837  // Redistribution and use in source and binary forms, with or without
  6838  // modification, are permitted provided that the following conditions
  6839  // are met:
  6840  // 1. Redistributions of source code must retain the above copyright
  6841  //    notice, this list of conditions and the following disclaimer.
  6842  // 2. Redistributions in binary form must reproduce the above copyright
  6843  //    notice, this list of conditions and the following disclaimer in the
  6844  //    documentation and/or other materials provided with the distribution.
  6845  // 3. All advertising materials mentioning features or use of this software
  6846  //    must display the following acknowledgement:
  6847  //	This product includes software developed by the University of
  6848  //	California, Berkeley and its contributors.
  6849  // 4. Neither the name of the University nor the names of its contributors
  6850  //    may be used to endorse or promote products derived from this software
  6851  //    without specific prior written permission.
  6852  //
  6853  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6854  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6855  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6856  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6857  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6858  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6859  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6860  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6861  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6862  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6863  // SUCH DAMAGE.
  6864  //
  6865  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6866  
  6867  type sig_atomic_t = int32 /* signal.h:39:13 */
  6868  
  6869  // Language spec sez we must list exactly one parameter, even though we
  6870  // actually supply three.  Ugh!
  6871  // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h>
  6872  
  6873  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6874  //
  6875  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6876  //
  6877  // This file contains Original Code and/or Modifications of Original Code
  6878  // as defined in and that are subject to the Apple Public Source License
  6879  // Version 2.0 (the 'License'). You may not use this file except in
  6880  // compliance with the License. The rights granted to you under the License
  6881  // may not be used to create, or enable the creation or redistribution of,
  6882  // unlawful or unlicensed copies of an Apple operating system, or to
  6883  // circumvent, violate, or enable the circumvention or violation of, any
  6884  // terms of an Apple operating system software license agreement.
  6885  //
  6886  // Please obtain a copy of the License at
  6887  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6888  //
  6889  // The Original Code and all software distributed under the License are
  6890  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6891  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6892  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6893  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6894  // Please see the License for the specific language governing rights and
  6895  // limitations under the License.
  6896  //
  6897  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6898  
  6899  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6900  //
  6901  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6902  //
  6903  // This file contains Original Code and/or Modifications of Original Code
  6904  // as defined in and that are subject to the Apple Public Source License
  6905  // Version 2.0 (the 'License'). You may not use this file except in
  6906  // compliance with the License. The rights granted to you under the License
  6907  // may not be used to create, or enable the creation or redistribution of,
  6908  // unlawful or unlicensed copies of an Apple operating system, or to
  6909  // circumvent, violate, or enable the circumvention or violation of, any
  6910  // terms of an Apple operating system software license agreement.
  6911  //
  6912  // Please obtain a copy of the License at
  6913  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6914  //
  6915  // The Original Code and all software distributed under the License are
  6916  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6917  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6918  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6919  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6920  // Please see the License for the specific language governing rights and
  6921  // limitations under the License.
  6922  //
  6923  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6924  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6925  //
  6926  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6927  //
  6928  // This file contains Original Code and/or Modifications of Original Code
  6929  // as defined in and that are subject to the Apple Public Source License
  6930  // Version 2.0 (the 'License'). You may not use this file except in
  6931  // compliance with the License. The rights granted to you under the License
  6932  // may not be used to create, or enable the creation or redistribution of,
  6933  // unlawful or unlicensed copies of an Apple operating system, or to
  6934  // circumvent, violate, or enable the circumvention or violation of, any
  6935  // terms of an Apple operating system software license agreement.
  6936  //
  6937  // Please obtain a copy of the License at
  6938  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6939  //
  6940  // The Original Code and all software distributed under the License are
  6941  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6942  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6943  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6944  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6945  // Please see the License for the specific language governing rights and
  6946  // limitations under the License.
  6947  //
  6948  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6949  
  6950  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6951  //
  6952  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6953  //
  6954  // This file contains Original Code and/or Modifications of Original Code
  6955  // as defined in and that are subject to the Apple Public Source License
  6956  // Version 2.0 (the 'License'). You may not use this file except in
  6957  // compliance with the License. The rights granted to you under the License
  6958  // may not be used to create, or enable the creation or redistribution of,
  6959  // unlawful or unlicensed copies of an Apple operating system, or to
  6960  // circumvent, violate, or enable the circumvention or violation of, any
  6961  // terms of an Apple operating system software license agreement.
  6962  //
  6963  // Please obtain a copy of the License at
  6964  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6965  //
  6966  // The Original Code and all software distributed under the License are
  6967  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6968  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6969  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6970  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6971  // Please see the License for the specific language governing rights and
  6972  // limitations under the License.
  6973  //
  6974  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6975  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6976  // Copyright (c) 1991, 1993
  6977  //	The Regents of the University of California.  All rights reserved.
  6978  //
  6979  // This code is derived from software contributed to Berkeley by
  6980  // Berkeley Software Design, Inc.
  6981  //
  6982  // Redistribution and use in source and binary forms, with or without
  6983  // modification, are permitted provided that the following conditions
  6984  // are met:
  6985  // 1. Redistributions of source code must retain the above copyright
  6986  //    notice, this list of conditions and the following disclaimer.
  6987  // 2. Redistributions in binary form must reproduce the above copyright
  6988  //    notice, this list of conditions and the following disclaimer in the
  6989  //    documentation and/or other materials provided with the distribution.
  6990  // 3. All advertising materials mentioning features or use of this software
  6991  //    must display the following acknowledgement:
  6992  //	This product includes software developed by the University of
  6993  //	California, Berkeley and its contributors.
  6994  // 4. Neither the name of the University nor the names of its contributors
  6995  //    may be used to endorse or promote products derived from this software
  6996  //    without specific prior written permission.
  6997  //
  6998  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6999  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7000  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7001  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7002  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7003  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7004  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7005  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7006  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7007  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7008  // SUCH DAMAGE.
  7009  //
  7010  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7011  
  7012  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  7013  //
  7014  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7015  //
  7016  // This file contains Original Code and/or Modifications of Original Code
  7017  // as defined in and that are subject to the Apple Public Source License
  7018  // Version 2.0 (the 'License'). You may not use this file except in
  7019  // compliance with the License. The rights granted to you under the License
  7020  // may not be used to create, or enable the creation or redistribution of,
  7021  // unlawful or unlicensed copies of an Apple operating system, or to
  7022  // circumvent, violate, or enable the circumvention or violation of, any
  7023  // terms of an Apple operating system software license agreement.
  7024  //
  7025  // Please obtain a copy of the License at
  7026  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7027  //
  7028  // The Original Code and all software distributed under the License are
  7029  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7030  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7031  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7032  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7033  // Please see the License for the specific language governing rights and
  7034  // limitations under the License.
  7035  //
  7036  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7037  
  7038  // Copyright (c) 2017 Apple Inc. All rights reserved.
  7039  //
  7040  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7041  //
  7042  // This file contains Original Code and/or Modifications of Original Code
  7043  // as defined in and that are subject to the Apple Public Source License
  7044  // Version 2.0 (the 'License'). You may not use this file except in
  7045  // compliance with the License. The rights granted to you under the License
  7046  // may not be used to create, or enable the creation or redistribution of,
  7047  // unlawful or unlicensed copies of an Apple operating system, or to
  7048  // circumvent, violate, or enable the circumvention or violation of, any
  7049  // terms of an Apple operating system software license agreement.
  7050  //
  7051  // Please obtain a copy of the License at
  7052  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7053  //
  7054  // The Original Code and all software distributed under the License are
  7055  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7056  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7057  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7058  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7059  // Please see the License for the specific language governing rights and
  7060  // limitations under the License.
  7061  //
  7062  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7063  
  7064  // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
  7065  //
  7066  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7067  //
  7068  // This file contains Original Code and/or Modifications of Original Code
  7069  // as defined in and that are subject to the Apple Public Source License
  7070  // Version 2.0 (the 'License'). You may not use this file except in
  7071  // compliance with the License. The rights granted to you under the License
  7072  // may not be used to create, or enable the creation or redistribution of,
  7073  // unlawful or unlicensed copies of an Apple operating system, or to
  7074  // circumvent, violate, or enable the circumvention or violation of, any
  7075  // terms of an Apple operating system software license agreement.
  7076  //
  7077  // Please obtain a copy of the License at
  7078  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7079  //
  7080  // The Original Code and all software distributed under the License are
  7081  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7082  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7083  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7084  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7085  // Please see the License for the specific language governing rights and
  7086  // limitations under the License.
  7087  //
  7088  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7089  // @OSF_COPYRIGHT@
  7090  
  7091  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7092  //
  7093  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7094  //
  7095  // This file contains Original Code and/or Modifications of Original Code
  7096  // as defined in and that are subject to the Apple Public Source License
  7097  // Version 2.0 (the 'License'). You may not use this file except in
  7098  // compliance with the License. The rights granted to you under the License
  7099  // may not be used to create, or enable the creation or redistribution of,
  7100  // unlawful or unlicensed copies of an Apple operating system, or to
  7101  // circumvent, violate, or enable the circumvention or violation of, any
  7102  // terms of an Apple operating system software license agreement.
  7103  //
  7104  // Please obtain a copy of the License at
  7105  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7106  //
  7107  // The Original Code and all software distributed under the License are
  7108  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7109  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7110  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7111  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7112  // Please see the License for the specific language governing rights and
  7113  // limitations under the License.
  7114  //
  7115  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7116  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7117  // Copyright (c) 1991, 1993
  7118  //	The Regents of the University of California.  All rights reserved.
  7119  //
  7120  // This code is derived from software contributed to Berkeley by
  7121  // Berkeley Software Design, Inc.
  7122  //
  7123  // Redistribution and use in source and binary forms, with or without
  7124  // modification, are permitted provided that the following conditions
  7125  // are met:
  7126  // 1. Redistributions of source code must retain the above copyright
  7127  //    notice, this list of conditions and the following disclaimer.
  7128  // 2. Redistributions in binary form must reproduce the above copyright
  7129  //    notice, this list of conditions and the following disclaimer in the
  7130  //    documentation and/or other materials provided with the distribution.
  7131  // 3. All advertising materials mentioning features or use of this software
  7132  //    must display the following acknowledgement:
  7133  //	This product includes software developed by the University of
  7134  //	California, Berkeley and its contributors.
  7135  // 4. Neither the name of the University nor the names of its contributors
  7136  //    may be used to endorse or promote products derived from this software
  7137  //    without specific prior written permission.
  7138  //
  7139  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7140  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7141  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7142  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7143  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7144  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7145  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7146  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7147  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7148  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7149  // SUCH DAMAGE.
  7150  //
  7151  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7152  
  7153  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  7154  //
  7155  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7156  //
  7157  // This file contains Original Code and/or Modifications of Original Code
  7158  // as defined in and that are subject to the Apple Public Source License
  7159  // Version 2.0 (the 'License'). You may not use this file except in
  7160  // compliance with the License. The rights granted to you under the License
  7161  // may not be used to create, or enable the creation or redistribution of,
  7162  // unlawful or unlicensed copies of an Apple operating system, or to
  7163  // circumvent, violate, or enable the circumvention or violation of, any
  7164  // terms of an Apple operating system software license agreement.
  7165  //
  7166  // Please obtain a copy of the License at
  7167  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7168  //
  7169  // The Original Code and all software distributed under the License are
  7170  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7171  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7172  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7173  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7174  // Please see the License for the specific language governing rights and
  7175  // limitations under the License.
  7176  //
  7177  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7178  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7179  
  7180  // i386 is the structure that is exported to user threads for
  7181  // use in status/mutate calls.  This structure should never change.
  7182  //
  7183  
  7184  type __darwin_i386_thread_state = struct {
  7185  	__eax    uint32
  7186  	__ebx    uint32
  7187  	__ecx    uint32
  7188  	__edx    uint32
  7189  	__edi    uint32
  7190  	__esi    uint32
  7191  	__ebp    uint32
  7192  	__esp    uint32
  7193  	__ss     uint32
  7194  	__eflags uint32
  7195  	__eip    uint32
  7196  	__cs     uint32
  7197  	__ds     uint32
  7198  	__es     uint32
  7199  	__fs     uint32
  7200  	__gs     uint32
  7201  } /* _structs.h:46:1 */
  7202  
  7203  // This structure should be double-word aligned for performance
  7204  
  7205  type __darwin_fp_control = struct {
  7206  	_         [0]uint16
  7207  	__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 */
  7208  } /* _structs.h:92:1 */
  7209  
  7210  // Status word.
  7211  
  7212  type __darwin_fp_status = struct {
  7213  	_         [0]uint16
  7214  	__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 */
  7215  } /* _structs.h:150:1 */
  7216  
  7217  // defn of 80bit x87 FPU or MMX register
  7218  
  7219  type __darwin_mmst_reg = struct {
  7220  	__mmst_reg  [10]int8
  7221  	__mmst_rsrv [6]int8
  7222  } /* _structs.h:194:1 */
  7223  
  7224  // defn of 128 bit XMM regs
  7225  
  7226  type __darwin_xmm_reg = struct{ __xmm_reg [16]int8 } /* _structs.h:213:1 */
  7227  
  7228  // defn of 256 bit YMM regs
  7229  
  7230  type __darwin_ymm_reg = struct{ __ymm_reg [32]int8 } /* _structs.h:229:1 */
  7231  
  7232  // defn of 512 bit ZMM regs
  7233  
  7234  type __darwin_zmm_reg = struct{ __zmm_reg [64]int8 } /* _structs.h:245:1 */
  7235  
  7236  type __darwin_opmask_reg = struct{ __opmask_reg [8]int8 } /* _structs.h:259:1 */
  7237  
  7238  // Floating point state.
  7239  
  7240  type __darwin_i386_float_state = struct {
  7241  	__fpu_reserved [2]int32
  7242  	__fpu_fcw      struct {
  7243  		_         [0]uint16
  7244  		__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 */
  7245  	}
  7246  	__fpu_fsw struct {
  7247  		_         [0]uint16
  7248  		__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 */
  7249  	}
  7250  	__fpu_ftw       uint8
  7251  	__fpu_rsrv1     uint8
  7252  	__fpu_fop       uint16
  7253  	__fpu_ip        uint32
  7254  	__fpu_cs        uint16
  7255  	__fpu_rsrv2     uint16
  7256  	__fpu_dp        uint32
  7257  	__fpu_ds        uint16
  7258  	__fpu_rsrv3     uint16
  7259  	__fpu_mxcsr     uint32
  7260  	__fpu_mxcsrmask uint32
  7261  	__fpu_stmm0     struct {
  7262  		__mmst_reg  [10]int8
  7263  		__mmst_rsrv [6]int8
  7264  	}
  7265  	__fpu_stmm1 struct {
  7266  		__mmst_reg  [10]int8
  7267  		__mmst_rsrv [6]int8
  7268  	}
  7269  	__fpu_stmm2 struct {
  7270  		__mmst_reg  [10]int8
  7271  		__mmst_rsrv [6]int8
  7272  	}
  7273  	__fpu_stmm3 struct {
  7274  		__mmst_reg  [10]int8
  7275  		__mmst_rsrv [6]int8
  7276  	}
  7277  	__fpu_stmm4 struct {
  7278  		__mmst_reg  [10]int8
  7279  		__mmst_rsrv [6]int8
  7280  	}
  7281  	__fpu_stmm5 struct {
  7282  		__mmst_reg  [10]int8
  7283  		__mmst_rsrv [6]int8
  7284  	}
  7285  	__fpu_stmm6 struct {
  7286  		__mmst_reg  [10]int8
  7287  		__mmst_rsrv [6]int8
  7288  	}
  7289  	__fpu_stmm7 struct {
  7290  		__mmst_reg  [10]int8
  7291  		__mmst_rsrv [6]int8
  7292  	}
  7293  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7294  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7295  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7296  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7297  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7298  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7299  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7300  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7301  	__fpu_rsrv4     [224]int8
  7302  	__fpu_reserved1 int32
  7303  } /* _structs.h:281:1 */
  7304  
  7305  type __darwin_i386_avx_state = struct {
  7306  	__fpu_reserved [2]int32
  7307  	__fpu_fcw      struct {
  7308  		_         [0]uint16
  7309  		__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 */
  7310  	}
  7311  	__fpu_fsw struct {
  7312  		_         [0]uint16
  7313  		__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 */
  7314  	}
  7315  	__fpu_ftw       uint8
  7316  	__fpu_rsrv1     uint8
  7317  	__fpu_fop       uint16
  7318  	__fpu_ip        uint32
  7319  	__fpu_cs        uint16
  7320  	__fpu_rsrv2     uint16
  7321  	__fpu_dp        uint32
  7322  	__fpu_ds        uint16
  7323  	__fpu_rsrv3     uint16
  7324  	__fpu_mxcsr     uint32
  7325  	__fpu_mxcsrmask uint32
  7326  	__fpu_stmm0     struct {
  7327  		__mmst_reg  [10]int8
  7328  		__mmst_rsrv [6]int8
  7329  	}
  7330  	__fpu_stmm1 struct {
  7331  		__mmst_reg  [10]int8
  7332  		__mmst_rsrv [6]int8
  7333  	}
  7334  	__fpu_stmm2 struct {
  7335  		__mmst_reg  [10]int8
  7336  		__mmst_rsrv [6]int8
  7337  	}
  7338  	__fpu_stmm3 struct {
  7339  		__mmst_reg  [10]int8
  7340  		__mmst_rsrv [6]int8
  7341  	}
  7342  	__fpu_stmm4 struct {
  7343  		__mmst_reg  [10]int8
  7344  		__mmst_rsrv [6]int8
  7345  	}
  7346  	__fpu_stmm5 struct {
  7347  		__mmst_reg  [10]int8
  7348  		__mmst_rsrv [6]int8
  7349  	}
  7350  	__fpu_stmm6 struct {
  7351  		__mmst_reg  [10]int8
  7352  		__mmst_rsrv [6]int8
  7353  	}
  7354  	__fpu_stmm7 struct {
  7355  		__mmst_reg  [10]int8
  7356  		__mmst_rsrv [6]int8
  7357  	}
  7358  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7359  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7360  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7361  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7362  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7363  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7364  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7365  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7366  	__fpu_rsrv4     [224]int8
  7367  	__fpu_reserved1 int32
  7368  	__avx_reserved1 [64]int8
  7369  	__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  7370  	__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  7371  	__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  7372  	__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  7373  	__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  7374  	__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  7375  	__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  7376  	__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  7377  } /* _structs.h:318:1 */
  7378  
  7379  type __darwin_i386_avx512_state = struct {
  7380  	__fpu_reserved [2]int32
  7381  	__fpu_fcw      struct {
  7382  		_         [0]uint16
  7383  		__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 */
  7384  	}
  7385  	__fpu_fsw struct {
  7386  		_         [0]uint16
  7387  		__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 */
  7388  	}
  7389  	__fpu_ftw       uint8
  7390  	__fpu_rsrv1     uint8
  7391  	__fpu_fop       uint16
  7392  	__fpu_ip        uint32
  7393  	__fpu_cs        uint16
  7394  	__fpu_rsrv2     uint16
  7395  	__fpu_dp        uint32
  7396  	__fpu_ds        uint16
  7397  	__fpu_rsrv3     uint16
  7398  	__fpu_mxcsr     uint32
  7399  	__fpu_mxcsrmask uint32
  7400  	__fpu_stmm0     struct {
  7401  		__mmst_reg  [10]int8
  7402  		__mmst_rsrv [6]int8
  7403  	}
  7404  	__fpu_stmm1 struct {
  7405  		__mmst_reg  [10]int8
  7406  		__mmst_rsrv [6]int8
  7407  	}
  7408  	__fpu_stmm2 struct {
  7409  		__mmst_reg  [10]int8
  7410  		__mmst_rsrv [6]int8
  7411  	}
  7412  	__fpu_stmm3 struct {
  7413  		__mmst_reg  [10]int8
  7414  		__mmst_rsrv [6]int8
  7415  	}
  7416  	__fpu_stmm4 struct {
  7417  		__mmst_reg  [10]int8
  7418  		__mmst_rsrv [6]int8
  7419  	}
  7420  	__fpu_stmm5 struct {
  7421  		__mmst_reg  [10]int8
  7422  		__mmst_rsrv [6]int8
  7423  	}
  7424  	__fpu_stmm6 struct {
  7425  		__mmst_reg  [10]int8
  7426  		__mmst_rsrv [6]int8
  7427  	}
  7428  	__fpu_stmm7 struct {
  7429  		__mmst_reg  [10]int8
  7430  		__mmst_rsrv [6]int8
  7431  	}
  7432  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7433  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7434  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7435  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7436  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7437  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7438  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7439  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7440  	__fpu_rsrv4     [224]int8
  7441  	__fpu_reserved1 int32
  7442  	__avx_reserved1 [64]int8
  7443  	__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  7444  	__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  7445  	__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  7446  	__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  7447  	__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  7448  	__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  7449  	__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  7450  	__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  7451  	__fpu_k0        struct{ __opmask_reg [8]int8 }
  7452  	__fpu_k1        struct{ __opmask_reg [8]int8 }
  7453  	__fpu_k2        struct{ __opmask_reg [8]int8 }
  7454  	__fpu_k3        struct{ __opmask_reg [8]int8 }
  7455  	__fpu_k4        struct{ __opmask_reg [8]int8 }
  7456  	__fpu_k5        struct{ __opmask_reg [8]int8 }
  7457  	__fpu_k6        struct{ __opmask_reg [8]int8 }
  7458  	__fpu_k7        struct{ __opmask_reg [8]int8 }
  7459  	__fpu_zmmh0     struct{ __ymm_reg [32]int8 }
  7460  	__fpu_zmmh1     struct{ __ymm_reg [32]int8 }
  7461  	__fpu_zmmh2     struct{ __ymm_reg [32]int8 }
  7462  	__fpu_zmmh3     struct{ __ymm_reg [32]int8 }
  7463  	__fpu_zmmh4     struct{ __ymm_reg [32]int8 }
  7464  	__fpu_zmmh5     struct{ __ymm_reg [32]int8 }
  7465  	__fpu_zmmh6     struct{ __ymm_reg [32]int8 }
  7466  	__fpu_zmmh7     struct{ __ymm_reg [32]int8 }
  7467  } /* _structs.h:364:1 */
  7468  
  7469  type __darwin_i386_exception_state = struct {
  7470  	__trapno     uint16
  7471  	__cpu        uint16
  7472  	__err        uint32
  7473  	__faultvaddr uint32
  7474  } /* _structs.h:575:1 */
  7475  
  7476  type __darwin_x86_debug_state32 = struct {
  7477  	__dr0 uint32
  7478  	__dr1 uint32
  7479  	__dr2 uint32
  7480  	__dr3 uint32
  7481  	__dr4 uint32
  7482  	__dr5 uint32
  7483  	__dr6 uint32
  7484  	__dr7 uint32
  7485  } /* _structs.h:595:1 */
  7486  
  7487  type __x86_pagein_state = struct{ __pagein_error int32 } /* _structs.h:622:1 */
  7488  
  7489  // 64 bit versions of the above
  7490  
  7491  type __darwin_x86_thread_state64 = struct {
  7492  	__rax    uint64
  7493  	__rbx    uint64
  7494  	__rcx    uint64
  7495  	__rdx    uint64
  7496  	__rdi    uint64
  7497  	__rsi    uint64
  7498  	__rbp    uint64
  7499  	__rsp    uint64
  7500  	__r8     uint64
  7501  	__r9     uint64
  7502  	__r10    uint64
  7503  	__r11    uint64
  7504  	__r12    uint64
  7505  	__r13    uint64
  7506  	__r14    uint64
  7507  	__r15    uint64
  7508  	__rip    uint64
  7509  	__rflags uint64
  7510  	__cs     uint64
  7511  	__fs     uint64
  7512  	__gs     uint64
  7513  } /* _structs.h:633:1 */
  7514  
  7515  // 64 bit versions of the above (complete)
  7516  
  7517  type __darwin_x86_thread_full_state64 = struct {
  7518  	__ss64 struct {
  7519  		__rax    uint64
  7520  		__rbx    uint64
  7521  		__rcx    uint64
  7522  		__rdx    uint64
  7523  		__rdi    uint64
  7524  		__rsi    uint64
  7525  		__rbp    uint64
  7526  		__rsp    uint64
  7527  		__r8     uint64
  7528  		__r9     uint64
  7529  		__r10    uint64
  7530  		__r11    uint64
  7531  		__r12    uint64
  7532  		__r13    uint64
  7533  		__r14    uint64
  7534  		__r15    uint64
  7535  		__rip    uint64
  7536  		__rflags uint64
  7537  		__cs     uint64
  7538  		__fs     uint64
  7539  		__gs     uint64
  7540  	}
  7541  	__ds     uint64
  7542  	__es     uint64
  7543  	__ss     uint64
  7544  	__gsbase uint64
  7545  } /* _structs.h:691:1 */
  7546  
  7547  type __darwin_x86_float_state64 = struct {
  7548  	__fpu_reserved [2]int32
  7549  	__fpu_fcw      struct {
  7550  		_         [0]uint16
  7551  		__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 */
  7552  	}
  7553  	__fpu_fsw struct {
  7554  		_         [0]uint16
  7555  		__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 */
  7556  	}
  7557  	__fpu_ftw       uint8
  7558  	__fpu_rsrv1     uint8
  7559  	__fpu_fop       uint16
  7560  	__fpu_ip        uint32
  7561  	__fpu_cs        uint16
  7562  	__fpu_rsrv2     uint16
  7563  	__fpu_dp        uint32
  7564  	__fpu_ds        uint16
  7565  	__fpu_rsrv3     uint16
  7566  	__fpu_mxcsr     uint32
  7567  	__fpu_mxcsrmask uint32
  7568  	__fpu_stmm0     struct {
  7569  		__mmst_reg  [10]int8
  7570  		__mmst_rsrv [6]int8
  7571  	}
  7572  	__fpu_stmm1 struct {
  7573  		__mmst_reg  [10]int8
  7574  		__mmst_rsrv [6]int8
  7575  	}
  7576  	__fpu_stmm2 struct {
  7577  		__mmst_reg  [10]int8
  7578  		__mmst_rsrv [6]int8
  7579  	}
  7580  	__fpu_stmm3 struct {
  7581  		__mmst_reg  [10]int8
  7582  		__mmst_rsrv [6]int8
  7583  	}
  7584  	__fpu_stmm4 struct {
  7585  		__mmst_reg  [10]int8
  7586  		__mmst_rsrv [6]int8
  7587  	}
  7588  	__fpu_stmm5 struct {
  7589  		__mmst_reg  [10]int8
  7590  		__mmst_rsrv [6]int8
  7591  	}
  7592  	__fpu_stmm6 struct {
  7593  		__mmst_reg  [10]int8
  7594  		__mmst_rsrv [6]int8
  7595  	}
  7596  	__fpu_stmm7 struct {
  7597  		__mmst_reg  [10]int8
  7598  		__mmst_rsrv [6]int8
  7599  	}
  7600  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7601  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7602  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7603  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7604  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7605  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7606  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7607  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7608  	__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  7609  	__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  7610  	__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  7611  	__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  7612  	__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  7613  	__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  7614  	__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  7615  	__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  7616  	__fpu_rsrv4     [96]int8
  7617  	__fpu_reserved1 int32
  7618  } /* _structs.h:714:1 */
  7619  
  7620  type __darwin_x86_avx_state64 = struct {
  7621  	__fpu_reserved [2]int32
  7622  	__fpu_fcw      struct {
  7623  		_         [0]uint16
  7624  		__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 */
  7625  	}
  7626  	__fpu_fsw struct {
  7627  		_         [0]uint16
  7628  		__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 */
  7629  	}
  7630  	__fpu_ftw       uint8
  7631  	__fpu_rsrv1     uint8
  7632  	__fpu_fop       uint16
  7633  	__fpu_ip        uint32
  7634  	__fpu_cs        uint16
  7635  	__fpu_rsrv2     uint16
  7636  	__fpu_dp        uint32
  7637  	__fpu_ds        uint16
  7638  	__fpu_rsrv3     uint16
  7639  	__fpu_mxcsr     uint32
  7640  	__fpu_mxcsrmask uint32
  7641  	__fpu_stmm0     struct {
  7642  		__mmst_reg  [10]int8
  7643  		__mmst_rsrv [6]int8
  7644  	}
  7645  	__fpu_stmm1 struct {
  7646  		__mmst_reg  [10]int8
  7647  		__mmst_rsrv [6]int8
  7648  	}
  7649  	__fpu_stmm2 struct {
  7650  		__mmst_reg  [10]int8
  7651  		__mmst_rsrv [6]int8
  7652  	}
  7653  	__fpu_stmm3 struct {
  7654  		__mmst_reg  [10]int8
  7655  		__mmst_rsrv [6]int8
  7656  	}
  7657  	__fpu_stmm4 struct {
  7658  		__mmst_reg  [10]int8
  7659  		__mmst_rsrv [6]int8
  7660  	}
  7661  	__fpu_stmm5 struct {
  7662  		__mmst_reg  [10]int8
  7663  		__mmst_rsrv [6]int8
  7664  	}
  7665  	__fpu_stmm6 struct {
  7666  		__mmst_reg  [10]int8
  7667  		__mmst_rsrv [6]int8
  7668  	}
  7669  	__fpu_stmm7 struct {
  7670  		__mmst_reg  [10]int8
  7671  		__mmst_rsrv [6]int8
  7672  	}
  7673  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7674  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7675  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7676  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7677  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7678  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7679  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7680  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7681  	__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  7682  	__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  7683  	__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  7684  	__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  7685  	__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  7686  	__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  7687  	__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  7688  	__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  7689  	__fpu_rsrv4     [96]int8
  7690  	__fpu_reserved1 int32
  7691  	__avx_reserved1 [64]int8
  7692  	__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  7693  	__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  7694  	__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  7695  	__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  7696  	__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  7697  	__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  7698  	__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  7699  	__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  7700  	__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  7701  	__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  7702  	__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  7703  	__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  7704  	__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  7705  	__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  7706  	__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  7707  	__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  7708  } /* _structs.h:765:1 */
  7709  
  7710  type __darwin_x86_avx512_state64 = struct {
  7711  	__fpu_reserved [2]int32
  7712  	__fpu_fcw      struct {
  7713  		_         [0]uint16
  7714  		__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 */
  7715  	}
  7716  	__fpu_fsw struct {
  7717  		_         [0]uint16
  7718  		__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 */
  7719  	}
  7720  	__fpu_ftw       uint8
  7721  	__fpu_rsrv1     uint8
  7722  	__fpu_fop       uint16
  7723  	__fpu_ip        uint32
  7724  	__fpu_cs        uint16
  7725  	__fpu_rsrv2     uint16
  7726  	__fpu_dp        uint32
  7727  	__fpu_ds        uint16
  7728  	__fpu_rsrv3     uint16
  7729  	__fpu_mxcsr     uint32
  7730  	__fpu_mxcsrmask uint32
  7731  	__fpu_stmm0     struct {
  7732  		__mmst_reg  [10]int8
  7733  		__mmst_rsrv [6]int8
  7734  	}
  7735  	__fpu_stmm1 struct {
  7736  		__mmst_reg  [10]int8
  7737  		__mmst_rsrv [6]int8
  7738  	}
  7739  	__fpu_stmm2 struct {
  7740  		__mmst_reg  [10]int8
  7741  		__mmst_rsrv [6]int8
  7742  	}
  7743  	__fpu_stmm3 struct {
  7744  		__mmst_reg  [10]int8
  7745  		__mmst_rsrv [6]int8
  7746  	}
  7747  	__fpu_stmm4 struct {
  7748  		__mmst_reg  [10]int8
  7749  		__mmst_rsrv [6]int8
  7750  	}
  7751  	__fpu_stmm5 struct {
  7752  		__mmst_reg  [10]int8
  7753  		__mmst_rsrv [6]int8
  7754  	}
  7755  	__fpu_stmm6 struct {
  7756  		__mmst_reg  [10]int8
  7757  		__mmst_rsrv [6]int8
  7758  	}
  7759  	__fpu_stmm7 struct {
  7760  		__mmst_reg  [10]int8
  7761  		__mmst_rsrv [6]int8
  7762  	}
  7763  	__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7764  	__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7765  	__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7766  	__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7767  	__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7768  	__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7769  	__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7770  	__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7771  	__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  7772  	__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  7773  	__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  7774  	__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  7775  	__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  7776  	__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  7777  	__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  7778  	__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  7779  	__fpu_rsrv4     [96]int8
  7780  	__fpu_reserved1 int32
  7781  	__avx_reserved1 [64]int8
  7782  	__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  7783  	__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  7784  	__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  7785  	__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  7786  	__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  7787  	__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  7788  	__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  7789  	__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  7790  	__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  7791  	__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  7792  	__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  7793  	__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  7794  	__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  7795  	__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  7796  	__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  7797  	__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  7798  	__fpu_k0        struct{ __opmask_reg [8]int8 }
  7799  	__fpu_k1        struct{ __opmask_reg [8]int8 }
  7800  	__fpu_k2        struct{ __opmask_reg [8]int8 }
  7801  	__fpu_k3        struct{ __opmask_reg [8]int8 }
  7802  	__fpu_k4        struct{ __opmask_reg [8]int8 }
  7803  	__fpu_k5        struct{ __opmask_reg [8]int8 }
  7804  	__fpu_k6        struct{ __opmask_reg [8]int8 }
  7805  	__fpu_k7        struct{ __opmask_reg [8]int8 }
  7806  	__fpu_zmmh0     struct{ __ymm_reg [32]int8 }
  7807  	__fpu_zmmh1     struct{ __ymm_reg [32]int8 }
  7808  	__fpu_zmmh2     struct{ __ymm_reg [32]int8 }
  7809  	__fpu_zmmh3     struct{ __ymm_reg [32]int8 }
  7810  	__fpu_zmmh4     struct{ __ymm_reg [32]int8 }
  7811  	__fpu_zmmh5     struct{ __ymm_reg [32]int8 }
  7812  	__fpu_zmmh6     struct{ __ymm_reg [32]int8 }
  7813  	__fpu_zmmh7     struct{ __ymm_reg [32]int8 }
  7814  	__fpu_zmmh8     struct{ __ymm_reg [32]int8 }
  7815  	__fpu_zmmh9     struct{ __ymm_reg [32]int8 }
  7816  	__fpu_zmmh10    struct{ __ymm_reg [32]int8 }
  7817  	__fpu_zmmh11    struct{ __ymm_reg [32]int8 }
  7818  	__fpu_zmmh12    struct{ __ymm_reg [32]int8 }
  7819  	__fpu_zmmh13    struct{ __ymm_reg [32]int8 }
  7820  	__fpu_zmmh14    struct{ __ymm_reg [32]int8 }
  7821  	__fpu_zmmh15    struct{ __ymm_reg [32]int8 }
  7822  	__fpu_zmm16     struct{ __zmm_reg [64]int8 }
  7823  	__fpu_zmm17     struct{ __zmm_reg [64]int8 }
  7824  	__fpu_zmm18     struct{ __zmm_reg [64]int8 }
  7825  	__fpu_zmm19     struct{ __zmm_reg [64]int8 }
  7826  	__fpu_zmm20     struct{ __zmm_reg [64]int8 }
  7827  	__fpu_zmm21     struct{ __zmm_reg [64]int8 }
  7828  	__fpu_zmm22     struct{ __zmm_reg [64]int8 }
  7829  	__fpu_zmm23     struct{ __zmm_reg [64]int8 }
  7830  	__fpu_zmm24     struct{ __zmm_reg [64]int8 }
  7831  	__fpu_zmm25     struct{ __zmm_reg [64]int8 }
  7832  	__fpu_zmm26     struct{ __zmm_reg [64]int8 }
  7833  	__fpu_zmm27     struct{ __zmm_reg [64]int8 }
  7834  	__fpu_zmm28     struct{ __zmm_reg [64]int8 }
  7835  	__fpu_zmm29     struct{ __zmm_reg [64]int8 }
  7836  	__fpu_zmm30     struct{ __zmm_reg [64]int8 }
  7837  	__fpu_zmm31     struct{ __zmm_reg [64]int8 }
  7838  } /* _structs.h:833:1 */
  7839  
  7840  type __darwin_x86_exception_state64 = struct {
  7841  	__trapno     uint16
  7842  	__cpu        uint16
  7843  	__err        uint32
  7844  	__faultvaddr uint64
  7845  } /* _structs.h:1172:1 */
  7846  
  7847  type __darwin_x86_debug_state64 = struct {
  7848  	__dr0 uint64
  7849  	__dr1 uint64
  7850  	__dr2 uint64
  7851  	__dr3 uint64
  7852  	__dr4 uint64
  7853  	__dr5 uint64
  7854  	__dr6 uint64
  7855  	__dr7 uint64
  7856  } /* _structs.h:1192:1 */
  7857  
  7858  type __darwin_x86_cpmu_state64 = struct{ __ctrs [16]uint64 } /* _structs.h:1220:1 */
  7859  
  7860  type __darwin_mcontext32 = struct {
  7861  	__es struct {
  7862  		__trapno     uint16
  7863  		__cpu        uint16
  7864  		__err        uint32
  7865  		__faultvaddr uint32
  7866  	}
  7867  	__ss struct {
  7868  		__eax    uint32
  7869  		__ebx    uint32
  7870  		__ecx    uint32
  7871  		__edx    uint32
  7872  		__edi    uint32
  7873  		__esi    uint32
  7874  		__ebp    uint32
  7875  		__esp    uint32
  7876  		__ss     uint32
  7877  		__eflags uint32
  7878  		__eip    uint32
  7879  		__cs     uint32
  7880  		__ds     uint32
  7881  		__es     uint32
  7882  		__fs     uint32
  7883  		__gs     uint32
  7884  	}
  7885  	__fs struct {
  7886  		__fpu_reserved [2]int32
  7887  		__fpu_fcw      struct {
  7888  			_         [0]uint16
  7889  			__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 */
  7890  		}
  7891  		__fpu_fsw struct {
  7892  			_         [0]uint16
  7893  			__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 */
  7894  		}
  7895  		__fpu_ftw       uint8
  7896  		__fpu_rsrv1     uint8
  7897  		__fpu_fop       uint16
  7898  		__fpu_ip        uint32
  7899  		__fpu_cs        uint16
  7900  		__fpu_rsrv2     uint16
  7901  		__fpu_dp        uint32
  7902  		__fpu_ds        uint16
  7903  		__fpu_rsrv3     uint16
  7904  		__fpu_mxcsr     uint32
  7905  		__fpu_mxcsrmask uint32
  7906  		__fpu_stmm0     struct {
  7907  			__mmst_reg  [10]int8
  7908  			__mmst_rsrv [6]int8
  7909  		}
  7910  		__fpu_stmm1 struct {
  7911  			__mmst_reg  [10]int8
  7912  			__mmst_rsrv [6]int8
  7913  		}
  7914  		__fpu_stmm2 struct {
  7915  			__mmst_reg  [10]int8
  7916  			__mmst_rsrv [6]int8
  7917  		}
  7918  		__fpu_stmm3 struct {
  7919  			__mmst_reg  [10]int8
  7920  			__mmst_rsrv [6]int8
  7921  		}
  7922  		__fpu_stmm4 struct {
  7923  			__mmst_reg  [10]int8
  7924  			__mmst_rsrv [6]int8
  7925  		}
  7926  		__fpu_stmm5 struct {
  7927  			__mmst_reg  [10]int8
  7928  			__mmst_rsrv [6]int8
  7929  		}
  7930  		__fpu_stmm6 struct {
  7931  			__mmst_reg  [10]int8
  7932  			__mmst_rsrv [6]int8
  7933  		}
  7934  		__fpu_stmm7 struct {
  7935  			__mmst_reg  [10]int8
  7936  			__mmst_rsrv [6]int8
  7937  		}
  7938  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  7939  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  7940  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  7941  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  7942  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  7943  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  7944  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  7945  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  7946  		__fpu_rsrv4     [224]int8
  7947  		__fpu_reserved1 int32
  7948  	}
  7949  } /* _mcontext.h:39:1 */
  7950  
  7951  type __darwin_mcontext_avx32 = struct {
  7952  	__es struct {
  7953  		__trapno     uint16
  7954  		__cpu        uint16
  7955  		__err        uint32
  7956  		__faultvaddr uint32
  7957  	}
  7958  	__ss struct {
  7959  		__eax    uint32
  7960  		__ebx    uint32
  7961  		__ecx    uint32
  7962  		__edx    uint32
  7963  		__edi    uint32
  7964  		__esi    uint32
  7965  		__ebp    uint32
  7966  		__esp    uint32
  7967  		__ss     uint32
  7968  		__eflags uint32
  7969  		__eip    uint32
  7970  		__cs     uint32
  7971  		__ds     uint32
  7972  		__es     uint32
  7973  		__fs     uint32
  7974  		__gs     uint32
  7975  	}
  7976  	__fs struct {
  7977  		__fpu_reserved [2]int32
  7978  		__fpu_fcw      struct {
  7979  			_         [0]uint16
  7980  			__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 */
  7981  		}
  7982  		__fpu_fsw struct {
  7983  			_         [0]uint16
  7984  			__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 */
  7985  		}
  7986  		__fpu_ftw       uint8
  7987  		__fpu_rsrv1     uint8
  7988  		__fpu_fop       uint16
  7989  		__fpu_ip        uint32
  7990  		__fpu_cs        uint16
  7991  		__fpu_rsrv2     uint16
  7992  		__fpu_dp        uint32
  7993  		__fpu_ds        uint16
  7994  		__fpu_rsrv3     uint16
  7995  		__fpu_mxcsr     uint32
  7996  		__fpu_mxcsrmask uint32
  7997  		__fpu_stmm0     struct {
  7998  			__mmst_reg  [10]int8
  7999  			__mmst_rsrv [6]int8
  8000  		}
  8001  		__fpu_stmm1 struct {
  8002  			__mmst_reg  [10]int8
  8003  			__mmst_rsrv [6]int8
  8004  		}
  8005  		__fpu_stmm2 struct {
  8006  			__mmst_reg  [10]int8
  8007  			__mmst_rsrv [6]int8
  8008  		}
  8009  		__fpu_stmm3 struct {
  8010  			__mmst_reg  [10]int8
  8011  			__mmst_rsrv [6]int8
  8012  		}
  8013  		__fpu_stmm4 struct {
  8014  			__mmst_reg  [10]int8
  8015  			__mmst_rsrv [6]int8
  8016  		}
  8017  		__fpu_stmm5 struct {
  8018  			__mmst_reg  [10]int8
  8019  			__mmst_rsrv [6]int8
  8020  		}
  8021  		__fpu_stmm6 struct {
  8022  			__mmst_reg  [10]int8
  8023  			__mmst_rsrv [6]int8
  8024  		}
  8025  		__fpu_stmm7 struct {
  8026  			__mmst_reg  [10]int8
  8027  			__mmst_rsrv [6]int8
  8028  		}
  8029  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8030  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8031  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8032  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8033  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8034  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8035  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8036  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8037  		__fpu_rsrv4     [224]int8
  8038  		__fpu_reserved1 int32
  8039  		__avx_reserved1 [64]int8
  8040  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8041  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8042  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8043  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8044  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8045  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8046  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8047  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8048  	}
  8049  } /* _mcontext.h:47:1 */
  8050  
  8051  type __darwin_mcontext_avx512_32 = struct {
  8052  	__es struct {
  8053  		__trapno     uint16
  8054  		__cpu        uint16
  8055  		__err        uint32
  8056  		__faultvaddr uint32
  8057  	}
  8058  	__ss struct {
  8059  		__eax    uint32
  8060  		__ebx    uint32
  8061  		__ecx    uint32
  8062  		__edx    uint32
  8063  		__edi    uint32
  8064  		__esi    uint32
  8065  		__ebp    uint32
  8066  		__esp    uint32
  8067  		__ss     uint32
  8068  		__eflags uint32
  8069  		__eip    uint32
  8070  		__cs     uint32
  8071  		__ds     uint32
  8072  		__es     uint32
  8073  		__fs     uint32
  8074  		__gs     uint32
  8075  	}
  8076  	__fs struct {
  8077  		__fpu_reserved [2]int32
  8078  		__fpu_fcw      struct {
  8079  			_         [0]uint16
  8080  			__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 */
  8081  		}
  8082  		__fpu_fsw struct {
  8083  			_         [0]uint16
  8084  			__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 */
  8085  		}
  8086  		__fpu_ftw       uint8
  8087  		__fpu_rsrv1     uint8
  8088  		__fpu_fop       uint16
  8089  		__fpu_ip        uint32
  8090  		__fpu_cs        uint16
  8091  		__fpu_rsrv2     uint16
  8092  		__fpu_dp        uint32
  8093  		__fpu_ds        uint16
  8094  		__fpu_rsrv3     uint16
  8095  		__fpu_mxcsr     uint32
  8096  		__fpu_mxcsrmask uint32
  8097  		__fpu_stmm0     struct {
  8098  			__mmst_reg  [10]int8
  8099  			__mmst_rsrv [6]int8
  8100  		}
  8101  		__fpu_stmm1 struct {
  8102  			__mmst_reg  [10]int8
  8103  			__mmst_rsrv [6]int8
  8104  		}
  8105  		__fpu_stmm2 struct {
  8106  			__mmst_reg  [10]int8
  8107  			__mmst_rsrv [6]int8
  8108  		}
  8109  		__fpu_stmm3 struct {
  8110  			__mmst_reg  [10]int8
  8111  			__mmst_rsrv [6]int8
  8112  		}
  8113  		__fpu_stmm4 struct {
  8114  			__mmst_reg  [10]int8
  8115  			__mmst_rsrv [6]int8
  8116  		}
  8117  		__fpu_stmm5 struct {
  8118  			__mmst_reg  [10]int8
  8119  			__mmst_rsrv [6]int8
  8120  		}
  8121  		__fpu_stmm6 struct {
  8122  			__mmst_reg  [10]int8
  8123  			__mmst_rsrv [6]int8
  8124  		}
  8125  		__fpu_stmm7 struct {
  8126  			__mmst_reg  [10]int8
  8127  			__mmst_rsrv [6]int8
  8128  		}
  8129  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8130  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8131  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8132  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8133  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8134  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8135  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8136  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8137  		__fpu_rsrv4     [224]int8
  8138  		__fpu_reserved1 int32
  8139  		__avx_reserved1 [64]int8
  8140  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8141  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8142  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8143  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8144  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8145  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8146  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8147  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8148  		__fpu_k0        struct{ __opmask_reg [8]int8 }
  8149  		__fpu_k1        struct{ __opmask_reg [8]int8 }
  8150  		__fpu_k2        struct{ __opmask_reg [8]int8 }
  8151  		__fpu_k3        struct{ __opmask_reg [8]int8 }
  8152  		__fpu_k4        struct{ __opmask_reg [8]int8 }
  8153  		__fpu_k5        struct{ __opmask_reg [8]int8 }
  8154  		__fpu_k6        struct{ __opmask_reg [8]int8 }
  8155  		__fpu_k7        struct{ __opmask_reg [8]int8 }
  8156  		__fpu_zmmh0     struct{ __ymm_reg [32]int8 }
  8157  		__fpu_zmmh1     struct{ __ymm_reg [32]int8 }
  8158  		__fpu_zmmh2     struct{ __ymm_reg [32]int8 }
  8159  		__fpu_zmmh3     struct{ __ymm_reg [32]int8 }
  8160  		__fpu_zmmh4     struct{ __ymm_reg [32]int8 }
  8161  		__fpu_zmmh5     struct{ __ymm_reg [32]int8 }
  8162  		__fpu_zmmh6     struct{ __ymm_reg [32]int8 }
  8163  		__fpu_zmmh7     struct{ __ymm_reg [32]int8 }
  8164  	}
  8165  } /* _mcontext.h:56:1 */
  8166  
  8167  type __darwin_mcontext64 = struct {
  8168  	__es struct {
  8169  		__trapno     uint16
  8170  		__cpu        uint16
  8171  		__err        uint32
  8172  		__faultvaddr uint64
  8173  	}
  8174  	__ss struct {
  8175  		__rax    uint64
  8176  		__rbx    uint64
  8177  		__rcx    uint64
  8178  		__rdx    uint64
  8179  		__rdi    uint64
  8180  		__rsi    uint64
  8181  		__rbp    uint64
  8182  		__rsp    uint64
  8183  		__r8     uint64
  8184  		__r9     uint64
  8185  		__r10    uint64
  8186  		__r11    uint64
  8187  		__r12    uint64
  8188  		__r13    uint64
  8189  		__r14    uint64
  8190  		__r15    uint64
  8191  		__rip    uint64
  8192  		__rflags uint64
  8193  		__cs     uint64
  8194  		__fs     uint64
  8195  		__gs     uint64
  8196  	}
  8197  	__fs struct {
  8198  		__fpu_reserved [2]int32
  8199  		__fpu_fcw      struct {
  8200  			_         [0]uint16
  8201  			__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 */
  8202  		}
  8203  		__fpu_fsw struct {
  8204  			_         [0]uint16
  8205  			__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 */
  8206  		}
  8207  		__fpu_ftw       uint8
  8208  		__fpu_rsrv1     uint8
  8209  		__fpu_fop       uint16
  8210  		__fpu_ip        uint32
  8211  		__fpu_cs        uint16
  8212  		__fpu_rsrv2     uint16
  8213  		__fpu_dp        uint32
  8214  		__fpu_ds        uint16
  8215  		__fpu_rsrv3     uint16
  8216  		__fpu_mxcsr     uint32
  8217  		__fpu_mxcsrmask uint32
  8218  		__fpu_stmm0     struct {
  8219  			__mmst_reg  [10]int8
  8220  			__mmst_rsrv [6]int8
  8221  		}
  8222  		__fpu_stmm1 struct {
  8223  			__mmst_reg  [10]int8
  8224  			__mmst_rsrv [6]int8
  8225  		}
  8226  		__fpu_stmm2 struct {
  8227  			__mmst_reg  [10]int8
  8228  			__mmst_rsrv [6]int8
  8229  		}
  8230  		__fpu_stmm3 struct {
  8231  			__mmst_reg  [10]int8
  8232  			__mmst_rsrv [6]int8
  8233  		}
  8234  		__fpu_stmm4 struct {
  8235  			__mmst_reg  [10]int8
  8236  			__mmst_rsrv [6]int8
  8237  		}
  8238  		__fpu_stmm5 struct {
  8239  			__mmst_reg  [10]int8
  8240  			__mmst_rsrv [6]int8
  8241  		}
  8242  		__fpu_stmm6 struct {
  8243  			__mmst_reg  [10]int8
  8244  			__mmst_rsrv [6]int8
  8245  		}
  8246  		__fpu_stmm7 struct {
  8247  			__mmst_reg  [10]int8
  8248  			__mmst_rsrv [6]int8
  8249  		}
  8250  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8251  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8252  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8253  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8254  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8255  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8256  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8257  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8258  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8259  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8260  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8261  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8262  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8263  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8264  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8265  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8266  		__fpu_rsrv4     [96]int8
  8267  		__fpu_reserved1 int32
  8268  	}
  8269  	_ [4]byte
  8270  } /* _mcontext.h:97:1 */
  8271  
  8272  type __darwin_mcontext64_full = struct {
  8273  	__es struct {
  8274  		__trapno     uint16
  8275  		__cpu        uint16
  8276  		__err        uint32
  8277  		__faultvaddr uint64
  8278  	}
  8279  	__ss struct {
  8280  		__ss64 struct {
  8281  			__rax    uint64
  8282  			__rbx    uint64
  8283  			__rcx    uint64
  8284  			__rdx    uint64
  8285  			__rdi    uint64
  8286  			__rsi    uint64
  8287  			__rbp    uint64
  8288  			__rsp    uint64
  8289  			__r8     uint64
  8290  			__r9     uint64
  8291  			__r10    uint64
  8292  			__r11    uint64
  8293  			__r12    uint64
  8294  			__r13    uint64
  8295  			__r14    uint64
  8296  			__r15    uint64
  8297  			__rip    uint64
  8298  			__rflags uint64
  8299  			__cs     uint64
  8300  			__fs     uint64
  8301  			__gs     uint64
  8302  		}
  8303  		__ds     uint64
  8304  		__es     uint64
  8305  		__ss     uint64
  8306  		__gsbase uint64
  8307  	}
  8308  	__fs struct {
  8309  		__fpu_reserved [2]int32
  8310  		__fpu_fcw      struct {
  8311  			_         [0]uint16
  8312  			__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 */
  8313  		}
  8314  		__fpu_fsw struct {
  8315  			_         [0]uint16
  8316  			__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 */
  8317  		}
  8318  		__fpu_ftw       uint8
  8319  		__fpu_rsrv1     uint8
  8320  		__fpu_fop       uint16
  8321  		__fpu_ip        uint32
  8322  		__fpu_cs        uint16
  8323  		__fpu_rsrv2     uint16
  8324  		__fpu_dp        uint32
  8325  		__fpu_ds        uint16
  8326  		__fpu_rsrv3     uint16
  8327  		__fpu_mxcsr     uint32
  8328  		__fpu_mxcsrmask uint32
  8329  		__fpu_stmm0     struct {
  8330  			__mmst_reg  [10]int8
  8331  			__mmst_rsrv [6]int8
  8332  		}
  8333  		__fpu_stmm1 struct {
  8334  			__mmst_reg  [10]int8
  8335  			__mmst_rsrv [6]int8
  8336  		}
  8337  		__fpu_stmm2 struct {
  8338  			__mmst_reg  [10]int8
  8339  			__mmst_rsrv [6]int8
  8340  		}
  8341  		__fpu_stmm3 struct {
  8342  			__mmst_reg  [10]int8
  8343  			__mmst_rsrv [6]int8
  8344  		}
  8345  		__fpu_stmm4 struct {
  8346  			__mmst_reg  [10]int8
  8347  			__mmst_rsrv [6]int8
  8348  		}
  8349  		__fpu_stmm5 struct {
  8350  			__mmst_reg  [10]int8
  8351  			__mmst_rsrv [6]int8
  8352  		}
  8353  		__fpu_stmm6 struct {
  8354  			__mmst_reg  [10]int8
  8355  			__mmst_rsrv [6]int8
  8356  		}
  8357  		__fpu_stmm7 struct {
  8358  			__mmst_reg  [10]int8
  8359  			__mmst_rsrv [6]int8
  8360  		}
  8361  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8362  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8363  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8364  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8365  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8366  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8367  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8368  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8369  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8370  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8371  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8372  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8373  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8374  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8375  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8376  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8377  		__fpu_rsrv4     [96]int8
  8378  		__fpu_reserved1 int32
  8379  	}
  8380  	_ [4]byte
  8381  } /* _mcontext.h:105:1 */
  8382  
  8383  type __darwin_mcontext_avx64 = struct {
  8384  	__es struct {
  8385  		__trapno     uint16
  8386  		__cpu        uint16
  8387  		__err        uint32
  8388  		__faultvaddr uint64
  8389  	}
  8390  	__ss struct {
  8391  		__rax    uint64
  8392  		__rbx    uint64
  8393  		__rcx    uint64
  8394  		__rdx    uint64
  8395  		__rdi    uint64
  8396  		__rsi    uint64
  8397  		__rbp    uint64
  8398  		__rsp    uint64
  8399  		__r8     uint64
  8400  		__r9     uint64
  8401  		__r10    uint64
  8402  		__r11    uint64
  8403  		__r12    uint64
  8404  		__r13    uint64
  8405  		__r14    uint64
  8406  		__r15    uint64
  8407  		__rip    uint64
  8408  		__rflags uint64
  8409  		__cs     uint64
  8410  		__fs     uint64
  8411  		__gs     uint64
  8412  	}
  8413  	__fs struct {
  8414  		__fpu_reserved [2]int32
  8415  		__fpu_fcw      struct {
  8416  			_         [0]uint16
  8417  			__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 */
  8418  		}
  8419  		__fpu_fsw struct {
  8420  			_         [0]uint16
  8421  			__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 */
  8422  		}
  8423  		__fpu_ftw       uint8
  8424  		__fpu_rsrv1     uint8
  8425  		__fpu_fop       uint16
  8426  		__fpu_ip        uint32
  8427  		__fpu_cs        uint16
  8428  		__fpu_rsrv2     uint16
  8429  		__fpu_dp        uint32
  8430  		__fpu_ds        uint16
  8431  		__fpu_rsrv3     uint16
  8432  		__fpu_mxcsr     uint32
  8433  		__fpu_mxcsrmask uint32
  8434  		__fpu_stmm0     struct {
  8435  			__mmst_reg  [10]int8
  8436  			__mmst_rsrv [6]int8
  8437  		}
  8438  		__fpu_stmm1 struct {
  8439  			__mmst_reg  [10]int8
  8440  			__mmst_rsrv [6]int8
  8441  		}
  8442  		__fpu_stmm2 struct {
  8443  			__mmst_reg  [10]int8
  8444  			__mmst_rsrv [6]int8
  8445  		}
  8446  		__fpu_stmm3 struct {
  8447  			__mmst_reg  [10]int8
  8448  			__mmst_rsrv [6]int8
  8449  		}
  8450  		__fpu_stmm4 struct {
  8451  			__mmst_reg  [10]int8
  8452  			__mmst_rsrv [6]int8
  8453  		}
  8454  		__fpu_stmm5 struct {
  8455  			__mmst_reg  [10]int8
  8456  			__mmst_rsrv [6]int8
  8457  		}
  8458  		__fpu_stmm6 struct {
  8459  			__mmst_reg  [10]int8
  8460  			__mmst_rsrv [6]int8
  8461  		}
  8462  		__fpu_stmm7 struct {
  8463  			__mmst_reg  [10]int8
  8464  			__mmst_rsrv [6]int8
  8465  		}
  8466  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8467  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8468  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8469  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8470  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8471  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8472  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8473  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8474  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8475  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8476  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8477  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8478  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8479  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8480  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8481  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8482  		__fpu_rsrv4     [96]int8
  8483  		__fpu_reserved1 int32
  8484  		__avx_reserved1 [64]int8
  8485  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8486  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8487  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8488  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8489  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8490  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8491  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8492  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8493  		__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  8494  		__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  8495  		__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  8496  		__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  8497  		__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  8498  		__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  8499  		__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  8500  		__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  8501  	}
  8502  	_ [4]byte
  8503  } /* _mcontext.h:113:1 */
  8504  
  8505  type __darwin_mcontext_avx64_full = struct {
  8506  	__es struct {
  8507  		__trapno     uint16
  8508  		__cpu        uint16
  8509  		__err        uint32
  8510  		__faultvaddr uint64
  8511  	}
  8512  	__ss struct {
  8513  		__ss64 struct {
  8514  			__rax    uint64
  8515  			__rbx    uint64
  8516  			__rcx    uint64
  8517  			__rdx    uint64
  8518  			__rdi    uint64
  8519  			__rsi    uint64
  8520  			__rbp    uint64
  8521  			__rsp    uint64
  8522  			__r8     uint64
  8523  			__r9     uint64
  8524  			__r10    uint64
  8525  			__r11    uint64
  8526  			__r12    uint64
  8527  			__r13    uint64
  8528  			__r14    uint64
  8529  			__r15    uint64
  8530  			__rip    uint64
  8531  			__rflags uint64
  8532  			__cs     uint64
  8533  			__fs     uint64
  8534  			__gs     uint64
  8535  		}
  8536  		__ds     uint64
  8537  		__es     uint64
  8538  		__ss     uint64
  8539  		__gsbase uint64
  8540  	}
  8541  	__fs struct {
  8542  		__fpu_reserved [2]int32
  8543  		__fpu_fcw      struct {
  8544  			_         [0]uint16
  8545  			__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 */
  8546  		}
  8547  		__fpu_fsw struct {
  8548  			_         [0]uint16
  8549  			__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 */
  8550  		}
  8551  		__fpu_ftw       uint8
  8552  		__fpu_rsrv1     uint8
  8553  		__fpu_fop       uint16
  8554  		__fpu_ip        uint32
  8555  		__fpu_cs        uint16
  8556  		__fpu_rsrv2     uint16
  8557  		__fpu_dp        uint32
  8558  		__fpu_ds        uint16
  8559  		__fpu_rsrv3     uint16
  8560  		__fpu_mxcsr     uint32
  8561  		__fpu_mxcsrmask uint32
  8562  		__fpu_stmm0     struct {
  8563  			__mmst_reg  [10]int8
  8564  			__mmst_rsrv [6]int8
  8565  		}
  8566  		__fpu_stmm1 struct {
  8567  			__mmst_reg  [10]int8
  8568  			__mmst_rsrv [6]int8
  8569  		}
  8570  		__fpu_stmm2 struct {
  8571  			__mmst_reg  [10]int8
  8572  			__mmst_rsrv [6]int8
  8573  		}
  8574  		__fpu_stmm3 struct {
  8575  			__mmst_reg  [10]int8
  8576  			__mmst_rsrv [6]int8
  8577  		}
  8578  		__fpu_stmm4 struct {
  8579  			__mmst_reg  [10]int8
  8580  			__mmst_rsrv [6]int8
  8581  		}
  8582  		__fpu_stmm5 struct {
  8583  			__mmst_reg  [10]int8
  8584  			__mmst_rsrv [6]int8
  8585  		}
  8586  		__fpu_stmm6 struct {
  8587  			__mmst_reg  [10]int8
  8588  			__mmst_rsrv [6]int8
  8589  		}
  8590  		__fpu_stmm7 struct {
  8591  			__mmst_reg  [10]int8
  8592  			__mmst_rsrv [6]int8
  8593  		}
  8594  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8595  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8596  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8597  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8598  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8599  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8600  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8601  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8602  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8603  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8604  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8605  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8606  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8607  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8608  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8609  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8610  		__fpu_rsrv4     [96]int8
  8611  		__fpu_reserved1 int32
  8612  		__avx_reserved1 [64]int8
  8613  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8614  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8615  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8616  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8617  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8618  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8619  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8620  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8621  		__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  8622  		__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  8623  		__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  8624  		__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  8625  		__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  8626  		__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  8627  		__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  8628  		__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  8629  	}
  8630  	_ [4]byte
  8631  } /* _mcontext.h:121:1 */
  8632  
  8633  type __darwin_mcontext_avx512_64 = struct {
  8634  	__es struct {
  8635  		__trapno     uint16
  8636  		__cpu        uint16
  8637  		__err        uint32
  8638  		__faultvaddr uint64
  8639  	}
  8640  	__ss struct {
  8641  		__rax    uint64
  8642  		__rbx    uint64
  8643  		__rcx    uint64
  8644  		__rdx    uint64
  8645  		__rdi    uint64
  8646  		__rsi    uint64
  8647  		__rbp    uint64
  8648  		__rsp    uint64
  8649  		__r8     uint64
  8650  		__r9     uint64
  8651  		__r10    uint64
  8652  		__r11    uint64
  8653  		__r12    uint64
  8654  		__r13    uint64
  8655  		__r14    uint64
  8656  		__r15    uint64
  8657  		__rip    uint64
  8658  		__rflags uint64
  8659  		__cs     uint64
  8660  		__fs     uint64
  8661  		__gs     uint64
  8662  	}
  8663  	__fs struct {
  8664  		__fpu_reserved [2]int32
  8665  		__fpu_fcw      struct {
  8666  			_         [0]uint16
  8667  			__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 */
  8668  		}
  8669  		__fpu_fsw struct {
  8670  			_         [0]uint16
  8671  			__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 */
  8672  		}
  8673  		__fpu_ftw       uint8
  8674  		__fpu_rsrv1     uint8
  8675  		__fpu_fop       uint16
  8676  		__fpu_ip        uint32
  8677  		__fpu_cs        uint16
  8678  		__fpu_rsrv2     uint16
  8679  		__fpu_dp        uint32
  8680  		__fpu_ds        uint16
  8681  		__fpu_rsrv3     uint16
  8682  		__fpu_mxcsr     uint32
  8683  		__fpu_mxcsrmask uint32
  8684  		__fpu_stmm0     struct {
  8685  			__mmst_reg  [10]int8
  8686  			__mmst_rsrv [6]int8
  8687  		}
  8688  		__fpu_stmm1 struct {
  8689  			__mmst_reg  [10]int8
  8690  			__mmst_rsrv [6]int8
  8691  		}
  8692  		__fpu_stmm2 struct {
  8693  			__mmst_reg  [10]int8
  8694  			__mmst_rsrv [6]int8
  8695  		}
  8696  		__fpu_stmm3 struct {
  8697  			__mmst_reg  [10]int8
  8698  			__mmst_rsrv [6]int8
  8699  		}
  8700  		__fpu_stmm4 struct {
  8701  			__mmst_reg  [10]int8
  8702  			__mmst_rsrv [6]int8
  8703  		}
  8704  		__fpu_stmm5 struct {
  8705  			__mmst_reg  [10]int8
  8706  			__mmst_rsrv [6]int8
  8707  		}
  8708  		__fpu_stmm6 struct {
  8709  			__mmst_reg  [10]int8
  8710  			__mmst_rsrv [6]int8
  8711  		}
  8712  		__fpu_stmm7 struct {
  8713  			__mmst_reg  [10]int8
  8714  			__mmst_rsrv [6]int8
  8715  		}
  8716  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8717  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8718  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8719  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8720  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8721  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8722  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8723  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8724  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8725  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8726  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8727  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8728  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8729  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8730  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8731  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8732  		__fpu_rsrv4     [96]int8
  8733  		__fpu_reserved1 int32
  8734  		__avx_reserved1 [64]int8
  8735  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8736  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8737  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8738  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8739  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8740  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8741  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8742  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8743  		__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  8744  		__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  8745  		__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  8746  		__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  8747  		__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  8748  		__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  8749  		__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  8750  		__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  8751  		__fpu_k0        struct{ __opmask_reg [8]int8 }
  8752  		__fpu_k1        struct{ __opmask_reg [8]int8 }
  8753  		__fpu_k2        struct{ __opmask_reg [8]int8 }
  8754  		__fpu_k3        struct{ __opmask_reg [8]int8 }
  8755  		__fpu_k4        struct{ __opmask_reg [8]int8 }
  8756  		__fpu_k5        struct{ __opmask_reg [8]int8 }
  8757  		__fpu_k6        struct{ __opmask_reg [8]int8 }
  8758  		__fpu_k7        struct{ __opmask_reg [8]int8 }
  8759  		__fpu_zmmh0     struct{ __ymm_reg [32]int8 }
  8760  		__fpu_zmmh1     struct{ __ymm_reg [32]int8 }
  8761  		__fpu_zmmh2     struct{ __ymm_reg [32]int8 }
  8762  		__fpu_zmmh3     struct{ __ymm_reg [32]int8 }
  8763  		__fpu_zmmh4     struct{ __ymm_reg [32]int8 }
  8764  		__fpu_zmmh5     struct{ __ymm_reg [32]int8 }
  8765  		__fpu_zmmh6     struct{ __ymm_reg [32]int8 }
  8766  		__fpu_zmmh7     struct{ __ymm_reg [32]int8 }
  8767  		__fpu_zmmh8     struct{ __ymm_reg [32]int8 }
  8768  		__fpu_zmmh9     struct{ __ymm_reg [32]int8 }
  8769  		__fpu_zmmh10    struct{ __ymm_reg [32]int8 }
  8770  		__fpu_zmmh11    struct{ __ymm_reg [32]int8 }
  8771  		__fpu_zmmh12    struct{ __ymm_reg [32]int8 }
  8772  		__fpu_zmmh13    struct{ __ymm_reg [32]int8 }
  8773  		__fpu_zmmh14    struct{ __ymm_reg [32]int8 }
  8774  		__fpu_zmmh15    struct{ __ymm_reg [32]int8 }
  8775  		__fpu_zmm16     struct{ __zmm_reg [64]int8 }
  8776  		__fpu_zmm17     struct{ __zmm_reg [64]int8 }
  8777  		__fpu_zmm18     struct{ __zmm_reg [64]int8 }
  8778  		__fpu_zmm19     struct{ __zmm_reg [64]int8 }
  8779  		__fpu_zmm20     struct{ __zmm_reg [64]int8 }
  8780  		__fpu_zmm21     struct{ __zmm_reg [64]int8 }
  8781  		__fpu_zmm22     struct{ __zmm_reg [64]int8 }
  8782  		__fpu_zmm23     struct{ __zmm_reg [64]int8 }
  8783  		__fpu_zmm24     struct{ __zmm_reg [64]int8 }
  8784  		__fpu_zmm25     struct{ __zmm_reg [64]int8 }
  8785  		__fpu_zmm26     struct{ __zmm_reg [64]int8 }
  8786  		__fpu_zmm27     struct{ __zmm_reg [64]int8 }
  8787  		__fpu_zmm28     struct{ __zmm_reg [64]int8 }
  8788  		__fpu_zmm29     struct{ __zmm_reg [64]int8 }
  8789  		__fpu_zmm30     struct{ __zmm_reg [64]int8 }
  8790  		__fpu_zmm31     struct{ __zmm_reg [64]int8 }
  8791  	}
  8792  	_ [4]byte
  8793  } /* _mcontext.h:130:1 */
  8794  
  8795  type __darwin_mcontext_avx512_64_full = struct {
  8796  	__es struct {
  8797  		__trapno     uint16
  8798  		__cpu        uint16
  8799  		__err        uint32
  8800  		__faultvaddr uint64
  8801  	}
  8802  	__ss struct {
  8803  		__ss64 struct {
  8804  			__rax    uint64
  8805  			__rbx    uint64
  8806  			__rcx    uint64
  8807  			__rdx    uint64
  8808  			__rdi    uint64
  8809  			__rsi    uint64
  8810  			__rbp    uint64
  8811  			__rsp    uint64
  8812  			__r8     uint64
  8813  			__r9     uint64
  8814  			__r10    uint64
  8815  			__r11    uint64
  8816  			__r12    uint64
  8817  			__r13    uint64
  8818  			__r14    uint64
  8819  			__r15    uint64
  8820  			__rip    uint64
  8821  			__rflags uint64
  8822  			__cs     uint64
  8823  			__fs     uint64
  8824  			__gs     uint64
  8825  		}
  8826  		__ds     uint64
  8827  		__es     uint64
  8828  		__ss     uint64
  8829  		__gsbase uint64
  8830  	}
  8831  	__fs struct {
  8832  		__fpu_reserved [2]int32
  8833  		__fpu_fcw      struct {
  8834  			_         [0]uint16
  8835  			__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 */
  8836  		}
  8837  		__fpu_fsw struct {
  8838  			_         [0]uint16
  8839  			__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 */
  8840  		}
  8841  		__fpu_ftw       uint8
  8842  		__fpu_rsrv1     uint8
  8843  		__fpu_fop       uint16
  8844  		__fpu_ip        uint32
  8845  		__fpu_cs        uint16
  8846  		__fpu_rsrv2     uint16
  8847  		__fpu_dp        uint32
  8848  		__fpu_ds        uint16
  8849  		__fpu_rsrv3     uint16
  8850  		__fpu_mxcsr     uint32
  8851  		__fpu_mxcsrmask uint32
  8852  		__fpu_stmm0     struct {
  8853  			__mmst_reg  [10]int8
  8854  			__mmst_rsrv [6]int8
  8855  		}
  8856  		__fpu_stmm1 struct {
  8857  			__mmst_reg  [10]int8
  8858  			__mmst_rsrv [6]int8
  8859  		}
  8860  		__fpu_stmm2 struct {
  8861  			__mmst_reg  [10]int8
  8862  			__mmst_rsrv [6]int8
  8863  		}
  8864  		__fpu_stmm3 struct {
  8865  			__mmst_reg  [10]int8
  8866  			__mmst_rsrv [6]int8
  8867  		}
  8868  		__fpu_stmm4 struct {
  8869  			__mmst_reg  [10]int8
  8870  			__mmst_rsrv [6]int8
  8871  		}
  8872  		__fpu_stmm5 struct {
  8873  			__mmst_reg  [10]int8
  8874  			__mmst_rsrv [6]int8
  8875  		}
  8876  		__fpu_stmm6 struct {
  8877  			__mmst_reg  [10]int8
  8878  			__mmst_rsrv [6]int8
  8879  		}
  8880  		__fpu_stmm7 struct {
  8881  			__mmst_reg  [10]int8
  8882  			__mmst_rsrv [6]int8
  8883  		}
  8884  		__fpu_xmm0      struct{ __xmm_reg [16]int8 }
  8885  		__fpu_xmm1      struct{ __xmm_reg [16]int8 }
  8886  		__fpu_xmm2      struct{ __xmm_reg [16]int8 }
  8887  		__fpu_xmm3      struct{ __xmm_reg [16]int8 }
  8888  		__fpu_xmm4      struct{ __xmm_reg [16]int8 }
  8889  		__fpu_xmm5      struct{ __xmm_reg [16]int8 }
  8890  		__fpu_xmm6      struct{ __xmm_reg [16]int8 }
  8891  		__fpu_xmm7      struct{ __xmm_reg [16]int8 }
  8892  		__fpu_xmm8      struct{ __xmm_reg [16]int8 }
  8893  		__fpu_xmm9      struct{ __xmm_reg [16]int8 }
  8894  		__fpu_xmm10     struct{ __xmm_reg [16]int8 }
  8895  		__fpu_xmm11     struct{ __xmm_reg [16]int8 }
  8896  		__fpu_xmm12     struct{ __xmm_reg [16]int8 }
  8897  		__fpu_xmm13     struct{ __xmm_reg [16]int8 }
  8898  		__fpu_xmm14     struct{ __xmm_reg [16]int8 }
  8899  		__fpu_xmm15     struct{ __xmm_reg [16]int8 }
  8900  		__fpu_rsrv4     [96]int8
  8901  		__fpu_reserved1 int32
  8902  		__avx_reserved1 [64]int8
  8903  		__fpu_ymmh0     struct{ __xmm_reg [16]int8 }
  8904  		__fpu_ymmh1     struct{ __xmm_reg [16]int8 }
  8905  		__fpu_ymmh2     struct{ __xmm_reg [16]int8 }
  8906  		__fpu_ymmh3     struct{ __xmm_reg [16]int8 }
  8907  		__fpu_ymmh4     struct{ __xmm_reg [16]int8 }
  8908  		__fpu_ymmh5     struct{ __xmm_reg [16]int8 }
  8909  		__fpu_ymmh6     struct{ __xmm_reg [16]int8 }
  8910  		__fpu_ymmh7     struct{ __xmm_reg [16]int8 }
  8911  		__fpu_ymmh8     struct{ __xmm_reg [16]int8 }
  8912  		__fpu_ymmh9     struct{ __xmm_reg [16]int8 }
  8913  		__fpu_ymmh10    struct{ __xmm_reg [16]int8 }
  8914  		__fpu_ymmh11    struct{ __xmm_reg [16]int8 }
  8915  		__fpu_ymmh12    struct{ __xmm_reg [16]int8 }
  8916  		__fpu_ymmh13    struct{ __xmm_reg [16]int8 }
  8917  		__fpu_ymmh14    struct{ __xmm_reg [16]int8 }
  8918  		__fpu_ymmh15    struct{ __xmm_reg [16]int8 }
  8919  		__fpu_k0        struct{ __opmask_reg [8]int8 }
  8920  		__fpu_k1        struct{ __opmask_reg [8]int8 }
  8921  		__fpu_k2        struct{ __opmask_reg [8]int8 }
  8922  		__fpu_k3        struct{ __opmask_reg [8]int8 }
  8923  		__fpu_k4        struct{ __opmask_reg [8]int8 }
  8924  		__fpu_k5        struct{ __opmask_reg [8]int8 }
  8925  		__fpu_k6        struct{ __opmask_reg [8]int8 }
  8926  		__fpu_k7        struct{ __opmask_reg [8]int8 }
  8927  		__fpu_zmmh0     struct{ __ymm_reg [32]int8 }
  8928  		__fpu_zmmh1     struct{ __ymm_reg [32]int8 }
  8929  		__fpu_zmmh2     struct{ __ymm_reg [32]int8 }
  8930  		__fpu_zmmh3     struct{ __ymm_reg [32]int8 }
  8931  		__fpu_zmmh4     struct{ __ymm_reg [32]int8 }
  8932  		__fpu_zmmh5     struct{ __ymm_reg [32]int8 }
  8933  		__fpu_zmmh6     struct{ __ymm_reg [32]int8 }
  8934  		__fpu_zmmh7     struct{ __ymm_reg [32]int8 }
  8935  		__fpu_zmmh8     struct{ __ymm_reg [32]int8 }
  8936  		__fpu_zmmh9     struct{ __ymm_reg [32]int8 }
  8937  		__fpu_zmmh10    struct{ __ymm_reg [32]int8 }
  8938  		__fpu_zmmh11    struct{ __ymm_reg [32]int8 }
  8939  		__fpu_zmmh12    struct{ __ymm_reg [32]int8 }
  8940  		__fpu_zmmh13    struct{ __ymm_reg [32]int8 }
  8941  		__fpu_zmmh14    struct{ __ymm_reg [32]int8 }
  8942  		__fpu_zmmh15    struct{ __ymm_reg [32]int8 }
  8943  		__fpu_zmm16     struct{ __zmm_reg [64]int8 }
  8944  		__fpu_zmm17     struct{ __zmm_reg [64]int8 }
  8945  		__fpu_zmm18     struct{ __zmm_reg [64]int8 }
  8946  		__fpu_zmm19     struct{ __zmm_reg [64]int8 }
  8947  		__fpu_zmm20     struct{ __zmm_reg [64]int8 }
  8948  		__fpu_zmm21     struct{ __zmm_reg [64]int8 }
  8949  		__fpu_zmm22     struct{ __zmm_reg [64]int8 }
  8950  		__fpu_zmm23     struct{ __zmm_reg [64]int8 }
  8951  		__fpu_zmm24     struct{ __zmm_reg [64]int8 }
  8952  		__fpu_zmm25     struct{ __zmm_reg [64]int8 }
  8953  		__fpu_zmm26     struct{ __zmm_reg [64]int8 }
  8954  		__fpu_zmm27     struct{ __zmm_reg [64]int8 }
  8955  		__fpu_zmm28     struct{ __zmm_reg [64]int8 }
  8956  		__fpu_zmm29     struct{ __zmm_reg [64]int8 }
  8957  		__fpu_zmm30     struct{ __zmm_reg [64]int8 }
  8958  		__fpu_zmm31     struct{ __zmm_reg [64]int8 }
  8959  	}
  8960  	_ [4]byte
  8961  } /* _mcontext.h:138:1 */
  8962  
  8963  type mcontext_t = uintptr /* _mcontext.h:204:33 */
  8964  
  8965  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8966  //
  8967  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8968  //
  8969  // This file contains Original Code and/or Modifications of Original Code
  8970  // as defined in and that are subject to the Apple Public Source License
  8971  // Version 2.0 (the 'License'). You may not use this file except in
  8972  // compliance with the License. The rights granted to you under the License
  8973  // may not be used to create, or enable the creation or redistribution of,
  8974  // unlawful or unlicensed copies of an Apple operating system, or to
  8975  // circumvent, violate, or enable the circumvention or violation of, any
  8976  // terms of an Apple operating system software license agreement.
  8977  //
  8978  // Please obtain a copy of the License at
  8979  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  8980  //
  8981  // The Original Code and all software distributed under the License are
  8982  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  8983  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  8984  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  8985  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  8986  // Please see the License for the specific language governing rights and
  8987  // limitations under the License.
  8988  //
  8989  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  8990  
  8991  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  8992  //
  8993  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  8994  //
  8995  // This file contains Original Code and/or Modifications of Original Code
  8996  // as defined in and that are subject to the Apple Public Source License
  8997  // Version 2.0 (the 'License'). You may not use this file except in
  8998  // compliance with the License. The rights granted to you under the License
  8999  // may not be used to create, or enable the creation or redistribution of,
  9000  // unlawful or unlicensed copies of an Apple operating system, or to
  9001  // circumvent, violate, or enable the circumvention or violation of, any
  9002  // terms of an Apple operating system software license agreement.
  9003  //
  9004  // Please obtain a copy of the License at
  9005  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9006  //
  9007  // The Original Code and all software distributed under the License are
  9008  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9009  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9010  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9011  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9012  // Please see the License for the specific language governing rights and
  9013  // limitations under the License.
  9014  //
  9015  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9016  
  9017  // Structure used in sigaltstack call.
  9018  
  9019  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  9020  //
  9021  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9022  //
  9023  // This file contains Original Code and/or Modifications of Original Code
  9024  // as defined in and that are subject to the Apple Public Source License
  9025  // Version 2.0 (the 'License'). You may not use this file except in
  9026  // compliance with the License. The rights granted to you under the License
  9027  // may not be used to create, or enable the creation or redistribution of,
  9028  // unlawful or unlicensed copies of an Apple operating system, or to
  9029  // circumvent, violate, or enable the circumvention or violation of, any
  9030  // terms of an Apple operating system software license agreement.
  9031  //
  9032  // Please obtain a copy of the License at
  9033  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9034  //
  9035  // The Original Code and all software distributed under the License are
  9036  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9037  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9038  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9039  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9040  // Please see the License for the specific language governing rights and
  9041  // limitations under the License.
  9042  //
  9043  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9044  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9045  // Copyright (c) 1991, 1993
  9046  //	The Regents of the University of California.  All rights reserved.
  9047  //
  9048  // This code is derived from software contributed to Berkeley by
  9049  // Berkeley Software Design, Inc.
  9050  //
  9051  // Redistribution and use in source and binary forms, with or without
  9052  // modification, are permitted provided that the following conditions
  9053  // are met:
  9054  // 1. Redistributions of source code must retain the above copyright
  9055  //    notice, this list of conditions and the following disclaimer.
  9056  // 2. Redistributions in binary form must reproduce the above copyright
  9057  //    notice, this list of conditions and the following disclaimer in the
  9058  //    documentation and/or other materials provided with the distribution.
  9059  // 3. All advertising materials mentioning features or use of this software
  9060  //    must display the following acknowledgement:
  9061  //	This product includes software developed by the University of
  9062  //	California, Berkeley and its contributors.
  9063  // 4. Neither the name of the University nor the names of its contributors
  9064  //    may be used to endorse or promote products derived from this software
  9065  //    without specific prior written permission.
  9066  //
  9067  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9068  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9069  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9070  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9071  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9072  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9073  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9074  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9075  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9076  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9077  // SUCH DAMAGE.
  9078  //
  9079  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  9080  
  9081  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  9082  //
  9083  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9084  //
  9085  // This file contains Original Code and/or Modifications of Original Code
  9086  // as defined in and that are subject to the Apple Public Source License
  9087  // Version 2.0 (the 'License'). You may not use this file except in
  9088  // compliance with the License. The rights granted to you under the License
  9089  // may not be used to create, or enable the creation or redistribution of,
  9090  // unlawful or unlicensed copies of an Apple operating system, or to
  9091  // circumvent, violate, or enable the circumvention or violation of, any
  9092  // terms of an Apple operating system software license agreement.
  9093  //
  9094  // Please obtain a copy of the License at
  9095  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9096  //
  9097  // The Original Code and all software distributed under the License are
  9098  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9099  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9100  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9101  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9102  // Please see the License for the specific language governing rights and
  9103  // limitations under the License.
  9104  //
  9105  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9106  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9107  
  9108  type __darwin_sigaltstack = struct {
  9109  	ss_sp    uintptr
  9110  	ss_size  uint64
  9111  	ss_flags int32
  9112  	_        [4]byte
  9113  } /* _sigaltstack.h:42:1 */
  9114  
  9115  type stack_t = __darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
  9116  
  9117  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9118  //
  9119  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9120  //
  9121  // This file contains Original Code and/or Modifications of Original Code
  9122  // as defined in and that are subject to the Apple Public Source License
  9123  // Version 2.0 (the 'License'). You may not use this file except in
  9124  // compliance with the License. The rights granted to you under the License
  9125  // may not be used to create, or enable the creation or redistribution of,
  9126  // unlawful or unlicensed copies of an Apple operating system, or to
  9127  // circumvent, violate, or enable the circumvention or violation of, any
  9128  // terms of an Apple operating system software license agreement.
  9129  //
  9130  // Please obtain a copy of the License at
  9131  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9132  //
  9133  // The Original Code and all software distributed under the License are
  9134  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9135  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9136  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9137  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9138  // Please see the License for the specific language governing rights and
  9139  // limitations under the License.
  9140  //
  9141  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9142  
  9143  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  9144  //
  9145  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9146  //
  9147  // This file contains Original Code and/or Modifications of Original Code
  9148  // as defined in and that are subject to the Apple Public Source License
  9149  // Version 2.0 (the 'License'). You may not use this file except in
  9150  // compliance with the License. The rights granted to you under the License
  9151  // may not be used to create, or enable the creation or redistribution of,
  9152  // unlawful or unlicensed copies of an Apple operating system, or to
  9153  // circumvent, violate, or enable the circumvention or violation of, any
  9154  // terms of an Apple operating system software license agreement.
  9155  //
  9156  // Please obtain a copy of the License at
  9157  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9158  //
  9159  // The Original Code and all software distributed under the License are
  9160  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9161  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9162  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9163  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9164  // Please see the License for the specific language governing rights and
  9165  // limitations under the License.
  9166  //
  9167  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9168  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9169  // Copyright (c) 1991, 1993
  9170  //	The Regents of the University of California.  All rights reserved.
  9171  //
  9172  // This code is derived from software contributed to Berkeley by
  9173  // Berkeley Software Design, Inc.
  9174  //
  9175  // Redistribution and use in source and binary forms, with or without
  9176  // modification, are permitted provided that the following conditions
  9177  // are met:
  9178  // 1. Redistributions of source code must retain the above copyright
  9179  //    notice, this list of conditions and the following disclaimer.
  9180  // 2. Redistributions in binary form must reproduce the above copyright
  9181  //    notice, this list of conditions and the following disclaimer in the
  9182  //    documentation and/or other materials provided with the distribution.
  9183  // 3. All advertising materials mentioning features or use of this software
  9184  //    must display the following acknowledgement:
  9185  //	This product includes software developed by the University of
  9186  //	California, Berkeley and its contributors.
  9187  // 4. Neither the name of the University nor the names of its contributors
  9188  //    may be used to endorse or promote products derived from this software
  9189  //    without specific prior written permission.
  9190  //
  9191  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9192  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9193  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9194  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9195  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9196  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9197  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9198  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9199  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9200  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9201  // SUCH DAMAGE.
  9202  //
  9203  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  9204  
  9205  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  9206  //
  9207  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9208  //
  9209  // This file contains Original Code and/or Modifications of Original Code
  9210  // as defined in and that are subject to the Apple Public Source License
  9211  // Version 2.0 (the 'License'). You may not use this file except in
  9212  // compliance with the License. The rights granted to you under the License
  9213  // may not be used to create, or enable the creation or redistribution of,
  9214  // unlawful or unlicensed copies of an Apple operating system, or to
  9215  // circumvent, violate, or enable the circumvention or violation of, any
  9216  // terms of an Apple operating system software license agreement.
  9217  //
  9218  // Please obtain a copy of the License at
  9219  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9220  //
  9221  // The Original Code and all software distributed under the License are
  9222  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9223  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9224  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9225  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9226  // Please see the License for the specific language governing rights and
  9227  // limitations under the License.
  9228  //
  9229  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9230  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9231  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9232  //
  9233  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9234  //
  9235  // This file contains Original Code and/or Modifications of Original Code
  9236  // as defined in and that are subject to the Apple Public Source License
  9237  // Version 2.0 (the 'License'). You may not use this file except in
  9238  // compliance with the License. The rights granted to you under the License
  9239  // may not be used to create, or enable the creation or redistribution of,
  9240  // unlawful or unlicensed copies of an Apple operating system, or to
  9241  // circumvent, violate, or enable the circumvention or violation of, any
  9242  // terms of an Apple operating system software license agreement.
  9243  //
  9244  // Please obtain a copy of the License at
  9245  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9246  //
  9247  // The Original Code and all software distributed under the License are
  9248  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9249  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9250  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9251  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9252  // Please see the License for the specific language governing rights and
  9253  // limitations under the License.
  9254  //
  9255  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9256  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9257  //
  9258  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9259  //
  9260  // This file contains Original Code and/or Modifications of Original Code
  9261  // as defined in and that are subject to the Apple Public Source License
  9262  // Version 2.0 (the 'License'). You may not use this file except in
  9263  // compliance with the License. The rights granted to you under the License
  9264  // may not be used to create, or enable the creation or redistribution of,
  9265  // unlawful or unlicensed copies of an Apple operating system, or to
  9266  // circumvent, violate, or enable the circumvention or violation of, any
  9267  // terms of an Apple operating system software license agreement.
  9268  //
  9269  // Please obtain a copy of the License at
  9270  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9271  //
  9272  // The Original Code and all software distributed under the License are
  9273  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9274  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9275  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9276  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9277  // Please see the License for the specific language governing rights and
  9278  // limitations under the License.
  9279  //
  9280  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9281  
  9282  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  9283  //
  9284  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9285  //
  9286  // This file contains Original Code and/or Modifications of Original Code
  9287  // as defined in and that are subject to the Apple Public Source License
  9288  // Version 2.0 (the 'License'). You may not use this file except in
  9289  // compliance with the License. The rights granted to you under the License
  9290  // may not be used to create, or enable the creation or redistribution of,
  9291  // unlawful or unlicensed copies of an Apple operating system, or to
  9292  // circumvent, violate, or enable the circumvention or violation of, any
  9293  // terms of an Apple operating system software license agreement.
  9294  //
  9295  // Please obtain a copy of the License at
  9296  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9297  //
  9298  // The Original Code and all software distributed under the License are
  9299  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9300  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9301  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9302  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9303  // Please see the License for the specific language governing rights and
  9304  // limitations under the License.
  9305  //
  9306  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9307  
  9308  type __darwin_ucontext = struct {
  9309  	uc_onstack int32
  9310  	uc_sigmask uint32
  9311  	uc_stack   struct {
  9312  		ss_sp    uintptr
  9313  		ss_size  uint64
  9314  		ss_flags int32
  9315  		_        [4]byte
  9316  	}
  9317  	uc_link     uintptr
  9318  	uc_mcsize   uint64
  9319  	uc_mcontext uintptr
  9320  } /* _ucontext.h:42:1 */
  9321  
  9322  // user context
  9323  type ucontext_t = __darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context
  9324  
  9325  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9326  //
  9327  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9328  //
  9329  // This file contains Original Code and/or Modifications of Original Code
  9330  // as defined in and that are subject to the Apple Public Source License
  9331  // Version 2.0 (the 'License'). You may not use this file except in
  9332  // compliance with the License. The rights granted to you under the License
  9333  // may not be used to create, or enable the creation or redistribution of,
  9334  // unlawful or unlicensed copies of an Apple operating system, or to
  9335  // circumvent, violate, or enable the circumvention or violation of, any
  9336  // terms of an Apple operating system software license agreement.
  9337  //
  9338  // Please obtain a copy of the License at
  9339  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9340  //
  9341  // The Original Code and all software distributed under the License are
  9342  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9343  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9344  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9345  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9346  // Please see the License for the specific language governing rights and
  9347  // limitations under the License.
  9348  //
  9349  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9350  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9351  //
  9352  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9353  //
  9354  // This file contains Original Code and/or Modifications of Original Code
  9355  // as defined in and that are subject to the Apple Public Source License
  9356  // Version 2.0 (the 'License'). You may not use this file except in
  9357  // compliance with the License. The rights granted to you under the License
  9358  // may not be used to create, or enable the creation or redistribution of,
  9359  // unlawful or unlicensed copies of an Apple operating system, or to
  9360  // circumvent, violate, or enable the circumvention or violation of, any
  9361  // terms of an Apple operating system software license agreement.
  9362  //
  9363  // Please obtain a copy of the License at
  9364  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9365  //
  9366  // The Original Code and all software distributed under the License are
  9367  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9368  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9369  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9370  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9371  // Please see the License for the specific language governing rights and
  9372  // limitations under the License.
  9373  //
  9374  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9375  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9376  //
  9377  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9378  //
  9379  // This file contains Original Code and/or Modifications of Original Code
  9380  // as defined in and that are subject to the Apple Public Source License
  9381  // Version 2.0 (the 'License'). You may not use this file except in
  9382  // compliance with the License. The rights granted to you under the License
  9383  // may not be used to create, or enable the creation or redistribution of,
  9384  // unlawful or unlicensed copies of an Apple operating system, or to
  9385  // circumvent, violate, or enable the circumvention or violation of, any
  9386  // terms of an Apple operating system software license agreement.
  9387  //
  9388  // Please obtain a copy of the License at
  9389  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9390  //
  9391  // The Original Code and all software distributed under the License are
  9392  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9393  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9394  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9395  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9396  // Please see the License for the specific language governing rights and
  9397  // limitations under the License.
  9398  //
  9399  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9400  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9401  //
  9402  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9403  //
  9404  // This file contains Original Code and/or Modifications of Original Code
  9405  // as defined in and that are subject to the Apple Public Source License
  9406  // Version 2.0 (the 'License'). You may not use this file except in
  9407  // compliance with the License. The rights granted to you under the License
  9408  // may not be used to create, or enable the creation or redistribution of,
  9409  // unlawful or unlicensed copies of an Apple operating system, or to
  9410  // circumvent, violate, or enable the circumvention or violation of, any
  9411  // terms of an Apple operating system software license agreement.
  9412  //
  9413  // Please obtain a copy of the License at
  9414  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9415  //
  9416  // The Original Code and all software distributed under the License are
  9417  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9418  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9419  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9420  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9421  // Please see the License for the specific language governing rights and
  9422  // limitations under the License.
  9423  //
  9424  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9425  
  9426  type sigval = struct {
  9427  	_         [0]uint64
  9428  	sival_int int32
  9429  	_         [4]byte
  9430  } /* signal.h:158:1 */
  9431  
  9432  type sigevent = struct {
  9433  	sigev_notify int32
  9434  	sigev_signo  int32
  9435  	sigev_value  struct {
  9436  		_         [0]uint64
  9437  		sival_int int32
  9438  		_         [4]byte
  9439  	}
  9440  	sigev_notify_function   uintptr
  9441  	sigev_notify_attributes uintptr
  9442  } /* signal.h:168:1 */
  9443  
  9444  type __siginfo = struct {
  9445  	si_signo  int32
  9446  	si_errno  int32
  9447  	si_code   int32
  9448  	si_pid    pid_t
  9449  	si_uid    uid_t
  9450  	si_status int32
  9451  	si_addr   uintptr
  9452  	si_value  struct {
  9453  		_         [0]uint64
  9454  		sival_int int32
  9455  		_         [4]byte
  9456  	}
  9457  	si_band int64
  9458  	__pad   [7]uint64
  9459  } /* signal.h:177:9 */
  9460  
  9461  type siginfo_t = __siginfo /* signal.h:188:3 */
  9462  
  9463  // When the signal is SIGILL or SIGFPE, si_addr contains the address of
  9464  // the faulting instruction.
  9465  // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of
  9466  // the faulting memory reference. Although for x86 there are cases of SIGSEGV
  9467  // for which si_addr cannot be determined and is NULL.
  9468  // If the signal is SIGCHLD, the si_pid field will contain the child process ID,
  9469  //  si_status contains the exit value or signal and
  9470  //  si_uid contains the real user ID of the process that sent the signal.
  9471  
  9472  // Values for si_code
  9473  
  9474  // Codes for SIGILL
  9475  
  9476  // Codes for SIGFPE
  9477  
  9478  // Codes for SIGSEGV
  9479  
  9480  // Codes for SIGBUS
  9481  
  9482  // Codes for SIGTRAP
  9483  
  9484  // Codes for SIGCHLD
  9485  
  9486  // Codes for SIGPOLL
  9487  
  9488  // union for signal handlers
  9489  type __sigaction_u = struct{ __sa_handler uintptr } /* signal.h:269:1 */
  9490  
  9491  // Signal vector template for Kernel user boundary
  9492  type __sigaction = struct {
  9493  	__sigaction_u struct{ __sa_handler uintptr }
  9494  	sa_tramp      uintptr
  9495  	sa_mask       sigset_t
  9496  	sa_flags      int32
  9497  } /* signal.h:276:1 */
  9498  
  9499  // Signal vector "template" used in sigaction call.
  9500  type sigaction = struct {
  9501  	__sigaction_u struct{ __sa_handler uintptr }
  9502  	sa_mask       sigset_t
  9503  	sa_flags      int32
  9504  } /* signal.h:286:1 */
  9505  
  9506  // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler.
  9507  
  9508  // This will provide 64bit register set in a 32bit user address space
  9509  
  9510  // the following are the only bits we support from user space, the
  9511  // rest are for kernel use only.
  9512  
  9513  // Flags for sigprocmask:
  9514  
  9515  // POSIX 1003.1b required values.
  9516  
  9517  type sig_t = uintptr /* signal.h:331:14 */ // type of signal function
  9518  
  9519  // Structure used in sigaltstack call.
  9520  
  9521  // 4.3 compatibility:
  9522  // Signal vector "template" used in sigvec call.
  9523  type sigvec = struct {
  9524  	sv_handler uintptr
  9525  	sv_mask    int32
  9526  	sv_flags   int32
  9527  } /* signal.h:348:1 */
  9528  
  9529  // Structure used in sigstack call.
  9530  type sigstack = struct {
  9531  	ss_sp      uintptr
  9532  	ss_onstack int32
  9533  	_          [4]byte
  9534  } /* signal.h:367:1 */
  9535  
  9536  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  9537  //
  9538  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9539  //
  9540  // This file contains Original Code and/or Modifications of Original Code
  9541  // as defined in and that are subject to the Apple Public Source License
  9542  // Version 2.0 (the 'License'). You may not use this file except in
  9543  // compliance with the License. The rights granted to you under the License
  9544  // may not be used to create, or enable the creation or redistribution of,
  9545  // unlawful or unlicensed copies of an Apple operating system, or to
  9546  // circumvent, violate, or enable the circumvention or violation of, any
  9547  // terms of an Apple operating system software license agreement.
  9548  //
  9549  // Please obtain a copy of the License at
  9550  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9551  //
  9552  // The Original Code and all software distributed under the License are
  9553  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9554  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9555  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9556  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9557  // Please see the License for the specific language governing rights and
  9558  // limitations under the License.
  9559  //
  9560  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9561  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  9562  // Copyright (c) 1982, 1986, 1993
  9563  //	The Regents of the University of California.  All rights reserved.
  9564  //
  9565  // Redistribution and use in source and binary forms, with or without
  9566  // modification, are permitted provided that the following conditions
  9567  // are met:
  9568  // 1. Redistributions of source code must retain the above copyright
  9569  //    notice, this list of conditions and the following disclaimer.
  9570  // 2. Redistributions in binary form must reproduce the above copyright
  9571  //    notice, this list of conditions and the following disclaimer in the
  9572  //    documentation and/or other materials provided with the distribution.
  9573  // 3. All advertising materials mentioning features or use of this software
  9574  //    must display the following acknowledgement:
  9575  //	This product includes software developed by the University of
  9576  //	California, Berkeley and its contributors.
  9577  // 4. Neither the name of the University nor the names of its contributors
  9578  //    may be used to endorse or promote products derived from this software
  9579  //    without specific prior written permission.
  9580  //
  9581  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9582  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9583  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9584  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9585  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9586  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9587  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9588  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9589  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9590  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9591  // SUCH DAMAGE.
  9592  //
  9593  //	@(#)resource.h	8.2 (Berkeley) 1/4/94
  9594  
  9595  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  9596  //
  9597  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9598  //
  9599  // This file contains Original Code and/or Modifications of Original Code
  9600  // as defined in and that are subject to the Apple Public Source License
  9601  // Version 2.0 (the 'License'). You may not use this file except in
  9602  // compliance with the License. The rights granted to you under the License
  9603  // may not be used to create, or enable the creation or redistribution of,
  9604  // unlawful or unlicensed copies of an Apple operating system, or to
  9605  // circumvent, violate, or enable the circumvention or violation of, any
  9606  // terms of an Apple operating system software license agreement.
  9607  //
  9608  // Please obtain a copy of the License at
  9609  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9610  //
  9611  // The Original Code and all software distributed under the License are
  9612  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9613  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9614  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9615  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9616  // Please see the License for the specific language governing rights and
  9617  // limitations under the License.
  9618  //
  9619  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9620  
  9621  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  9622  //
  9623  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9624  //
  9625  // This file contains Original Code and/or Modifications of Original Code
  9626  // as defined in and that are subject to the Apple Public Source License
  9627  // Version 2.0 (the 'License'). You may not use this file except in
  9628  // compliance with the License. The rights granted to you under the License
  9629  // may not be used to create, or enable the creation or redistribution of,
  9630  // unlawful or unlicensed copies of an Apple operating system, or to
  9631  // circumvent, violate, or enable the circumvention or violation of, any
  9632  // terms of an Apple operating system software license agreement.
  9633  //
  9634  // Please obtain a copy of the License at
  9635  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9636  //
  9637  // The Original Code and all software distributed under the License are
  9638  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9639  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9640  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9641  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9642  // Please see the License for the specific language governing rights and
  9643  // limitations under the License.
  9644  //
  9645  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9646  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  9647  // Copyright (c) 1991, 1993
  9648  //	The Regents of the University of California.  All rights reserved.
  9649  //
  9650  // This code is derived from software contributed to Berkeley by
  9651  // Berkeley Software Design, Inc.
  9652  //
  9653  // Redistribution and use in source and binary forms, with or without
  9654  // modification, are permitted provided that the following conditions
  9655  // are met:
  9656  // 1. Redistributions of source code must retain the above copyright
  9657  //    notice, this list of conditions and the following disclaimer.
  9658  // 2. Redistributions in binary form must reproduce the above copyright
  9659  //    notice, this list of conditions and the following disclaimer in the
  9660  //    documentation and/or other materials provided with the distribution.
  9661  // 3. All advertising materials mentioning features or use of this software
  9662  //    must display the following acknowledgement:
  9663  //	This product includes software developed by the University of
  9664  //	California, Berkeley and its contributors.
  9665  // 4. Neither the name of the University nor the names of its contributors
  9666  //    may be used to endorse or promote products derived from this software
  9667  //    without specific prior written permission.
  9668  //
  9669  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  9670  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  9671  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  9672  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  9673  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  9674  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  9675  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  9676  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  9677  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  9678  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  9679  // SUCH DAMAGE.
  9680  //
  9681  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  9682  
  9683  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  9684  //
  9685  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9686  //
  9687  // This file contains Original Code and/or Modifications of Original Code
  9688  // as defined in and that are subject to the Apple Public Source License
  9689  // Version 2.0 (the 'License'). You may not use this file except in
  9690  // compliance with the License. The rights granted to you under the License
  9691  // may not be used to create, or enable the creation or redistribution of,
  9692  // unlawful or unlicensed copies of an Apple operating system, or to
  9693  // circumvent, violate, or enable the circumvention or violation of, any
  9694  // terms of an Apple operating system software license agreement.
  9695  //
  9696  // Please obtain a copy of the License at
  9697  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9698  //
  9699  // The Original Code and all software distributed under the License are
  9700  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9701  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9702  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9703  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9704  // Please see the License for the specific language governing rights and
  9705  // limitations under the License.
  9706  //
  9707  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9708  
  9709  //  DO NOT EDIT THIS FILE.
  9710  //
  9711  //     It has been auto-edited by fixincludes from:
  9712  //
  9713  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h"
  9714  //
  9715  //     This had to be done to correct non-standard usages in the
  9716  //     original, manufacturer supplied header file.
  9717  
  9718  // Copyright (c) 2000-2010 Apple Inc.
  9719  // All rights reserved.
  9720  
  9721  // from ISO/IEC 988:1999 spec
  9722  
  9723  // 7.18.1.1 Exact-width integer types
  9724  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9725  //
  9726  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9727  //
  9728  // This file contains Original Code and/or Modifications of Original Code
  9729  // as defined in and that are subject to the Apple Public Source License
  9730  // Version 2.0 (the 'License'). You may not use this file except in
  9731  // compliance with the License. The rights granted to you under the License
  9732  // may not be used to create, or enable the creation or redistribution of,
  9733  // unlawful or unlicensed copies of an Apple operating system, or to
  9734  // circumvent, violate, or enable the circumvention or violation of, any
  9735  // terms of an Apple operating system software license agreement.
  9736  //
  9737  // Please obtain a copy of the License at
  9738  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9739  //
  9740  // The Original Code and all software distributed under the License are
  9741  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9742  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9743  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9744  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9745  // Please see the License for the specific language governing rights and
  9746  // limitations under the License.
  9747  //
  9748  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9749  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9750  //
  9751  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9752  //
  9753  // This file contains Original Code and/or Modifications of Original Code
  9754  // as defined in and that are subject to the Apple Public Source License
  9755  // Version 2.0 (the 'License'). You may not use this file except in
  9756  // compliance with the License. The rights granted to you under the License
  9757  // may not be used to create, or enable the creation or redistribution of,
  9758  // unlawful or unlicensed copies of an Apple operating system, or to
  9759  // circumvent, violate, or enable the circumvention or violation of, any
  9760  // terms of an Apple operating system software license agreement.
  9761  //
  9762  // Please obtain a copy of the License at
  9763  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9764  //
  9765  // The Original Code and all software distributed under the License are
  9766  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9767  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9768  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9769  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9770  // Please see the License for the specific language governing rights and
  9771  // limitations under the License.
  9772  //
  9773  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9774  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9775  //
  9776  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9777  //
  9778  // This file contains Original Code and/or Modifications of Original Code
  9779  // as defined in and that are subject to the Apple Public Source License
  9780  // Version 2.0 (the 'License'). You may not use this file except in
  9781  // compliance with the License. The rights granted to you under the License
  9782  // may not be used to create, or enable the creation or redistribution of,
  9783  // unlawful or unlicensed copies of an Apple operating system, or to
  9784  // circumvent, violate, or enable the circumvention or violation of, any
  9785  // terms of an Apple operating system software license agreement.
  9786  //
  9787  // Please obtain a copy of the License at
  9788  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9789  //
  9790  // The Original Code and all software distributed under the License are
  9791  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9792  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9793  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9794  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9795  // Please see the License for the specific language governing rights and
  9796  // limitations under the License.
  9797  //
  9798  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9799  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9800  //
  9801  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9802  //
  9803  // This file contains Original Code and/or Modifications of Original Code
  9804  // as defined in and that are subject to the Apple Public Source License
  9805  // Version 2.0 (the 'License'). You may not use this file except in
  9806  // compliance with the License. The rights granted to you under the License
  9807  // may not be used to create, or enable the creation or redistribution of,
  9808  // unlawful or unlicensed copies of an Apple operating system, or to
  9809  // circumvent, violate, or enable the circumvention or violation of, any
  9810  // terms of an Apple operating system software license agreement.
  9811  //
  9812  // Please obtain a copy of the License at
  9813  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9814  //
  9815  // The Original Code and all software distributed under the License are
  9816  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9817  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9818  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9819  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9820  // Please see the License for the specific language governing rights and
  9821  // limitations under the License.
  9822  //
  9823  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9824  
  9825  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9826  //
  9827  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9828  //
  9829  // This file contains Original Code and/or Modifications of Original Code
  9830  // as defined in and that are subject to the Apple Public Source License
  9831  // Version 2.0 (the 'License'). You may not use this file except in
  9832  // compliance with the License. The rights granted to you under the License
  9833  // may not be used to create, or enable the creation or redistribution of,
  9834  // unlawful or unlicensed copies of an Apple operating system, or to
  9835  // circumvent, violate, or enable the circumvention or violation of, any
  9836  // terms of an Apple operating system software license agreement.
  9837  //
  9838  // Please obtain a copy of the License at
  9839  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9840  //
  9841  // The Original Code and all software distributed under the License are
  9842  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9843  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9844  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9845  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9846  // Please see the License for the specific language governing rights and
  9847  // limitations under the License.
  9848  //
  9849  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9850  
  9851  type uint8_t = uint8 /* _uint8_t.h:31:23 */
  9852  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9853  //
  9854  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9855  //
  9856  // This file contains Original Code and/or Modifications of Original Code
  9857  // as defined in and that are subject to the Apple Public Source License
  9858  // Version 2.0 (the 'License'). You may not use this file except in
  9859  // compliance with the License. The rights granted to you under the License
  9860  // may not be used to create, or enable the creation or redistribution of,
  9861  // unlawful or unlicensed copies of an Apple operating system, or to
  9862  // circumvent, violate, or enable the circumvention or violation of, any
  9863  // terms of an Apple operating system software license agreement.
  9864  //
  9865  // Please obtain a copy of the License at
  9866  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9867  //
  9868  // The Original Code and all software distributed under the License are
  9869  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9870  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9871  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9872  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9873  // Please see the License for the specific language governing rights and
  9874  // limitations under the License.
  9875  //
  9876  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9877  
  9878  type uint16_t = uint16 /* _uint16_t.h:31:24 */
  9879  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9880  //
  9881  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9882  //
  9883  // This file contains Original Code and/or Modifications of Original Code
  9884  // as defined in and that are subject to the Apple Public Source License
  9885  // Version 2.0 (the 'License'). You may not use this file except in
  9886  // compliance with the License. The rights granted to you under the License
  9887  // may not be used to create, or enable the creation or redistribution of,
  9888  // unlawful or unlicensed copies of an Apple operating system, or to
  9889  // circumvent, violate, or enable the circumvention or violation of, any
  9890  // terms of an Apple operating system software license agreement.
  9891  //
  9892  // Please obtain a copy of the License at
  9893  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9894  //
  9895  // The Original Code and all software distributed under the License are
  9896  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9897  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9898  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9899  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9900  // Please see the License for the specific language governing rights and
  9901  // limitations under the License.
  9902  //
  9903  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9904  
  9905  // Copyright (c) 2012 Apple Inc. All rights reserved.
  9906  //
  9907  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9908  //
  9909  // This file contains Original Code and/or Modifications of Original Code
  9910  // as defined in and that are subject to the Apple Public Source License
  9911  // Version 2.0 (the 'License'). You may not use this file except in
  9912  // compliance with the License. The rights granted to you under the License
  9913  // may not be used to create, or enable the creation or redistribution of,
  9914  // unlawful or unlicensed copies of an Apple operating system, or to
  9915  // circumvent, violate, or enable the circumvention or violation of, any
  9916  // terms of an Apple operating system software license agreement.
  9917  //
  9918  // Please obtain a copy of the License at
  9919  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9920  //
  9921  // The Original Code and all software distributed under the License are
  9922  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9923  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9924  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9925  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9926  // Please see the License for the specific language governing rights and
  9927  // limitations under the License.
  9928  //
  9929  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9930  
  9931  // 7.18.1.2 Minimum-width integer types
  9932  type int_least8_t = int8_t     /* stdint.h:38:26 */
  9933  type int_least16_t = int16_t   /* stdint.h:39:25 */
  9934  type int_least32_t = int32_t   /* stdint.h:40:25 */
  9935  type int_least64_t = int64_t   /* stdint.h:41:25 */
  9936  type uint_least8_t = uint8_t   /* stdint.h:42:25 */
  9937  type uint_least16_t = uint16_t /* stdint.h:43:24 */
  9938  type uint_least32_t = uint32_t /* stdint.h:44:24 */
  9939  type uint_least64_t = uint64_t /* stdint.h:45:24 */
  9940  
  9941  // 7.18.1.3 Fastest-width integer types
  9942  type int_fast8_t = int8_t     /* stdint.h:49:27 */
  9943  type int_fast16_t = int16_t   /* stdint.h:50:26 */
  9944  type int_fast32_t = int32_t   /* stdint.h:51:26 */
  9945  type int_fast64_t = int64_t   /* stdint.h:52:26 */
  9946  type uint_fast8_t = uint8_t   /* stdint.h:53:26 */
  9947  type uint_fast16_t = uint16_t /* stdint.h:54:25 */
  9948  type uint_fast32_t = uint32_t /* stdint.h:55:25 */
  9949  type uint_fast64_t = uint64_t /* stdint.h:56:25 */
  9950  
  9951  // 7.18.1.4 Integer types capable of holding object pointers
  9952  
  9953  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  9954  //
  9955  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9956  //
  9957  // This file contains Original Code and/or Modifications of Original Code
  9958  // as defined in and that are subject to the Apple Public Source License
  9959  // Version 2.0 (the 'License'). You may not use this file except in
  9960  // compliance with the License. The rights granted to you under the License
  9961  // may not be used to create, or enable the creation or redistribution of,
  9962  // unlawful or unlicensed copies of an Apple operating system, or to
  9963  // circumvent, violate, or enable the circumvention or violation of, any
  9964  // terms of an Apple operating system software license agreement.
  9965  //
  9966  // Please obtain a copy of the License at
  9967  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9968  //
  9969  // The Original Code and all software distributed under the License are
  9970  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9971  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9972  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9973  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  9974  // Please see the License for the specific language governing rights and
  9975  // limitations under the License.
  9976  //
  9977  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  9978  
  9979  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  9980  //
  9981  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  9982  //
  9983  // This file contains Original Code and/or Modifications of Original Code
  9984  // as defined in and that are subject to the Apple Public Source License
  9985  // Version 2.0 (the 'License'). You may not use this file except in
  9986  // compliance with the License. The rights granted to you under the License
  9987  // may not be used to create, or enable the creation or redistribution of,
  9988  // unlawful or unlicensed copies of an Apple operating system, or to
  9989  // circumvent, violate, or enable the circumvention or violation of, any
  9990  // terms of an Apple operating system software license agreement.
  9991  //
  9992  // Please obtain a copy of the License at
  9993  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  9994  //
  9995  // The Original Code and all software distributed under the License are
  9996  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  9997  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  9998  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  9999  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10000  // Please see the License for the specific language governing rights and
 10001  // limitations under the License.
 10002  //
 10003  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10004  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10005  //
 10006  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10007  //
 10008  // This file contains Original Code and/or Modifications of Original Code
 10009  // as defined in and that are subject to the Apple Public Source License
 10010  // Version 2.0 (the 'License'). You may not use this file except in
 10011  // compliance with the License. The rights granted to you under the License
 10012  // may not be used to create, or enable the creation or redistribution of,
 10013  // unlawful or unlicensed copies of an Apple operating system, or to
 10014  // circumvent, violate, or enable the circumvention or violation of, any
 10015  // terms of an Apple operating system software license agreement.
 10016  //
 10017  // Please obtain a copy of the License at
 10018  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10019  //
 10020  // The Original Code and all software distributed under the License are
 10021  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10022  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10023  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10024  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10025  // Please see the License for the specific language governing rights and
 10026  // limitations under the License.
 10027  //
 10028  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10029  
 10030  // 7.18.1.5 Greatest-width integer types
 10031  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10032  //
 10033  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10034  //
 10035  // This file contains Original Code and/or Modifications of Original Code
 10036  // as defined in and that are subject to the Apple Public Source License
 10037  // Version 2.0 (the 'License'). You may not use this file except in
 10038  // compliance with the License. The rights granted to you under the License
 10039  // may not be used to create, or enable the creation or redistribution of,
 10040  // unlawful or unlicensed copies of an Apple operating system, or to
 10041  // circumvent, violate, or enable the circumvention or violation of, any
 10042  // terms of an Apple operating system software license agreement.
 10043  //
 10044  // Please obtain a copy of the License at
 10045  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10046  //
 10047  // The Original Code and all software distributed under the License are
 10048  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10049  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10050  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10051  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10052  // Please see the License for the specific language governing rights and
 10053  // limitations under the License.
 10054  //
 10055  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10056  
 10057  type intmax_t = int64 /* _intmax_t.h:32:25 */
 10058  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10059  //
 10060  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10061  //
 10062  // This file contains Original Code and/or Modifications of Original Code
 10063  // as defined in and that are subject to the Apple Public Source License
 10064  // Version 2.0 (the 'License'). You may not use this file except in
 10065  // compliance with the License. The rights granted to you under the License
 10066  // may not be used to create, or enable the creation or redistribution of,
 10067  // unlawful or unlicensed copies of an Apple operating system, or to
 10068  // circumvent, violate, or enable the circumvention or violation of, any
 10069  // terms of an Apple operating system software license agreement.
 10070  //
 10071  // Please obtain a copy of the License at
 10072  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10073  //
 10074  // The Original Code and all software distributed under the License are
 10075  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10076  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10077  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10078  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10079  // Please see the License for the specific language governing rights and
 10080  // limitations under the License.
 10081  //
 10082  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10083  
 10084  type uintmax_t = uint64 /* _uintmax_t.h:32:26 */
 10085  
 10086  // 7.18.4 Macros for integer constants
 10087  
 10088  // 7.18.2 Limits of specified-width integer types:
 10089  //   These #defines specify the minimum and maximum limits
 10090  //   of each of the types declared above.
 10091  //
 10092  //   They must have "the same type as would an expression that is an
 10093  //   object of the corresponding type converted according to the integer
 10094  //   promotion".
 10095  
 10096  // 7.18.2.1 Limits of exact-width integer types
 10097  
 10098  //
 10099  //       Note:  the literal "most negative int" cannot be written in C --
 10100  //       the rules in the standard (section 6.4.4.1 in C99) will give it
 10101  //       an unsigned type, so INT32_MIN (and the most negative member of
 10102  //       any larger signed type) must be written via a constant expression.
 10103  //
 10104  
 10105  // 7.18.2.2 Limits of minimum-width integer types
 10106  
 10107  // 7.18.2.3 Limits of fastest minimum-width integer types
 10108  
 10109  // 7.18.2.4 Limits of integer types capable of holding object pointers
 10110  
 10111  // 7.18.2.5 Limits of greatest-width integer types
 10112  
 10113  // 7.18.3 "Other"
 10114  
 10115  // WCHAR_MIN should be 0 if wchar_t is an unsigned type and
 10116  //    (-WCHAR_MAX-1) if wchar_t is a signed type.  Unfortunately,
 10117  //    it turns out that -fshort-wchar changes the signedness of
 10118  //    the type.
 10119  
 10120  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
 10121  //
 10122  // @APPLE_LICENSE_HEADER_START@
 10123  //
 10124  // This file contains Original Code and/or Modifications of Original Code
 10125  // as defined in and that are subject to the Apple Public Source License
 10126  // Version 2.0 (the 'License'). You may not use this file except in
 10127  // compliance with the License. Please obtain a copy of the License at
 10128  // http://www.opensource.apple.com/apsl/ and read it before using this
 10129  // file.
 10130  //
 10131  // The Original Code and all software distributed under the License are
 10132  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10133  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10134  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10135  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10136  // Please see the License for the specific language governing rights and
 10137  // limitations under the License.
 10138  //
 10139  // @APPLE_LICENSE_HEADER_END@
 10140  
 10141  // [XSI] The timeval structure shall be defined as described in
 10142  // <sys/time.h>
 10143  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10144  //
 10145  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10146  //
 10147  // This file contains Original Code and/or Modifications of Original Code
 10148  // as defined in and that are subject to the Apple Public Source License
 10149  // Version 2.0 (the 'License'). You may not use this file except in
 10150  // compliance with the License. The rights granted to you under the License
 10151  // may not be used to create, or enable the creation or redistribution of,
 10152  // unlawful or unlicensed copies of an Apple operating system, or to
 10153  // circumvent, violate, or enable the circumvention or violation of, any
 10154  // terms of an Apple operating system software license agreement.
 10155  //
 10156  // Please obtain a copy of the License at
 10157  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10158  //
 10159  // The Original Code and all software distributed under the License are
 10160  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10161  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10162  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10163  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10164  // Please see the License for the specific language governing rights and
 10165  // limitations under the License.
 10166  //
 10167  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10168  
 10169  // The id_t type shall be defined as described in <sys/types.h>
 10170  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10171  //
 10172  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10173  //
 10174  // This file contains Original Code and/or Modifications of Original Code
 10175  // as defined in and that are subject to the Apple Public Source License
 10176  // Version 2.0 (the 'License'). You may not use this file except in
 10177  // compliance with the License. The rights granted to you under the License
 10178  // may not be used to create, or enable the creation or redistribution of,
 10179  // unlawful or unlicensed copies of an Apple operating system, or to
 10180  // circumvent, violate, or enable the circumvention or violation of, any
 10181  // terms of an Apple operating system software license agreement.
 10182  //
 10183  // Please obtain a copy of the License at
 10184  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10185  //
 10186  // The Original Code and all software distributed under the License are
 10187  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10188  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10189  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10190  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10191  // Please see the License for the specific language governing rights and
 10192  // limitations under the License.
 10193  //
 10194  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10195  
 10196  // Resource limit type (low 63 bits, excluding the sign bit)
 10197  type rlim_t = uint64 /* resource.h:89:25 */
 10198  
 10199  // ****
 10200  //
 10201  // PRIORITY
 10202  
 10203  // Possible values of the first parameter to getpriority()/setpriority(),
 10204  // used to indicate the type of the second parameter.
 10205  
 10206  // Range limitations for the value of the third parameter to setpriority().
 10207  
 10208  // use PRIO_DARWIN_BG to set the current thread into "background" state
 10209  // which lowers CPU, disk IO, and networking priorites until thread terminates
 10210  // or "background" state is revoked
 10211  
 10212  // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to
 10213  // the GPU. (deprecated)
 10214  
 10215  // ****
 10216  //
 10217  // RESOURCE USAGE
 10218  
 10219  // Possible values of the first parameter to getrusage(), used to indicate
 10220  // the scope of the information to be returned.
 10221  
 10222  // A structure representing an accounting of resource utilization.  The
 10223  // address of an instance of this structure is the second parameter to
 10224  // getrusage().
 10225  //
 10226  // Note: All values other than ru_utime and ru_stime are implementaiton
 10227  //       defined and subject to change in a future release.  Their use
 10228  //       is discouraged for standards compliant programs.
 10229  type rusage = struct {
 10230  	ru_utime struct {
 10231  		tv_sec  int64
 10232  		tv_usec int32
 10233  		_       [4]byte
 10234  	}
 10235  	ru_stime struct {
 10236  		tv_sec  int64
 10237  		tv_usec int32
 10238  		_       [4]byte
 10239  	}
 10240  	ru_maxrss   int64
 10241  	ru_ixrss    int64
 10242  	ru_idrss    int64
 10243  	ru_isrss    int64
 10244  	ru_minflt   int64
 10245  	ru_majflt   int64
 10246  	ru_nswap    int64
 10247  	ru_inblock  int64
 10248  	ru_oublock  int64
 10249  	ru_msgsnd   int64
 10250  	ru_msgrcv   int64
 10251  	ru_nsignals int64
 10252  	ru_nvcsw    int64
 10253  	ru_nivcsw   int64
 10254  } /* resource.h:152:1 */
 10255  
 10256  // Flavors for proc_pid_rusage().
 10257  
 10258  type rusage_info_t = uintptr /* resource.h:193:14 */
 10259  
 10260  type rusage_info_v0 = struct {
 10261  	ri_uuid               [16]uint8_t
 10262  	ri_user_time          uint64_t
 10263  	ri_system_time        uint64_t
 10264  	ri_pkg_idle_wkups     uint64_t
 10265  	ri_interrupt_wkups    uint64_t
 10266  	ri_pageins            uint64_t
 10267  	ri_wired_size         uint64_t
 10268  	ri_resident_size      uint64_t
 10269  	ri_phys_footprint     uint64_t
 10270  	ri_proc_start_abstime uint64_t
 10271  	ri_proc_exit_abstime  uint64_t
 10272  } /* resource.h:195:1 */
 10273  
 10274  type rusage_info_v1 = struct {
 10275  	ri_uuid                  [16]uint8_t
 10276  	ri_user_time             uint64_t
 10277  	ri_system_time           uint64_t
 10278  	ri_pkg_idle_wkups        uint64_t
 10279  	ri_interrupt_wkups       uint64_t
 10280  	ri_pageins               uint64_t
 10281  	ri_wired_size            uint64_t
 10282  	ri_resident_size         uint64_t
 10283  	ri_phys_footprint        uint64_t
 10284  	ri_proc_start_abstime    uint64_t
 10285  	ri_proc_exit_abstime     uint64_t
 10286  	ri_child_user_time       uint64_t
 10287  	ri_child_system_time     uint64_t
 10288  	ri_child_pkg_idle_wkups  uint64_t
 10289  	ri_child_interrupt_wkups uint64_t
 10290  	ri_child_pageins         uint64_t
 10291  	ri_child_elapsed_abstime uint64_t
 10292  } /* resource.h:209:1 */
 10293  
 10294  type rusage_info_v2 = struct {
 10295  	ri_uuid                  [16]uint8_t
 10296  	ri_user_time             uint64_t
 10297  	ri_system_time           uint64_t
 10298  	ri_pkg_idle_wkups        uint64_t
 10299  	ri_interrupt_wkups       uint64_t
 10300  	ri_pageins               uint64_t
 10301  	ri_wired_size            uint64_t
 10302  	ri_resident_size         uint64_t
 10303  	ri_phys_footprint        uint64_t
 10304  	ri_proc_start_abstime    uint64_t
 10305  	ri_proc_exit_abstime     uint64_t
 10306  	ri_child_user_time       uint64_t
 10307  	ri_child_system_time     uint64_t
 10308  	ri_child_pkg_idle_wkups  uint64_t
 10309  	ri_child_interrupt_wkups uint64_t
 10310  	ri_child_pageins         uint64_t
 10311  	ri_child_elapsed_abstime uint64_t
 10312  	ri_diskio_bytesread      uint64_t
 10313  	ri_diskio_byteswritten   uint64_t
 10314  } /* resource.h:229:1 */
 10315  
 10316  type rusage_info_v3 = struct {
 10317  	ri_uuid                          [16]uint8_t
 10318  	ri_user_time                     uint64_t
 10319  	ri_system_time                   uint64_t
 10320  	ri_pkg_idle_wkups                uint64_t
 10321  	ri_interrupt_wkups               uint64_t
 10322  	ri_pageins                       uint64_t
 10323  	ri_wired_size                    uint64_t
 10324  	ri_resident_size                 uint64_t
 10325  	ri_phys_footprint                uint64_t
 10326  	ri_proc_start_abstime            uint64_t
 10327  	ri_proc_exit_abstime             uint64_t
 10328  	ri_child_user_time               uint64_t
 10329  	ri_child_system_time             uint64_t
 10330  	ri_child_pkg_idle_wkups          uint64_t
 10331  	ri_child_interrupt_wkups         uint64_t
 10332  	ri_child_pageins                 uint64_t
 10333  	ri_child_elapsed_abstime         uint64_t
 10334  	ri_diskio_bytesread              uint64_t
 10335  	ri_diskio_byteswritten           uint64_t
 10336  	ri_cpu_time_qos_default          uint64_t
 10337  	ri_cpu_time_qos_maintenance      uint64_t
 10338  	ri_cpu_time_qos_background       uint64_t
 10339  	ri_cpu_time_qos_utility          uint64_t
 10340  	ri_cpu_time_qos_legacy           uint64_t
 10341  	ri_cpu_time_qos_user_initiated   uint64_t
 10342  	ri_cpu_time_qos_user_interactive uint64_t
 10343  	ri_billed_system_time            uint64_t
 10344  	ri_serviced_system_time          uint64_t
 10345  } /* resource.h:251:1 */
 10346  
 10347  type rusage_info_v4 = struct {
 10348  	ri_uuid                          [16]uint8_t
 10349  	ri_user_time                     uint64_t
 10350  	ri_system_time                   uint64_t
 10351  	ri_pkg_idle_wkups                uint64_t
 10352  	ri_interrupt_wkups               uint64_t
 10353  	ri_pageins                       uint64_t
 10354  	ri_wired_size                    uint64_t
 10355  	ri_resident_size                 uint64_t
 10356  	ri_phys_footprint                uint64_t
 10357  	ri_proc_start_abstime            uint64_t
 10358  	ri_proc_exit_abstime             uint64_t
 10359  	ri_child_user_time               uint64_t
 10360  	ri_child_system_time             uint64_t
 10361  	ri_child_pkg_idle_wkups          uint64_t
 10362  	ri_child_interrupt_wkups         uint64_t
 10363  	ri_child_pageins                 uint64_t
 10364  	ri_child_elapsed_abstime         uint64_t
 10365  	ri_diskio_bytesread              uint64_t
 10366  	ri_diskio_byteswritten           uint64_t
 10367  	ri_cpu_time_qos_default          uint64_t
 10368  	ri_cpu_time_qos_maintenance      uint64_t
 10369  	ri_cpu_time_qos_background       uint64_t
 10370  	ri_cpu_time_qos_utility          uint64_t
 10371  	ri_cpu_time_qos_legacy           uint64_t
 10372  	ri_cpu_time_qos_user_initiated   uint64_t
 10373  	ri_cpu_time_qos_user_interactive uint64_t
 10374  	ri_billed_system_time            uint64_t
 10375  	ri_serviced_system_time          uint64_t
 10376  	ri_logical_writes                uint64_t
 10377  	ri_lifetime_max_phys_footprint   uint64_t
 10378  	ri_instructions                  uint64_t
 10379  	ri_cycles                        uint64_t
 10380  	ri_billed_energy                 uint64_t
 10381  	ri_serviced_energy               uint64_t
 10382  	ri_interval_max_phys_footprint   uint64_t
 10383  	ri_runnable_time                 uint64_t
 10384  } /* resource.h:282:1 */
 10385  
 10386  type rusage_info_current = rusage_info_v4 /* resource.h:321:31 */
 10387  
 10388  // ****
 10389  //
 10390  // RESOURCE LIMITS
 10391  
 10392  // Symbolic constants for resource limits; since all limits are representable
 10393  // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of
 10394  // RLIM_INFINITY.
 10395  
 10396  // Possible values of the first parameter to getrlimit()/setrlimit(), to
 10397  // indicate for which resource the operation is being performed.
 10398  
 10399  // A structure representing a resource limit.  The address of an instance
 10400  // of this structure is the second parameter to getrlimit()/setrlimit().
 10401  type rlimit = struct {
 10402  	rlim_cur rlim_t
 10403  	rlim_max rlim_t
 10404  } /* resource.h:365:1 */
 10405  
 10406  // proc_rlimit_control()
 10407  //
 10408  // Resource limit flavors
 10409  
 10410  // Flags for wakeups monitor control.
 10411  
 10412  // Flags for CPU usage monitor control.
 10413  
 10414  // Flags for memory footprint interval tracking.
 10415  
 10416  type proc_rlimit_control_wakeupmon = struct {
 10417  	wm_flags uint32_t
 10418  	wm_rate  int32_t
 10419  } /* resource.h:400:1 */
 10420  
 10421  // Option bits for the third argument of wait4.  WNOHANG causes the
 10422  // wait to not hang if there are no stopped or terminated processes, rather
 10423  // returning an error indication in this case (pid==0).  WUNTRACED
 10424  // indicates that the caller should receive status about untraced children
 10425  // which stop due to signals.  If children are stopped and a wait without
 10426  // this option is done, it is as though they were still running... nothing
 10427  // about them is returned.
 10428  
 10429  // Macros to test the exit status returned by wait
 10430  // and extract the relevant values.
 10431  
 10432  // These macros are permited, as they are in the implementation namespace
 10433  
 10434  // [XSI] The <sys/wait.h> header shall define the following macros for
 10435  // analysis of process status values
 10436  // 0x13 == SIGCONT
 10437  
 10438  // [XSI] The following symbolic constants shall be defined as possible
 10439  // values for the fourth argument to waitid().
 10440  // WNOHANG already defined for wait4()
 10441  // WUNTRACED defined for wait4() but not for waitid()
 10442  // waitid() parameter
 10443  
 10444  // POSIX extensions and 4.2/4.3 compatability:
 10445  
 10446  // Tokens for special values of the "pid" parameter to wait4.
 10447  
 10448  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
 10449  //
 10450  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10451  //
 10452  // This file contains Original Code and/or Modifications of Original Code
 10453  // as defined in and that are subject to the Apple Public Source License
 10454  // Version 2.0 (the 'License'). You may not use this file except in
 10455  // compliance with the License. The rights granted to you under the License
 10456  // may not be used to create, or enable the creation or redistribution of,
 10457  // unlawful or unlicensed copies of an Apple operating system, or to
 10458  // circumvent, violate, or enable the circumvention or violation of, any
 10459  // terms of an Apple operating system software license agreement.
 10460  //
 10461  // Please obtain a copy of the License at
 10462  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10463  //
 10464  // The Original Code and all software distributed under the License are
 10465  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10466  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10467  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10468  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10469  // Please see the License for the specific language governing rights and
 10470  // limitations under the License.
 10471  //
 10472  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10473  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
 10474  
 10475  // Deprecated:
 10476  // Structure of the information in the status word returned by wait4.
 10477  // If w_stopval==_WSTOPPED, then the second structure describes
 10478  // the information returned, else the first.
 10479  type wait = struct{ w_status int32 } /* wait.h:194:1 */
 10480  
 10481  // built-in for gcc
 10482  
 10483  // built-in for gcc 3
 10484  
 10485  // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
 10486  // _GCC_SIZE_T
 10487  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
 10488  //
 10489  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10490  //
 10491  // This file contains Original Code and/or Modifications of Original Code
 10492  // as defined in and that are subject to the Apple Public Source License
 10493  // Version 2.0 (the 'License'). You may not use this file except in
 10494  // compliance with the License. The rights granted to you under the License
 10495  // may not be used to create, or enable the creation or redistribution of,
 10496  // unlawful or unlicensed copies of an Apple operating system, or to
 10497  // circumvent, violate, or enable the circumvention or violation of, any
 10498  // terms of an Apple operating system software license agreement.
 10499  //
 10500  // Please obtain a copy of the License at
 10501  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10502  //
 10503  // The Original Code and all software distributed under the License are
 10504  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10505  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10506  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10507  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10508  // Please see the License for the specific language governing rights and
 10509  // limitations under the License.
 10510  //
 10511  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10512  
 10513  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10514  //
 10515  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10516  //
 10517  // This file contains Original Code and/or Modifications of Original Code
 10518  // as defined in and that are subject to the Apple Public Source License
 10519  // Version 2.0 (the 'License'). You may not use this file except in
 10520  // compliance with the License. The rights granted to you under the License
 10521  // may not be used to create, or enable the creation or redistribution of,
 10522  // unlawful or unlicensed copies of an Apple operating system, or to
 10523  // circumvent, violate, or enable the circumvention or violation of, any
 10524  // terms of an Apple operating system software license agreement.
 10525  //
 10526  // Please obtain a copy of the License at
 10527  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10528  //
 10529  // The Original Code and all software distributed under the License are
 10530  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10531  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10532  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10533  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10534  // Please see the License for the specific language governing rights and
 10535  // limitations under the License.
 10536  //
 10537  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10538  
 10539  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 10540  //
 10541  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10542  //
 10543  // This file contains Original Code and/or Modifications of Original Code
 10544  // as defined in and that are subject to the Apple Public Source License
 10545  // Version 2.0 (the 'License'). You may not use this file except in
 10546  // compliance with the License. The rights granted to you under the License
 10547  // may not be used to create, or enable the creation or redistribution of,
 10548  // unlawful or unlicensed copies of an Apple operating system, or to
 10549  // circumvent, violate, or enable the circumvention or violation of, any
 10550  // terms of an Apple operating system software license agreement.
 10551  //
 10552  // Please obtain a copy of the License at
 10553  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10554  //
 10555  // The Original Code and all software distributed under the License are
 10556  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10557  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10558  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10559  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10560  // Please see the License for the specific language governing rights and
 10561  // limitations under the License.
 10562  //
 10563  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10564  type ct_rune_t = int32 /* _ct_rune_t.h:32:28 */
 10565  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10566  //
 10567  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10568  //
 10569  // This file contains Original Code and/or Modifications of Original Code
 10570  // as defined in and that are subject to the Apple Public Source License
 10571  // Version 2.0 (the 'License'). You may not use this file except in
 10572  // compliance with the License. The rights granted to you under the License
 10573  // may not be used to create, or enable the creation or redistribution of,
 10574  // unlawful or unlicensed copies of an Apple operating system, or to
 10575  // circumvent, violate, or enable the circumvention or violation of, any
 10576  // terms of an Apple operating system software license agreement.
 10577  //
 10578  // Please obtain a copy of the License at
 10579  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10580  //
 10581  // The Original Code and all software distributed under the License are
 10582  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10583  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10584  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10585  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10586  // Please see the License for the specific language governing rights and
 10587  // limitations under the License.
 10588  //
 10589  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10590  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
 10591  //
 10592  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10593  //
 10594  // This file contains Original Code and/or Modifications of Original Code
 10595  // as defined in and that are subject to the Apple Public Source License
 10596  // Version 2.0 (the 'License'). You may not use this file except in
 10597  // compliance with the License. The rights granted to you under the License
 10598  // may not be used to create, or enable the creation or redistribution of,
 10599  // unlawful or unlicensed copies of an Apple operating system, or to
 10600  // circumvent, violate, or enable the circumvention or violation of, any
 10601  // terms of an Apple operating system software license agreement.
 10602  //
 10603  // Please obtain a copy of the License at
 10604  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10605  //
 10606  // The Original Code and all software distributed under the License are
 10607  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10608  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10609  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10610  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10611  // Please see the License for the specific language governing rights and
 10612  // limitations under the License.
 10613  //
 10614  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10615  type rune_t = int32 /* _rune_t.h:31:25 */
 10616  
 10617  // Copyright (c) 2012 Apple Inc. All rights reserved.
 10618  //
 10619  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 10620  //
 10621  // This file contains Original Code and/or Modifications of Original Code
 10622  // as defined in and that are subject to the Apple Public Source License
 10623  // Version 2.0 (the 'License'). You may not use this file except in
 10624  // compliance with the License. The rights granted to you under the License
 10625  // may not be used to create, or enable the creation or redistribution of,
 10626  // unlawful or unlicensed copies of an Apple operating system, or to
 10627  // circumvent, violate, or enable the circumvention or violation of, any
 10628  // terms of an Apple operating system software license agreement.
 10629  //
 10630  // Please obtain a copy of the License at
 10631  // http://www.opensource.apple.com/apsl/ and read it before using this file.
 10632  //
 10633  // The Original Code and all software distributed under the License are
 10634  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 10635  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 10636  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 10637  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 10638  // Please see the License for the specific language governing rights and
 10639  // limitations under the License.
 10640  //
 10641  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 10642  
 10643  // wchar_t is a built-in type in C++
 10644  
 10645  type div_t = struct {
 10646  	quot int32
 10647  	rem  int32
 10648  } /* stdlib.h:86:3 */
 10649  
 10650  type ldiv_t = struct {
 10651  	quot int64
 10652  	rem  int64
 10653  } /* stdlib.h:91:3 */
 10654  
 10655  type lldiv_t = struct {
 10656  	quot int64
 10657  	rem  int64
 10658  } /* stdlib.h:97:3 */ // getsubopt(3) external variable
 10659  // valloc is now declared in _malloc.h
 10660  
 10661  // Poison the following routines if -fshort-wchar is set
 10662  
 10663  var prog uintptr /* minigzip.c:336:13: */
 10664  
 10665  // ===========================================================================
 10666  // Display error message and exit
 10667  func error(tls *libc.TLS, msg uintptr) { /* minigzip.c:351:6: */
 10668  	bp := tls.Alloc(16)
 10669  	defer tls.Free(16)
 10670  
 10671  	libc.Xfprintf(tls, libc.X__stderrp, ts /* "%s: %s\n" */, libc.VaList(bp, prog, msg))
 10672  	libc.Xexit(tls, 1)
 10673  }
 10674  
 10675  // ===========================================================================
 10676  // Compress input to output then close both files.
 10677  
 10678  func gz_compress(tls *libc.TLS, in uintptr, out gzFile) { /* minigzip.c:362:6: */
 10679  	bp := tls.Alloc(16388)
 10680  	defer tls.Free(16388)
 10681  
 10682  	// var buf [16384]int8 at bp, 16384
 10683  
 10684  	var len int32
 10685  	// var err int32 at bp+16384, 4
 10686  
 10687  	for {
 10688  		len = int32(libc.Xfread(tls, bp /* &buf[0] */, uint64(1), uint64(unsafe.Sizeof([16384]int8{})), in))
 10689  		if libc.Xferror(tls, in) != 0 {
 10690  			libc.Xperror(tls, ts+8 /* "fread" */)
 10691  			libc.Xexit(tls, 1)
 10692  		}
 10693  		if len == 0 {
 10694  			break
 10695  		}
 10696  
 10697  		if z.Xgzwrite(tls, out, bp /* &buf[0] */, uint32(len)) != len {
 10698  			error(tls, z.Xgzerror(tls, out, bp+16384 /* &err */))
 10699  		}
 10700  	}
 10701  	libc.Xfclose(tls, in)
 10702  	if z.Xgzclose(tls, out) != 0 {
 10703  		error(tls, ts+14 /* "failed gzclose" */)
 10704  	}
 10705  }
 10706  
 10707  // ===========================================================================
 10708  // Uncompress input to output then close both files.
 10709  func gz_uncompress(tls *libc.TLS, in gzFile, out uintptr) { /* minigzip.c:430:6: */
 10710  	bp := tls.Alloc(16388)
 10711  	defer tls.Free(16388)
 10712  
 10713  	// var buf [16384]int8 at bp, 16384
 10714  
 10715  	var len int32
 10716  	// var err int32 at bp+16384, 4
 10717  
 10718  	for {
 10719  		len = z.Xgzread(tls, in, bp /* &buf[0] */, uint32(unsafe.Sizeof([16384]int8{})))
 10720  		if len < 0 {
 10721  			error(tls, z.Xgzerror(tls, in, bp+16384 /* &err */))
 10722  		}
 10723  		if len == 0 {
 10724  			break
 10725  		}
 10726  
 10727  		if int32(libc.Xfwrite(tls, bp /* &buf[0] */, uint64(1), uint64(uint32(len)), out)) != len {
 10728  			error(tls, ts+29 /* "failed fwrite" */)
 10729  		}
 10730  	}
 10731  	if libc.Xfclose(tls, out) != 0 {
 10732  		error(tls, ts+43 /* "failed fclose" */)
 10733  	}
 10734  
 10735  	if z.Xgzclose(tls, in) != 0 {
 10736  		error(tls, ts+14 /* "failed gzclose" */)
 10737  	}
 10738  }
 10739  
 10740  // ===========================================================================
 10741  // Compress the given file: create a corresponding .gz file and remove the
 10742  // original.
 10743  func file_compress(tls *libc.TLS, file uintptr, mode uintptr) { /* minigzip.c:457:6: */
 10744  	bp := tls.Alloc(1064)
 10745  	defer tls.Free(1064)
 10746  
 10747  	// var outfile [1024]int8 at bp+40, 1024
 10748  
 10749  	var in uintptr
 10750  	var out gzFile
 10751  
 10752  	if (libc.Xstrlen(tls, file) + libc.Xstrlen(tls, ts+57 /* ".gz" */)) >= size_t(unsafe.Sizeof([1024]int8{})) {
 10753  		libc.Xfprintf(tls, libc.X__stderrp, ts+61 /* "%s: filename too..." */, libc.VaList(bp, prog))
 10754  		libc.Xexit(tls, 1)
 10755  	}
 10756  
 10757  	libc.X__builtin___snprintf_chk(tls, bp+40 /* &outfile[0] */, uint64(unsafe.Sizeof([1024]int8{})), 0, libc.X__builtin_object_size(tls, bp+40 /* &outfile[0] */, func() int32 {
 10758  		if 2 > 1 {
 10759  			return 1
 10760  		}
 10761  		return 0
 10762  	}()), ts+84 /* "%s%s" */, libc.VaList(bp+8, file, ts+57 /* ".gz" */))
 10763  
 10764  	in = libc.Xfopen(tls, file, ts+89 /* "rb" */)
 10765  	if in == (uintptr(0)) {
 10766  		libc.Xperror(tls, file)
 10767  		libc.Xexit(tls, 1)
 10768  	}
 10769  	out = z.Xgzopen(tls, bp+40 /* &outfile[0] */, mode)
 10770  	if out == (uintptr(0)) {
 10771  		libc.Xfprintf(tls, libc.X__stderrp, ts+92 /* "%s: can't gzopen..." */, libc.VaList(bp+24, prog, bp+40 /* &outfile[0] */))
 10772  		libc.Xexit(tls, 1)
 10773  	}
 10774  	gz_compress(tls, in, out)
 10775  
 10776  	libc.Xunlink(tls, file)
 10777  }
 10778  
 10779  // ===========================================================================
 10780  // Uncompress the given file and remove the original.
 10781  func file_uncompress(tls *libc.TLS, file uintptr) { /* minigzip.c:496:6: */
 10782  	bp := tls.Alloc(1064)
 10783  	defer tls.Free(1064)
 10784  
 10785  	// var buf [1024]int8 at bp+40, 1024
 10786  
 10787  	var infile uintptr
 10788  	var outfile uintptr
 10789  	var out uintptr
 10790  	var in gzFile
 10791  	var len uint32 = uint32(libc.Xstrlen(tls, file))
 10792  
 10793  	if (size_t(len) + libc.Xstrlen(tls, ts+57 /* ".gz" */)) >= size_t(unsafe.Sizeof([1024]int8{})) {
 10794  		libc.Xfprintf(tls, libc.X__stderrp, ts+61 /* "%s: filename too..." */, libc.VaList(bp, prog))
 10795  		libc.Xexit(tls, 1)
 10796  	}
 10797  
 10798  	libc.X__builtin___snprintf_chk(tls, bp+40 /* &buf[0] */, uint64(unsafe.Sizeof([1024]int8{})), 0, libc.X__builtin_object_size(tls, bp+40 /* &buf[0] */, func() int32 {
 10799  		if 2 > 1 {
 10800  			return 1
 10801  		}
 10802  		return 0
 10803  	}()), ts+113 /* "%s" */, libc.VaList(bp+8, file))
 10804  
 10805  	if (uint64(len) > (uint64(unsafe.Sizeof([4]int8{})) - uint64(1))) && (libc.Xstrcmp(tls, ((file+uintptr(len))-uintptr((uint64(unsafe.Sizeof([4]int8{}))-uint64(1)))), ts+57 /* ".gz" */) == 0) {
 10806  		infile = file
 10807  		outfile = bp + 40 /* &buf[0] */
 10808  		*(*int8)(unsafe.Pointer(outfile + uintptr((len - uint32(3))))) = int8(0)
 10809  	} else {
 10810  		outfile = file
 10811  		infile = bp + 40 /* &buf[0] */
 10812  		libc.X__builtin___snprintf_chk(tls, (bp + 40 /* &buf[0] */ + uintptr(len)), (uint64(unsafe.Sizeof([1024]int8{})) - uint64(len)), 0, libc.X__builtin_object_size(tls, (bp+40 /* &buf[0] */ +uintptr(len)), func() int32 {
 10813  			if 2 > 1 {
 10814  				return 1
 10815  			}
 10816  			return 0
 10817  		}()), ts+113 /* "%s" */, libc.VaList(bp+16, ts+57 /* ".gz" */))
 10818  	}
 10819  	in = z.Xgzopen(tls, infile, ts+89 /* "rb" */)
 10820  	if in == (uintptr(0)) {
 10821  		libc.Xfprintf(tls, libc.X__stderrp, ts+92 /* "%s: can't gzopen..." */, libc.VaList(bp+24, prog, infile))
 10822  		libc.Xexit(tls, 1)
 10823  	}
 10824  	out = libc.Xfopen(tls, outfile, ts+116 /* "wb" */)
 10825  	if out == (uintptr(0)) {
 10826  		libc.Xperror(tls, file)
 10827  		libc.Xexit(tls, 1)
 10828  	}
 10829  
 10830  	gz_uncompress(tls, in, out)
 10831  
 10832  	libc.Xunlink(tls, infile)
 10833  }
 10834  
 10835  // ===========================================================================
 10836  // Usage:  minigzip [-c] [-d] [-f] [-h] [-r] [-1 to -9] [files...]
 10837  //   -c : write to standard output
 10838  //   -d : decompress
 10839  //   -f : compress with Z_FILTERED
 10840  //   -h : compress with Z_HUFFMAN_ONLY
 10841  //   -r : compress with Z_RLE
 10842  //   -1 to -9 : compression level
 10843  
 10844  func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* minigzip.c:556:5: */
 10845  	bp := tls.Alloc(44)
 10846  	defer tls.Free(44)
 10847  
 10848  	var copyout int32 = 0
 10849  	var uncompr int32 = 0
 10850  	var file gzFile
 10851  	var bname uintptr
 10852  	// var outmode [20]int8 at bp+24, 20
 10853  
 10854  	libc.X__builtin___snprintf_chk(tls, bp+24 /* &outmode[0] */, uint64(unsafe.Sizeof([20]int8{})), 0, libc.X__builtin_object_size(tls, bp+24 /* &outmode[0] */, func() int32 {
 10855  		if 2 > 1 {
 10856  			return 1
 10857  		}
 10858  		return 0
 10859  	}()), ts+113 /* "%s" */, libc.VaList(bp, ts+119 /* "wb6 " */))
 10860  
 10861  	prog = *(*uintptr)(unsafe.Pointer(argv))
 10862  	bname = libc.Xstrrchr(tls, *(*uintptr)(unsafe.Pointer(argv)), '/')
 10863  	if bname != 0 {
 10864  		bname++
 10865  	} else {
 10866  		bname = *(*uintptr)(unsafe.Pointer(argv))
 10867  	}
 10868  	argc--
 10869  	argv += 8
 10870  
 10871  	if !(libc.Xstrcmp(tls, bname, ts+124 /* "gunzip" */) != 0) {
 10872  		uncompr = 1
 10873  	} else if !(libc.Xstrcmp(tls, bname, ts+131 /* "zcat" */) != 0) {
 10874  		copyout = libc.AssignInt32(&uncompr, 1)
 10875  	}
 10876  
 10877  	for argc > 0 {
 10878  		if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+136 /* "-c" */) == 0 {
 10879  			copyout = 1
 10880  		} else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+139 /* "-d" */) == 0 {
 10881  			uncompr = 1
 10882  		} else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+142 /* "-f" */) == 0 {
 10883  			*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 3)) = int8('f')
 10884  		} else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+145 /* "-h" */) == 0 {
 10885  			*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 3)) = int8('h')
 10886  		} else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+148 /* "-r" */) == 0 {
 10887  			*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 3)) = int8('R')
 10888  		} else if (((int32(*(*int8)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(argv)))))) == '-') && (int32(*(*int8)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(argv))) + 1))) >= '1')) && (int32(*(*int8)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(argv))) + 1))) <= '9')) && (int32(*(*int8)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(argv))) + 2))) == 0) {
 10889  			*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 2)) = *(*int8)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(argv))) + 1))
 10890  		} else {
 10891  			break
 10892  		}
 10893  		argc--
 10894  		argv += 8
 10895  	}
 10896  	if int32(*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 3))) == ' ' {
 10897  		*(*int8)(unsafe.Pointer(bp + 24 /* &outmode[0] */ + 3)) = int8(0)
 10898  	}
 10899  	if argc == 0 {
 10900  
 10901  		if uncompr != 0 {
 10902  			file = z.Xgzdopen(tls, libc.Xfileno(tls, libc.X__stdinp), ts+89 /* "rb" */)
 10903  			if file == (uintptr(0)) {
 10904  				error(tls, ts+151 /* "can't gzdopen st..." */)
 10905  			}
 10906  			gz_uncompress(tls, file, libc.X__stdoutp)
 10907  		} else {
 10908  			file = z.Xgzdopen(tls, libc.Xfileno(tls, libc.X__stdoutp), bp+24 /* &outmode[0] */)
 10909  			if file == (uintptr(0)) {
 10910  				error(tls, ts+171 /* "can't gzdopen st..." */)
 10911  			}
 10912  			gz_compress(tls, libc.X__stdinp, file)
 10913  		}
 10914  	} else {
 10915  		if copyout != 0 {
 10916  
 10917  		}
 10918  		for ok := true; ok; ok = func() bool { argv += 8; return libc.PreDecInt32(&argc, 1) != 0 }() {
 10919  			if uncompr != 0 {
 10920  				if copyout != 0 {
 10921  					file = z.Xgzopen(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+89 /* "rb" */)
 10922  					if file == (uintptr(0)) {
 10923  						libc.Xfprintf(tls, libc.X__stderrp, ts+92 /* "%s: can't gzopen..." */, libc.VaList(bp+8, prog, *(*uintptr)(unsafe.Pointer(argv))))
 10924  					} else {
 10925  						gz_uncompress(tls, file, libc.X__stdoutp)
 10926  					}
 10927  				} else {
 10928  					file_uncompress(tls, *(*uintptr)(unsafe.Pointer(argv)))
 10929  				}
 10930  			} else {
 10931  				if copyout != 0 {
 10932  					var in uintptr = libc.Xfopen(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+89 /* "rb" */)
 10933  
 10934  					if in == (uintptr(0)) {
 10935  						libc.Xperror(tls, *(*uintptr)(unsafe.Pointer(argv)))
 10936  					} else {
 10937  						file = z.Xgzdopen(tls, libc.Xfileno(tls, libc.X__stdoutp), bp+24 /* &outmode[0] */)
 10938  						if file == (uintptr(0)) {
 10939  							error(tls, ts+171 /* "can't gzdopen st..." */)
 10940  						}
 10941  
 10942  						gz_compress(tls, in, file)
 10943  					}
 10944  
 10945  				} else {
 10946  					file_compress(tls, *(*uintptr)(unsafe.Pointer(argv)), bp+24 /* &outmode[0] */)
 10947  				}
 10948  			}
 10949  		}
 10950  	}
 10951  	return 0
 10952  }
 10953  
 10954  var ts1 = "%s: %s\n\x00fread\x00failed gzclose\x00failed fwrite\x00failed fclose\x00.gz\x00%s: filename too long\n\x00%s%s\x00rb\x00%s: can't gzopen %s\n\x00%s\x00wb\x00wb6 \x00gunzip\x00zcat\x00-c\x00-d\x00-f\x00-h\x00-r\x00can't gzdopen stdin\x00can't gzdopen stdout\x00"
 10955  var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data