github.com/afumu/libc@v0.0.6/langinfo/langinfo_darwin_amd64.go (about)

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