modernc.org/libc@v1.24.1/locale/locale_darwin_amd64.go (about)

     1  // Code generated by 'ccgo locale/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o locale/locale_darwin_amd64.go -pkgname locale', DO NOT EDIT.
     2  
     3  package locale
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	LC_ALL                                 = 0  // locale.h:42:1:
    19  	LC_COLLATE                             = 1  // locale.h:43:1:
    20  	LC_CTYPE                               = 2  // locale.h:44:1:
    21  	LC_MESSAGES                            = 6  // locale.h:48:1:
    22  	LC_MONETARY                            = 3  // locale.h:45:1:
    23  	LC_NUMERIC                             = 4  // locale.h:46:1:
    24  	LC_TIME                                = 5  // locale.h:47:1:
    25  	X_BSD_I386__TYPES_H_                   = 0  // _types.h:29:1:
    26  	X_BSD_MACHINE__TYPES_H_                = 0  // _types.h:29:1:
    27  	X_CDEFS_H_                             = 0  // cdefs.h:68:1:
    28  	X_DARWIN_FEATURE_64_BIT_INODE          = 1  // cdefs.h:745:1:
    29  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1  // cdefs.h:771:1:
    30  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3  // cdefs.h:779:1:
    31  	X_FILE_OFFSET_BITS                     = 64 // <builtin>:25:1:
    32  	X_FORTIFY_SOURCE                       = 2  // _types.h:65:1:
    33  	X_LC_LAST                              = 7  // locale.h:50:1:
    34  	X_LOCALE_H_                            = 0  // locale.h:38:1:
    35  	X_LP64                                 = 1  // <predefined>:1:1:
    36  	X_Nonnull                              = 0  // cdefs.h:243:1:
    37  	X_Null_unspecified                     = 0  // cdefs.h:246:1:
    38  	X_Nullable                             = 0  // cdefs.h:240:1:
    39  	X_SYS__PTHREAD_TYPES_H_                = 0  // _pthread_types.h:30:1:
    40  	X_SYS__TYPES_H_                        = 0  // _types.h:30:1:
    41  )
    42  
    43  type Ptrdiff_t = int64 /* <builtin>:3:26 */
    44  
    45  type Size_t = uint64 /* <builtin>:9:23 */
    46  
    47  type Wchar_t = int32 /* <builtin>:15:24 */
    48  
    49  type X__int128_t = struct {
    50  	Flo int64
    51  	Fhi int64
    52  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    53  type X__uint128_t = struct {
    54  	Flo uint64
    55  	Fhi uint64
    56  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    57  
    58  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    59  type X__float128 = float64        /* <builtin>:47:21 */
    60  
    61  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
    62  
    63  // Copyright (c) 1991, 1993
    64  //	The Regents of the University of California.  All rights reserved.
    65  //
    66  // Redistribution and use in source and binary forms, with or without
    67  // modification, are permitted provided that the following conditions
    68  // are met:
    69  // 1. Redistributions of source code must retain the above copyright
    70  //    notice, this list of conditions and the following disclaimer.
    71  // 2. Redistributions in binary form must reproduce the above copyright
    72  //    notice, this list of conditions and the following disclaimer in the
    73  //    documentation and/or other materials provided with the distribution.
    74  // 3. All advertising materials mentioning features or use of this software
    75  //    must display the following acknowledgement:
    76  //	This product includes software developed by the University of
    77  //	California, Berkeley and its contributors.
    78  // 4. Neither the name of the University nor the names of its contributors
    79  //    may be used to endorse or promote products derived from this software
    80  //    without specific prior written permission.
    81  //
    82  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    83  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    84  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    85  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    86  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    87  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    88  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    89  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    90  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    91  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    92  // SUCH DAMAGE.
    93  //
    94  //	@(#)locale.h	8.1 (Berkeley) 6/2/93
    95  // $FreeBSD: /repoman/r/ncvs/src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $
    96  
    97  // Copyright (c) 1991, 1993
    98  //	The Regents of the University of California.  All rights reserved.
    99  //
   100  // Redistribution and use in source and binary forms, with or without
   101  // modification, are permitted provided that the following conditions
   102  // are met:
   103  // 1. Redistributions of source code must retain the above copyright
   104  //    notice, this list of conditions and the following disclaimer.
   105  // 2. Redistributions in binary form must reproduce the above copyright
   106  //    notice, this list of conditions and the following disclaimer in the
   107  //    documentation and/or other materials provided with the distribution.
   108  // 3. All advertising materials mentioning features or use of this software
   109  //    must display the following acknowledgement:
   110  //	This product includes software developed by the University of
   111  //	California, Berkeley and its contributors.
   112  // 4. Neither the name of the University nor the names of its contributors
   113  //    may be used to endorse or promote products derived from this software
   114  //    without specific prior written permission.
   115  //
   116  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   117  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   118  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   119  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   120  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   121  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   122  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   123  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   124  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   125  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   126  // SUCH DAMAGE.
   127  //
   128  //	@(#)locale.h	8.1 (Berkeley) 6/2/93
   129  // $FreeBSD: /repoman/r/ncvs/src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $
   130  
   131  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   132  //
   133  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   134  //
   135  // This file contains Original Code and/or Modifications of Original Code
   136  // as defined in and that are subject to the Apple Public Source License
   137  // Version 2.0 (the 'License'). You may not use this file except in
   138  // compliance with the License. The rights granted to you under the License
   139  // may not be used to create, or enable the creation or redistribution of,
   140  // unlawful or unlicensed copies of an Apple operating system, or to
   141  // circumvent, violate, or enable the circumvention or violation of, any
   142  // terms of an Apple operating system software license agreement.
   143  //
   144  // Please obtain a copy of the License at
   145  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   146  //
   147  // The Original Code and all software distributed under the License are
   148  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   149  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   150  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   151  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   152  // Please see the License for the specific language governing rights and
   153  // limitations under the License.
   154  //
   155  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   156  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   157  // Copyright (c) 1991, 1993
   158  //	The Regents of the University of California.  All rights reserved.
   159  //
   160  // This code is derived from software contributed to Berkeley by
   161  // Berkeley Software Design, Inc.
   162  //
   163  // Redistribution and use in source and binary forms, with or without
   164  // modification, are permitted provided that the following conditions
   165  // are met:
   166  // 1. Redistributions of source code must retain the above copyright
   167  //    notice, this list of conditions and the following disclaimer.
   168  // 2. Redistributions in binary form must reproduce the above copyright
   169  //    notice, this list of conditions and the following disclaimer in the
   170  //    documentation and/or other materials provided with the distribution.
   171  // 3. All advertising materials mentioning features or use of this software
   172  //    must display the following acknowledgement:
   173  //	This product includes software developed by the University of
   174  //	California, Berkeley and its contributors.
   175  // 4. Neither the name of the University nor the names of its contributors
   176  //    may be used to endorse or promote products derived from this software
   177  //    without specific prior written permission.
   178  //
   179  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   180  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   181  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   182  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   183  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   184  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   185  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   186  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   187  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   188  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   189  // SUCH DAMAGE.
   190  //
   191  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   192  
   193  // This SDK is designed to work with clang and specific versions of
   194  // gcc >= 4.0 with Apple's patch sets
   195  
   196  // Compatibility with compilers and environments that don't support compiler
   197  // feature checking function-like macros.
   198  
   199  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   200  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   201  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   202  // in between its arguments.  __CONCAT can also concatenate double-quoted
   203  // strings produced by the __STRING macro, but this only works with ANSI C.
   204  
   205  // In non-ANSI C environments, new programs will want ANSI-only C keywords
   206  // deleted from the program and old programs will want them left alone.
   207  // When using a compiler other than gcc, programs using the ANSI C keywords
   208  // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
   209  // When using "gcc -traditional", we assume that this is the intent; if
   210  // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
   211  
   212  // __unused denotes variables and functions that may not be used, preventing
   213  // the compiler from warning about it if not used.
   214  
   215  // __used forces variables and functions to be included even if it appears
   216  // to the compiler that they are not used (and would thust be discarded).
   217  
   218  // __cold marks code used for debugging or that is rarely taken
   219  // and tells the compiler to optimize for size and outline code.
   220  
   221  // __deprecated causes the compiler to produce a warning when encountering
   222  // code using the deprecated functionality.
   223  // __deprecated_msg() does the same, and compilers that support it will print
   224  // a message along with the deprecation warning.
   225  // This may require turning on such warning with the -Wdeprecated flag.
   226  // __deprecated_enum_msg() should be used on enums, and compilers that support
   227  // it will print the deprecation warning.
   228  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   229  // interfaces in Kernel.framework used by KEXTs.
   230  
   231  // __unavailable causes the compiler to error out when encountering
   232  // code using the tagged function of variable.
   233  
   234  // Delete pseudo-keywords wherever they are not available or needed.
   235  
   236  // We use `__restrict' as a way to define the `restrict' type qualifier
   237  // without disturbing older software that is unaware of C99 keywords.
   238  
   239  // Compatibility with compilers and environments that don't support the
   240  // nullability feature.
   241  
   242  // __disable_tail_calls causes the compiler to not perform tail call
   243  // optimization inside the marked function.
   244  
   245  // __not_tail_called causes the compiler to prevent tail call optimization
   246  // on statically bound calls to the function.  It has no effect on indirect
   247  // calls.  Virtual functions, objective-c methods, and functions marked as
   248  // "always_inline" cannot be marked as __not_tail_called.
   249  
   250  // __result_use_check warns callers of a function that not using the function
   251  // return value is a bug, i.e. dismissing malloc() return value results in a
   252  // memory leak.
   253  
   254  // __swift_unavailable causes the compiler to mark a symbol as specifically
   255  // unavailable in Swift, regardless of any other availability in C.
   256  
   257  // __abortlike is the attribute to put on functions like abort() that are
   258  // typically used to mark assertions. These optimize the codegen
   259  // for outlining while still maintaining debugability.
   260  
   261  // Declaring inline functions within headers is error-prone due to differences
   262  // across various versions of the C language and extensions.  __header_inline
   263  // can be used to declare inline functions within system headers.  In cases
   264  // where you want to force inlining instead of letting the compiler make
   265  // the decision, you can use __header_always_inline.
   266  //
   267  // Be aware that using inline for functions which compilers may also provide
   268  // builtins can behave differently under various compilers.  If you intend to
   269  // provide an inline version of such a function, you may want to use a macro
   270  // instead.
   271  //
   272  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   273  // support c99 inline in some cases:
   274  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   275  
   276  // Compiler-dependent macros that bracket portions of code where the
   277  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   278  
   279  // Compiler-dependent macros to declare that functions take printf-like
   280  // or scanf-like arguments.  They are null except for versions of gcc
   281  // that are known to support the features properly.  Functions declared
   282  // with these attributes will cause compilation warnings if there is a
   283  // mismatch between the format string and subsequent function parameter
   284  // types.
   285  
   286  // Source compatibility only, ID string not emitted in object file
   287  
   288  // __alloc_size can be used to label function arguments that represent the
   289  // size of memory that the function allocates and returns. The one-argument
   290  // form labels a single argument that gives the allocation size (where the
   291  // arguments are numbered from 1):
   292  //
   293  // void	*malloc(size_t __size) __alloc_size(1);
   294  //
   295  // The two-argument form handles the case where the size is calculated as the
   296  // product of two arguments:
   297  //
   298  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   299  
   300  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   301  //
   302  // DEFAULT	By default newly complied code will get POSIX APIs plus
   303  //		Apple API extensions in scope.
   304  //
   305  //		Most users will use this compilation environment to avoid
   306  //		behavioral differences between 32 and 64 bit code.
   307  //
   308  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   309  //		API extensions in scope.
   310  //
   311  //		This is generally equivalent to the Tiger release compilation
   312  //		environment, except that it cannot be applied to 64 bit code;
   313  //		its use is discouraged.
   314  //
   315  //		We expect this environment to be deprecated in the future.
   316  //
   317  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   318  //		available APIs to exactly the set of APIs defined by the
   319  //		corresponding standard, based on the value defined.
   320  //
   321  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   322  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   323  //
   324  //		Apple API extensions are not visible in this environment,
   325  //		which can cause Apple specific code to fail to compile,
   326  //		or behave incorrectly if prototypes are not in scope or
   327  //		warnings about missing prototypes are not enabled or ignored.
   328  //
   329  // In any compilation environment, for correct symbol resolution to occur,
   330  // function prototypes must be in scope.  It is recommended that all Apple
   331  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   332  // compiler flags to their projects to be warned when a function is being
   333  // used without a prototype in scope.
   334  
   335  // These settings are particular to each product.
   336  // Platform: MacOSX
   337  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
   338  
   339  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   340  // legacy code to use the old symbol, thus maintaining binary compatibility
   341  // while new code can use a standards compliant version of the same function.
   342  //
   343  // __DARWIN_ALIAS is used by itself if the function signature has not
   344  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   345  // if the signature has changed.  Because the __LP64__ environment
   346  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   347  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   348  //
   349  // As a special case, when XCode is used to target a specific version of the
   350  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   351  // will be defined by the compiler, with the digits representing major version
   352  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   353  // pre-10.5, and it is the default compilation environment, revert the
   354  // compilation environment to pre-__DARWIN_UNIX03.
   355  
   356  // symbol suffixes used for symbol versioning
   357  
   358  // symbol versioning macros
   359  
   360  // symbol release macros
   361  // Copyright (c) 2010 Apple Inc. All rights reserved.
   362  //
   363  // @APPLE_OSREFERENCE_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. The rights granted to you under the License
   369  // may not be used to create, or enable the creation or redistribution of,
   370  // unlawful or unlicensed copies of an Apple operating system, or to
   371  // circumvent, violate, or enable the circumvention or violation of, any
   372  // terms of an Apple operating system software license agreement.
   373  //
   374  // Please obtain a copy of the License at
   375  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   376  //
   377  // The Original Code and all software distributed under the License are
   378  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   379  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   380  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   381  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   382  // Please see the License for the specific language governing rights and
   383  // limitations under the License.
   384  //
   385  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   386  
   387  // POSIX.1 requires that the macros we test be defined before any standard
   388  // header file is included.  This permits us to convert values for feature
   389  // testing, as necessary, using only _POSIX_C_SOURCE.
   390  //
   391  // Here's a quick run-down of the versions:
   392  //  defined(_POSIX_SOURCE)		1003.1-1988
   393  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   394  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   395  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   396  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   397  //					and the omnibus ISO/IEC 9945-1: 1996
   398  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   399  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   400  //
   401  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   402  // Specification, defines a feature-test macro which indicates the version of
   403  // that specification, and which subsumes _POSIX_C_SOURCE.
   404  
   405  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   406  
   407  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   408  
   409  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   410  
   411  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   412  // important.
   413  
   414  // POSIX C deprecation macros
   415  // Copyright (c) 2010 Apple Inc. All rights reserved.
   416  //
   417  // @APPLE_OSREFERENCE_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. The rights granted to you under the License
   423  // may not be used to create, or enable the creation or redistribution of,
   424  // unlawful or unlicensed copies of an Apple operating system, or to
   425  // circumvent, violate, or enable the circumvention or violation of, any
   426  // terms of an Apple operating system software license agreement.
   427  //
   428  // Please obtain a copy of the License at
   429  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   430  //
   431  // The Original Code and all software distributed under the License are
   432  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   433  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   434  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   435  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   436  // Please see the License for the specific language governing rights and
   437  // limitations under the License.
   438  //
   439  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   440  
   441  // Set a single macro which will always be defined and can be used to determine
   442  // the appropriate namespace.  For POSIX, these values will correspond to
   443  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   444  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   445  
   446  // If the developer has neither requested a strict language mode nor a version
   447  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   448  // of __DARWIN_C_FULL.
   449  
   450  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   451  // c99 still want long longs.  While not perfect, we allow long longs for
   452  // g++.
   453  
   454  // ****************************************
   455  //
   456  //  Public darwin-specific feature macros
   457  //
   458  
   459  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   460  // structures modified for 64-bit inodes (like struct stat) will be used.
   461  
   462  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   463  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   464  // (and non-zero).  There is no struct stat64 either, as the regular
   465  // struct stat will already be the 64-bit version.
   466  
   467  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   468  // in 10.5 exists; no pre-10.5 variants are available.
   469  
   470  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   471  // are available (the legacy BSD APIs are not available)
   472  
   473  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   474  // and specifies the conformance level (3 is SUSv3)
   475  
   476  // This macro casts away the qualifier from the variable
   477  //
   478  // Note: use at your own risk, removing qualifiers can result in
   479  // catastrophic run-time failures.
   480  
   481  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   482  // used from other compilation units, but not other libraries or executables.
   483  
   484  // Architecture validation for current SDK
   485  
   486  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   487  //
   488  // This provides more advanced type checking on compilers supporting
   489  // the proper extensions, even in C.
   490  
   491  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
   492  //
   493  // @APPLE_LICENSE_HEADER_START@
   494  //
   495  // This file contains Original Code and/or Modifications of Original Code
   496  // as defined in and that are subject to the Apple Public Source License
   497  // Version 2.0 (the 'License'). You may not use this file except in
   498  // compliance with the License. Please obtain a copy of the License at
   499  // http://www.opensource.apple.com/apsl/ and read it before using this
   500  // file.
   501  //
   502  // The Original Code and all software distributed under the License are
   503  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   504  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   505  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   506  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   507  // Please see the License for the specific language governing rights and
   508  // limitations under the License.
   509  //
   510  // @APPLE_LICENSE_HEADER_END@
   511  
   512  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   513  //
   514  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   515  //
   516  // This file contains Original Code and/or Modifications of Original Code
   517  // as defined in and that are subject to the Apple Public Source License
   518  // Version 2.0 (the 'License'). You may not use this file except in
   519  // compliance with the License. The rights granted to you under the License
   520  // may not be used to create, or enable the creation or redistribution of,
   521  // unlawful or unlicensed copies of an Apple operating system, or to
   522  // circumvent, violate, or enable the circumvention or violation of, any
   523  // terms of an Apple operating system software license agreement.
   524  //
   525  // Please obtain a copy of the License at
   526  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   527  //
   528  // The Original Code and all software distributed under the License are
   529  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   530  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   531  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   532  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   533  // Please see the License for the specific language governing rights and
   534  // limitations under the License.
   535  //
   536  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   537  
   538  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   539  //
   540  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   541  //
   542  // This file contains Original Code and/or Modifications of Original Code
   543  // as defined in and that are subject to the Apple Public Source License
   544  // Version 2.0 (the 'License'). You may not use this file except in
   545  // compliance with the License. The rights granted to you under the License
   546  // may not be used to create, or enable the creation or redistribution of,
   547  // unlawful or unlicensed copies of an Apple operating system, or to
   548  // circumvent, violate, or enable the circumvention or violation of, any
   549  // terms of an Apple operating system software license agreement.
   550  //
   551  // Please obtain a copy of the License at
   552  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   553  //
   554  // The Original Code and all software distributed under the License are
   555  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   556  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   557  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   558  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   559  // Please see the License for the specific language governing rights and
   560  // limitations under the License.
   561  //
   562  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   563  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   564  // Copyright (c) 1991, 1993
   565  //	The Regents of the University of California.  All rights reserved.
   566  //
   567  // This code is derived from software contributed to Berkeley by
   568  // Berkeley Software Design, Inc.
   569  //
   570  // Redistribution and use in source and binary forms, with or without
   571  // modification, are permitted provided that the following conditions
   572  // are met:
   573  // 1. Redistributions of source code must retain the above copyright
   574  //    notice, this list of conditions and the following disclaimer.
   575  // 2. Redistributions in binary form must reproduce the above copyright
   576  //    notice, this list of conditions and the following disclaimer in the
   577  //    documentation and/or other materials provided with the distribution.
   578  // 3. All advertising materials mentioning features or use of this software
   579  //    must display the following acknowledgement:
   580  //	This product includes software developed by the University of
   581  //	California, Berkeley and its contributors.
   582  // 4. Neither the name of the University nor the names of its contributors
   583  //    may be used to endorse or promote products derived from this software
   584  //    without specific prior written permission.
   585  //
   586  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   587  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   588  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   589  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   590  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   591  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   592  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   593  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   594  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   595  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   596  // SUCH DAMAGE.
   597  //
   598  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   599  
   600  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   601  //
   602  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   603  //
   604  // This file contains Original Code and/or Modifications of Original Code
   605  // as defined in and that are subject to the Apple Public Source License
   606  // Version 2.0 (the 'License'). You may not use this file except in
   607  // compliance with the License. The rights granted to you under the License
   608  // may not be used to create, or enable the creation or redistribution of,
   609  // unlawful or unlicensed copies of an Apple operating system, or to
   610  // circumvent, violate, or enable the circumvention or violation of, any
   611  // terms of an Apple operating system software license agreement.
   612  //
   613  // Please obtain a copy of the License at
   614  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   615  //
   616  // The Original Code and all software distributed under the License are
   617  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   618  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   619  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   620  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   621  // Please see the License for the specific language governing rights and
   622  // limitations under the License.
   623  //
   624  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   625  
   626  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   627  //
   628  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   629  //
   630  // This file contains Original Code and/or Modifications of Original Code
   631  // as defined in and that are subject to the Apple Public Source License
   632  // Version 2.0 (the 'License'). You may not use this file except in
   633  // compliance with the License. The rights granted to you under the License
   634  // may not be used to create, or enable the creation or redistribution of,
   635  // unlawful or unlicensed copies of an Apple operating system, or to
   636  // circumvent, violate, or enable the circumvention or violation of, any
   637  // terms of an Apple operating system software license agreement.
   638  //
   639  // Please obtain a copy of the License at
   640  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   641  //
   642  // The Original Code and all software distributed under the License are
   643  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   644  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   645  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   646  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   647  // Please see the License for the specific language governing rights and
   648  // limitations under the License.
   649  //
   650  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   651  
   652  // This header file contains integer types.  It's intended to also contain
   653  // flotaing point and other arithmetic types, as needed, later.
   654  
   655  type X__int8_t = int8     /* _types.h:37:33 */
   656  type X__uint8_t = uint8   /* _types.h:41:33 */
   657  type X__int16_t = int16   /* _types.h:42:33 */
   658  type X__uint16_t = uint16 /* _types.h:43:33 */
   659  type X__int32_t = int32   /* _types.h:44:33 */
   660  type X__uint32_t = uint32 /* _types.h:45:33 */
   661  type X__int64_t = int64   /* _types.h:46:33 */
   662  type X__uint64_t = uint64 /* _types.h:47:33 */
   663  
   664  type X__darwin_intptr_t = int64   /* _types.h:49:33 */
   665  type X__darwin_natural_t = uint32 /* _types.h:50:33 */
   666  
   667  // The rune type below is declared to be an ``int'' instead of the more natural
   668  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
   669  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
   670  // it looks like 10646 will be a 31 bit standard.  This means that if your
   671  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
   672  // chosen over a long is that the is*() and to*() routines take ints (says
   673  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
   674  // here, you lose a bit of ANSI conformance, but your programs will still
   675  // work.
   676  //
   677  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
   678  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
   679  // rune_t must be the same type.  Also wint_t must be no narrower than
   680  // wchar_t, and should also be able to hold all members of the largest
   681  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
   682  
   683  type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
   684  
   685  // mbstate_t is an opaque object to keep conversion state, during multibyte
   686  // stream conversions.  The content must not be referenced by user programs.
   687  type X__mbstate_t = struct {
   688  	F__ccgo_pad1 [0]uint64
   689  	F__mbstate8  [128]int8
   690  } /* _types.h:79:3 */
   691  
   692  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
   693  
   694  type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
   695  
   696  type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
   697  
   698  type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
   699  
   700  type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
   701  
   702  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
   703  
   704  type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
   705  
   706  type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
   707  type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
   708  type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
   709  type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
   710  
   711  // Type definitions; takes common type definitions that must be used
   712  // in multiple header files due to [XSI], removes them from the system
   713  // space, and puts them in the implementation space.
   714  
   715  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
   716  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
   717  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
   718  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
   719  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
   720  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
   721  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
   722  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
   723  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
   724  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
   725  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
   726  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
   727  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
   728  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
   729  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
   730  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
   731  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
   732  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
   733  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
   734  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
   735  
   736  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
   737  //
   738  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   739  //
   740  // This file contains Original Code and/or Modifications of Original Code
   741  // as defined in and that are subject to the Apple Public Source License
   742  // Version 2.0 (the 'License'). You may not use this file except in
   743  // compliance with the License. The rights granted to you under the License
   744  // may not be used to create, or enable the creation or redistribution of,
   745  // unlawful or unlicensed copies of an Apple operating system, or to
   746  // circumvent, violate, or enable the circumvention or violation of, any
   747  // terms of an Apple operating system software license agreement.
   748  //
   749  // Please obtain a copy of the License at
   750  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   751  //
   752  // The Original Code and all software distributed under the License are
   753  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   754  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   755  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   756  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   757  // Please see the License for the specific language governing rights and
   758  // limitations under the License.
   759  //
   760  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   761  
   762  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   763  //
   764  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   765  //
   766  // This file contains Original Code and/or Modifications of Original Code
   767  // as defined in and that are subject to the Apple Public Source License
   768  // Version 2.0 (the 'License'). You may not use this file except in
   769  // compliance with the License. The rights granted to you under the License
   770  // may not be used to create, or enable the creation or redistribution of,
   771  // unlawful or unlicensed copies of an Apple operating system, or to
   772  // circumvent, violate, or enable the circumvention or violation of, any
   773  // terms of an Apple operating system software license agreement.
   774  //
   775  // Please obtain a copy of the License at
   776  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   777  //
   778  // The Original Code and all software distributed under the License are
   779  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   780  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   781  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   782  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   783  // Please see the License for the specific language governing rights and
   784  // limitations under the License.
   785  //
   786  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   787  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   788  // Copyright (c) 1991, 1993
   789  //	The Regents of the University of California.  All rights reserved.
   790  //
   791  // This code is derived from software contributed to Berkeley by
   792  // Berkeley Software Design, Inc.
   793  //
   794  // Redistribution and use in source and binary forms, with or without
   795  // modification, are permitted provided that the following conditions
   796  // are met:
   797  // 1. Redistributions of source code must retain the above copyright
   798  //    notice, this list of conditions and the following disclaimer.
   799  // 2. Redistributions in binary form must reproduce the above copyright
   800  //    notice, this list of conditions and the following disclaimer in the
   801  //    documentation and/or other materials provided with the distribution.
   802  // 3. All advertising materials mentioning features or use of this software
   803  //    must display the following acknowledgement:
   804  //	This product includes software developed by the University of
   805  //	California, Berkeley and its contributors.
   806  // 4. Neither the name of the University nor the names of its contributors
   807  //    may be used to endorse or promote products derived from this software
   808  //    without specific prior written permission.
   809  //
   810  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   811  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   812  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   813  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   814  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   815  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   816  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   817  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   818  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   819  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   820  // SUCH DAMAGE.
   821  //
   822  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   823  
   824  // pthread opaque structures
   825  
   826  type X__darwin_pthread_handler_rec = struct {
   827  	F__routine uintptr
   828  	F__arg     uintptr
   829  	F__next    uintptr
   830  } /* _pthread_types.h:57:1 */
   831  
   832  type X_opaque_pthread_attr_t = struct {
   833  	F__sig    int64
   834  	F__opaque [56]int8
   835  } /* _pthread_types.h:63:1 */
   836  
   837  type X_opaque_pthread_cond_t = struct {
   838  	F__sig    int64
   839  	F__opaque [40]int8
   840  } /* _pthread_types.h:68:1 */
   841  
   842  type X_opaque_pthread_condattr_t = struct {
   843  	F__sig    int64
   844  	F__opaque [8]int8
   845  } /* _pthread_types.h:73:1 */
   846  
   847  type X_opaque_pthread_mutex_t = struct {
   848  	F__sig    int64
   849  	F__opaque [56]int8
   850  } /* _pthread_types.h:78:1 */
   851  
   852  type X_opaque_pthread_mutexattr_t = struct {
   853  	F__sig    int64
   854  	F__opaque [8]int8
   855  } /* _pthread_types.h:83:1 */
   856  
   857  type X_opaque_pthread_once_t = struct {
   858  	F__sig    int64
   859  	F__opaque [8]int8
   860  } /* _pthread_types.h:88:1 */
   861  
   862  type X_opaque_pthread_rwlock_t = struct {
   863  	F__sig    int64
   864  	F__opaque [192]int8
   865  } /* _pthread_types.h:93:1 */
   866  
   867  type X_opaque_pthread_rwlockattr_t = struct {
   868  	F__sig    int64
   869  	F__opaque [16]int8
   870  } /* _pthread_types.h:98:1 */
   871  
   872  type X_opaque_pthread_t = struct {
   873  	F__sig           int64
   874  	F__cleanup_stack uintptr
   875  	F__opaque        [8176]int8
   876  } /* _pthread_types.h:103:1 */
   877  
   878  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
   879  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
   880  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
   881  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
   882  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
   883  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
   884  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
   885  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
   886  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
   887  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
   888  
   889  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   890  //
   891  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   892  //
   893  // This file contains Original Code and/or Modifications of Original Code
   894  // as defined in and that are subject to the Apple Public Source License
   895  // Version 2.0 (the 'License'). You may not use this file except in
   896  // compliance with the License. The rights granted to you under the License
   897  // may not be used to create, or enable the creation or redistribution of,
   898  // unlawful or unlicensed copies of an Apple operating system, or to
   899  // circumvent, violate, or enable the circumvention or violation of, any
   900  // terms of an Apple operating system software license agreement.
   901  //
   902  // Please obtain a copy of the License at
   903  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   904  //
   905  // The Original Code and all software distributed under the License are
   906  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   907  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   908  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   909  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   910  // Please see the License for the specific language governing rights and
   911  // limitations under the License.
   912  //
   913  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   914  
   915  type X__darwin_nl_item = int32        /* _types.h:40:14 */
   916  type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
   917  type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
   918  
   919  type Lconv = struct {
   920  	Fdecimal_point      uintptr
   921  	Fthousands_sep      uintptr
   922  	Fgrouping           uintptr
   923  	Fint_curr_symbol    uintptr
   924  	Fcurrency_symbol    uintptr
   925  	Fmon_decimal_point  uintptr
   926  	Fmon_thousands_sep  uintptr
   927  	Fmon_grouping       uintptr
   928  	Fpositive_sign      uintptr
   929  	Fnegative_sign      uintptr
   930  	Fint_frac_digits    int8
   931  	Ffrac_digits        int8
   932  	Fp_cs_precedes      int8
   933  	Fp_sep_by_space     int8
   934  	Fn_cs_precedes      int8
   935  	Fn_sep_by_space     int8
   936  	Fp_sign_posn        int8
   937  	Fn_sign_posn        int8
   938  	Fint_p_cs_precedes  int8
   939  	Fint_n_cs_precedes  int8
   940  	Fint_p_sep_by_space int8
   941  	Fint_n_sep_by_space int8
   942  	Fint_p_sign_posn    int8
   943  	Fint_n_sign_posn    int8
   944  	F__ccgo_pad1        [2]byte
   945  } /* _locale.h:43:1 */
   946  
   947  var _ int8 /* gen.c:2:13: */