gtsocial-umbx

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

grp_darwin_amd64.go (48751B)


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