gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

grp_darwin_arm64.go (48724B)


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